-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 3.4 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
{
"name": "hackernews",
"version": "0.2.17",
"private": true,
"author": "laffery",
"bugs": {
"url": "https://github.com/Laffery/alipreview/issues"
},
"homepage": "https://github.com/Laffery/alipreview#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Laffery/alipreview.git"
},
"types": "src/typings/*",
"scripts": {
"prepare": "husky install",
"dev": "cross-env NODE_ENV=development concurrently -k -p name -n \"client,server,server\" -c \"yellow,green,blue\" \"yarn dev:client\" \"yarn dev:server:webpack\" \"yarn dev:server:nodemon\"",
"start": "cross-env NODE_ENV=production nodemon dist/server/index.js",
"build": "cross-env NODE_ENV=production yarn build:client && yarn build:server",
"clean": "rm -rf dist && rm -rf node_modules",
"test": "echo NO TEST MODULE FOUND",
"dev:client": "webpack -c webpack/webpack.dev.ts -w",
"dev:server:webpack": "wait-on dist/static/build.manifest.json && webpack -c webpack/webpack.server.ts -w",
"dev:server:nodemon": "wait-on -l dist/server/index.js && yarn start",
"build:client": "webpack build -c webpack/webpack.prod.ts",
"build:server": "webpack build -c webpack/webpack.server.ts"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"src/*.css": [
"stylelint --fix"
]
},
"engines": {
"node": ">=16"
},
"dependencies": {
"ahooks": "^3.5.2",
"chalk": "^5.0.1",
"concurrently": "^7.3.0",
"cross-env": "^7.0.3",
"dayjs": "^1.11.4",
"express": "^4.18.1",
"fs-extra": "^10.1.0",
"interweave": "^13.0.0",
"lodash": "^4.17.21",
"node-fetch": "2.6.7",
"nodemon": "^2.0.19",
"query-string": "^7.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rxjs": "^7.5.6",
"url-parse": "^1.5.10"
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@babel/preset-env": "^7.18.9",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-angular": "^17.0.3",
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.13",
"@types/lodash": "^4.14.182",
"@types/node": "^18.6.1",
"@types/node-fetch": "2.6.2",
"@types/query-string": "^6.3.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/url-parse": "^1.4.8",
"@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.7.2",
"@types/webpack-node-externals": "^2.5.3",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@typescript-eslint/typescript-estree": "5.30.7",
"babel-loader": "^8.2.5",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"eslint": "^8.20.0",
"eslint-plugin-react": "^7.30.1",
"glob": "^8.0.3",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"prettier": "^2.7.1",
"react-dev-utils": "^12.0.1",
"style-loader": "^3.3.1",
"stylelint": "^14.9.1",
"ts-loader": "^9.3.1",
"ts-node": "^10.8.2",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"typescript": "^4.7.4",
"wait-on": "^6.0.1",
"webpack": "5.73.0",
"webpack-cli": "^4.10.0",
"webpack-manifest-plugin": "^5.0.0",
"webpack-node-externals": "^3.0.0"
},
"license": "MIT"
}