-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
94 lines (94 loc) · 2.65 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
{
"name": "ComicHub",
"version": "1.0.0",
"description": "ComicHub",
"private": true,
"scripts": {
"start": "webpack-dev-server --config build/webpack.dev.config.js --open",
"start:server": "npm run --prefix ./server dev",
"analyze": "cross-env ANALYZE=true NODE_ENV=production webpack --config build/webpack.prod.config.js",
"build": "npm run build:server && npm run build:react",
"build:react": "cross-env NODE_ENV=production webpack --config build/webpack.prod.config.js",
"build:server": "npm run --prefix ./server build",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src server",
"test": "jest --coverage",
"test:watch": "jest --watchAll --coverage",
"readme": "npm run --prefix ./server readme",
"lint-staged": "lint-staged"
},
"dependencies": {
"antd": "^3.23.6",
"history": "^4.10.1",
"qs": "^6.9.0",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@types/jest": "^24.0.16",
"@types/qs": "^6.5.3",
"@types/react": "^16.9.5",
"@types/react-dom": "^16.8.5",
"@types/react-router-dom": "^5.1.0",
"@types/react-test-renderer": "^16.8.3",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"dotenv": "^8.1.0",
"eslint": "^6.4.0",
"eslint-plugin-react": "^7.16.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.5",
"jest": "^24.8.0",
"jest-circus": "^24.9.0",
"less": "^3.9.0",
"less-loader": "^5.0.0",
"lint-staged": "^9.3.0",
"mini-css-extract-plugin": "^0.8.0",
"prettier": "^1.18.2",
"progress-bar-webpack-plugin": "^1.12.1",
"react-test-renderer": "^16.10.2",
"style-loader": "^1.0.0",
"ts-jest": "^24.1.0",
"ts-loader": "^6.1.2",
"typescript": "^3.6.3",
"url-loader": "^2.2.0",
"webpack": "^4.40.2",
"webpack-bundle-analyzer": "^3.5.1",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.2",
"webpack-merge": "^4.2.1"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"git add"
],
"*": [
"npm run readme",
"git add",
"git status"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged",
"pre-push": "npm run test"
}
},
"repository": "https://github.com/nusr/ComicHub",
"keywords": [
"Comic",
"Downloader",
"typescript"
],
"author": {
"name": "Steve Xu",
"email": "stevexugc@gmail.com"
},
"license": "MIT"
}