-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
127 lines (127 loc) · 4.44 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@pingcap/tug-website",
"private": true,
"scripts": {
"build": "next build --no-lint",
"build:local": "cat .env.local > .env.production && npm run build",
"build:preview": "cat .env.preview > .env.production && npm run build",
"build:production": "npm run build && npm run build:sitemap",
"build:watch": "lerna run --no-bail build:watch",
"build:sitemap": "next-sitemap",
"copy:locales": "rm -rf public/locales && cp -r packages/i18n/locales public",
"deploy:production": "shipit production deploy",
"deploy:preview": "shipit preview deploy",
"dev": "npm run start:i18n & npm run next:dev",
"lint": "next lint && eslint . --ext .js,.jsx,.ts,.tsx",
"postinstall": "lerna bootstrap --ignore=@tidb-community/ui",
"prepare": "husky install",
"server:init": "next build && npm run server:start",
"server:reload": "pm2 reload pm2.config.js",
"server:start": "pm2 start pm2.config.js",
"start": "next start",
"next:dev": "cross-env NODE_OPTIONS='--inspect' next dev",
"start:i18n": "lerna run --scope @tidb-community/i18n start",
"storybook": "lerna run --scope @tidb-community/ui storybook -- -- -s $(pwd)/public",
"pretest": "cp babel.config.js.old babel.config.js",
"posttest": "rm babel.config.js",
"test": "jest",
"test:changed": "npm test -- --changedSince=origin/main",
"test:cov": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"remove:cache": "rm -rf ./packages/**/node_modules ./node_modules ./.next",
"remove:deps": "npm run remove:cache && rm -rf ./packages/**/package-lock.json ./package-lock.json"
},
"engines": {
"node": "^20.9.0",
"npm": "^10.1.0"
},
"dependencies": {
"@ant-design/icons": "4.7.0",
"@formatjs/intl-numberformat": "~7.4.2",
"@fullcalendar/core": "^5.10.1",
"@fullcalendar/daygrid": "^5.10.1",
"@fullcalendar/react": "^5.10.1",
"@reduxjs/toolkit": "~1.8.0",
"@sentry/nextjs": "~6.18.2",
"ahooks": "~3.1.13",
"antd": "4.15.6",
"antd-img-crop": "3.14.2",
"axios": "^0.26.1",
"classnames": "~2.3.1",
"dayjs": "~1.11.0",
"formik": "~2.2.9",
"formik-antd": "~2.0.4",
"js-convert-case": "~4.2.0",
"js-cookie": "~3.0.1",
"lodash": "~4.17.21",
"luxon": "~2.3.1",
"moment": "~2.29.1",
"next": "~12.1.0",
"next-i18next": "~10.5.0",
"next-transpile-modules": "~9.0.0",
"nextjs-cors": "2.1.2",
"polished": "~4.1.4",
"prop-types": "~15.8.1",
"ramda": "~0.28.0",
"react": "~17.0.2",
"react-cool-dimensions": "~2.0.7",
"react-dom": "~17.0.2",
"react-infinite-scroll-component": "~6.1.0",
"react-redux": "~7.2.6",
"react-scroll": "~1.8.6",
"react-transition-group": "~4.4.2",
"sharp": "~0.30.3",
"styled-components": "~5.3.3",
"swiper": "8.4.3",
"swr": "~1.2.2",
"tslib": "~2.3.1",
"uuid": "~8.3.2",
"yup": "~0.32.11"
},
"devDependencies": {
"@babel/eslint-parser": "~7.17.0",
"@pingcap-inc/tidb-community-editor": "0.6.7",
"@pingcap-inc/tidb-community-site-components": "1.8.24",
"@pingcap-inc/tidb-community-ui": "^1.3.3",
"@sentry/webpack-plugin": "~1.18.8",
"@svgr/webpack": "~6.2.1",
"@testing-library/jest-dom": "~5.16.2",
"@testing-library/react": "~12.1.4",
"@types/faker": "~6.6.8",
"@types/react-scroll": "~1.8.3",
"@types/styled-components": "~5.1.24",
"@types/swiper": "6.0.0",
"@typescript-eslint/eslint-plugin": "~5.15.0",
"@typescript-eslint/parser": "~5.15.0",
"babel-eslint": "~10.1.0",
"babel-jest": "~27.5.1",
"babel-plugin-styled-components": "~2.0.6",
"babel-plugin-transform-import-ignore": "^1.1.0",
"babel-preset-react-app": "~10.0.1",
"cross-env": "~7.0.3",
"eslint": "~8.11.0",
"eslint-config-next": "~12.1.0",
"eslint-config-react-app": "~7.0.0",
"eslint-plugin-flowtype": "~8.0.3",
"eslint-plugin-import": "~2.25.4",
"eslint-plugin-jsx-a11y": "~6.5.1",
"eslint-plugin-react": "~7.29.4",
"eslint-plugin-react-hooks": "~4.3.0",
"husky": "~7.0.4",
"identity-obj-proxy": "~3.0.0",
"jest": "~27.5.1",
"lerna": "~4.0.0",
"lint-staged": "~12.3.7",
"micromatch": "~4.0.4",
"next-sitemap": "3.1.24",
"pm2": "~5.2.0",
"prettier": "~2.6.0",
"react-is": "~17.0.2",
"react-test-renderer": "~17.0.2",
"sass": "~1.49.9",
"shipit-cli": "~5.3.0",
"shipit-deploy": "~5.3.0",
"svgo": "~2.8.0",
"typescript": "^4.6.2"
}
}