-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
171 lines (171 loc) · 5.55 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "CC98-V4",
"version": "1.0.0",
"repository": "[email protected]:ZJU-CC98/CC98-V4.git",
"author": "CC98 DEVELOP TEAM",
"license": "Apache-2.0",
"scripts": {
"set-tsnode": "cross-env TS_NODE_PROJECT=\"tsconfig.node.json\"",
"dev": "yarn set-tsnode gulp dev",
"build": "yarn set-tsnode gulp build",
"dev:test": "yarn set-tsnode gulp dev:intranet_test",
"build:test": "yarn set-tsnode gulp build:intranet_test",
"dev:public": "yarn set-tsnode gulp dev:public",
"build:public": "yarn set-tsnode gulp build:public",
"dev:local": "yarn set-tsnode gulp dev:local",
"build:local": "yarn set-tsnode gulp build:local",
"analyze": "cross-env NODE_ENV=production CC98_ENV=intranet TS_NODE_PROJECT=\"tsconfig.node.json\" webpack --config webpack/webpack.config.analyze.ts",
"build:ci": "yarn set-tsnode gulp build:ci",
"type-check": "tsc --noEmit",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
"stylelint": "stylelint \"src/**/*.scss\" --syntax scss",
"check-all": "yarn run type-check && yarn run lint && yarn run stylelint"
},
"browserslist": [
"> 1%",
"not dead",
"IE 11"
],
"dependencies": {
"@babel/runtime": "^7.9.2",
"@cc98/react-ubb-editor": "^2.3.1",
"@cc98/ubb-core": "^1.1.0",
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-regular-svg-icons": "^5.13.0",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.9",
"@hot-loader/react-dom": "^16.13.0",
"@sentry/browser": "^5.15.4",
"@tippy.js/react": "^2.2.3",
"aplayer": "^1.10.1",
"axios": "^0.18.1",
"classnames": "^2.2.6",
"connected-react-router": "^6.6.1",
"core-js": "^3.6.4",
"css-vars-ponyfill": "^2.2.1",
"dayjs": "^1.8.23",
"dplayer": "^1.25.0",
"draft-js": "^0.11.5",
"event-emitter": "^0.3.5",
"history": "^4.10.1",
"hls.js": "^0.13.2",
"immer": "^6.0.3",
"lodash": "^4.17.15",
"query-string": "^5.1.1",
"rc-notification": "^4.0.0",
"react": "^16.13.1",
"react-color": "^2.18.0",
"react-dom": "^16.13.1",
"react-hot-loader": "^4.12.20",
"react-image-crop": "^8.6.2",
"react-lazyload": "^2.6.7",
"react-mde": "^8.2.0",
"react-redux": "^7.2.0",
"react-router": "^5.1.1",
"react-router-dom": "^5.1.2",
"react-spinners": "^0.8.1",
"react-waypoint": "^9.0.2",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"showdown": "^1.9.1",
"showdown-xss-filter": "^0.2.0",
"url-parse": "^1.4.7",
"url-pattern": "^1.0.3",
"url-regex": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@sentry/cli": "^1.52.1",
"@types/autoprefixer": "^9.7.2",
"@types/classnames": "^2.2.10",
"@types/fancy-log": "^1.3.1",
"@types/gulp": "^4.0.6",
"@types/history": "^4.7.5",
"@types/hls.js": "^0.12.6",
"@types/html-webpack-plugin": "^3.2.2",
"@types/lodash": "^4.14.149",
"@types/node": "^13.11.1",
"@types/plugin-error": "^0.1.1",
"@types/react": "^16.9.33",
"@types/react-color": "^3.0.1",
"@types/react-dom": "^16.9.6",
"@types/react-hot-loader": "^4.1.1",
"@types/react-image-crop": "^8.1.2",
"@types/react-lazyload": "^2.6.0",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.3",
"@types/showdown": "^1.9.3",
"@types/terser-webpack-plugin": "^2.2.0",
"@types/url-parse": "^1.4.3",
"@types/webpack": "^4.41.10",
"@types/webpack-bundle-analyzer": "^2.13.3",
"@types/webpack-dev-server": "^3.10.1",
"@types/webpack-merge": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"autoprefixer": "^9.7.6",
"babel-loader": "^8.1.0",
"babel-plugin-transform-imports": "^2.0.0",
"copy-webpack-plugin": "^5.1.1",
"cross-env": "^7.0.2",
"css-loader": "^3.5.1",
"del": "^5.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"fancy-log": "^1.3.3",
"file-loader": "^6.0.0",
"gulp": "^4.0.2",
"html-webpack-plugin": "^4.0.4",
"husky": "^4.2.3",
"lint-staged": "^10.1.2",
"plugin-error": "^1.0.1",
"postcss-loader": "^3.0.0",
"prettier": "^2.0.4",
"progress-bar-webpack-plugin": "^2.1.0",
"sass": "^1.42.1",
"sass-loader": "^8.0.2",
"source-map-loader": "^0.2.4",
"style-loader": "^1.1.3",
"stylelint": "^13.3.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"terser-webpack-plugin": "^2.3.5",
"ts-node": "^8.8.2",
"typescript": "3.8.3",
"url-loader": "^4.1.0",
"webpack": "^4.42.1",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run type-check && lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"**/*.{scss}": [
"stylelint --fix",
"prettier --write",
"git add"
]
}
}