-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.07 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
{
"name": "nextjs-antd-pro",
"version": "0.1.0",
"private": true,
"description": "Enterprise-level UI components based on Ant Design and Next.js",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "cross-env NODE_ENV=development next dev",
"start:dev": "cross-env NODE_ENV=development MOCK=none next dev",
"start:no-mock": "cross-env MOCK=none next dev",
"start:prod": "cross-env NODE_ENV=production next start",
"lint": "next lint && npm run lint:js && npm run lint:prettier && npm run tsc",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto",
"prepare": "husky install",
"tsc": "tsc --noEmit"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"dependencies": {
"@ant-design/icons": "^5.4.0",
"@ant-design/nextjs-registry": "^1.0.0",
"@ant-design/pro-components": "^2.7.14",
"antd": "^5.19.3",
"antd-style": "^3.6.2",
"dayjs": "^1.11.12",
"event-emitter": "^0.3.5",
"immer": "^10.1.1",
"lodash": "^4.17.21",
"next": "14.2.5",
"next-i18n-router": "^5.5.1",
"react": "^18",
"react-dom": "^18",
"react-intl": "^6.6.8",
"zustand": "^4.5.4"
},
"devDependencies": {
"@ant-design/pro-cli": "^3.3.0",
"@types/event-emitter": "^0.3.5",
"@types/express": "^4.17.21",
"@types/lodash": "^4.14.202",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"cross-env": "^7.0.3",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"express": "^4.18.2",
"husky": "^7.0.4",
"lint-staged": "^10.5.4",
"mockjs": "^1.1.0",
"postcss": "^8",
"prettier": "^2.8.8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}