-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.42 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@freecodecamp-chengdu/freecodecamp-chengdu.github.io",
"version": "2.1.0",
"description": "Lark project scaffold based on TypeScript, React, Next.js, Bootstrap & Workbox.",
"private": true,
"engines": {
"node": ">=22"
},
"dependencies": {
"@mdx-js/loader": "^3.1.1",
"@mdx-js/react": "^3.1.1",
"@next/mdx": "^16.1.7",
"@sentry/nextjs": "^10.44.0",
"copy-webpack-plugin": "^13.0.1",
"core-js": "^3.49.0",
"file-type": "^21.3.3",
"idea-react": "^2.0.0-rc.13",
"koa": "^3.1.2",
"koajax": "^3.1.2",
"less": "^4.6.4",
"less-loader": "^12.3.2",
"lodash": "^4.17.23",
"marked": "^17.0.4",
"mime": "^4.1.0",
"mobx": "^6.15.0",
"mobx-github": "^0.6.2",
"mobx-i18n": "^0.7.2",
"mobx-lark": "^2.7.0",
"mobx-react": "^9.2.1",
"mobx-react-helper": "^0.5.1",
"mobx-restful": "^2.1.4",
"mobx-restful-table": "^2.6.3",
"next": "^16.1.7",
"next-pwa": "~5.6.0",
"next-ssr-middleware": "^1.1.0",
"next-with-less": "^3.0.1",
"react": "^19.2.4",
"react-bootstrap": "^2.10.10",
"react-bootstrap-editor": "^2.1.1",
"react-dom": "^19.2.4",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-mdx-frontmatter": "^5.2.0",
"undici": "^7.24.4",
"web-utility": "^4.6.4",
"webpack": "^5.105.4",
"yaml": "^2.8.2"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.29.0",
"@babel/plugin-transform-typescript": "^7.28.6",
"@babel/preset-react": "^7.28.5",
"@cspell/eslint-plugin": "^9.7.0",
"@eslint/js": "^10.0.1",
"@next/eslint-plugin-next": "^16.1.7",
"@octokit/openapi-types": "^27.0.0",
"@softonus/prettier-plugin-duplicate-remover": "^1.1.2",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/eslint-config-prettier": "^6.11.3",
"@types/koa": "^3.0.1",
"@types/lodash": "^4.17.24",
"@types/next-pwa": "^5.6.9",
"@types/node": "^24.12.0",
"@types/react": "^19.2.14",
"eslint": "^10.0.3",
"eslint-config-next": "^16.1.7",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^17.4.0",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"prettier-plugin-css-order": "^2.2.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.57.1"
},
"resolutions": {
"next": "$next"
},
"pnpm": {
"onlyBuiltDependencies": [
"@sentry/cli",
"core-js",
"less",
"sharp",
"unrs-resolver"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"printWidth": 100,
"plugins": [
"prettier-plugin-css-order",
"@softonus/prettier-plugin-duplicate-remover"
]
},
"lint-staged": {
"*.{html,md,less,json,yml,js,mjs,ts,tsx}": "prettier --write",
"*.{js,mjs,ts,tsx}": "eslint --fix"
},
"scripts": {
"prepare": "husky || true",
"install": "next typegen",
"dev": "next dev --webpack",
"build": "next build --webpack",
"start": "next start",
"test": "lint-staged && tsc --noEmit",
"pack-image": "docker build -t freecodecamp-chengdu/freecodecamp-chengdu.github.io:latest .",
"container": "docker rm -f freecodecamp-chengdu.github.io && docker run --name freecodecamp-chengdu.github.io -p 3000:3000 -d freecodecamp-chengdu/freecodecamp-chengdu.github.io:latest"
}
}