-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
101 lines (101 loc) · 3.13 KB
/
package.json
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
{
"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.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "^15.2.3",
"@sentry/nextjs": "^9.6.0",
"copy-webpack-plugin": "^13.0.0",
"core-js": "^3.41.0",
"file-type": "^20.4.1",
"idea-react": "^2.0.0-rc.8",
"koajax": "^3.1.1",
"less": "^4.2.2",
"less-loader": "^12.2.0",
"lodash": "^4.17.21",
"marked": "^15.0.7",
"mime": "^4.0.6",
"mobx": "^6.13.7",
"mobx-github": "^0.3.5",
"mobx-i18n": "^0.6.0",
"mobx-lark": "^2.1.0",
"mobx-react": "^9.2.0",
"mobx-restful": "^2.1.0",
"mobx-restful-table": "^2.0.2",
"next": "^15.2.3",
"next-pwa": "~5.6.0",
"next-ssr-middleware": "^0.8.10",
"next-with-less": "^3.0.1",
"react": "^19.0.0",
"react-bootstrap": "^2.10.9",
"react-dom": "^19.0.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-mdx-frontmatter": "^5.0.0",
"undici": "^7.5.0",
"web-utility": "^4.4.3",
"webpack": "^5.98.0",
"yaml": "^2.7.0"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.25.9",
"@babel/plugin-transform-typescript": "^7.26.8",
"@babel/preset-react": "^7.26.3",
"@cspell/eslint-plugin": "^8.17.5",
"@eslint/compat": "^1.2.7",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.22.0",
"@next/eslint-plugin-next": "^15.2.3",
"@softonus/prettier-plugin-duplicate-remover": "^1.1.2",
"@stylistic/eslint-plugin": "^4.2.0",
"@types/eslint-config-prettier": "^6.11.3",
"@types/lodash": "^4.17.16",
"@types/next-pwa": "^5.6.9",
"@types/node": "^22.13.10",
"@types/react": "^19.0.11",
"eslint": "^9.22.0",
"eslint-config-next": "^15.2.3",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^16.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.5.0",
"prettier": "^3.5.3",
"prettier-plugin-css-order": "^2.1.2",
"typescript": "~5.8.2",
"typescript-eslint": "^8.26.1"
},
"resolutions": {
"next": "$next"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"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",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint --fix && tsc --noEmit",
"test": "lint-staged && npm run lint",
"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"
}
}