forked from mengsixing/cdfang-spider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 5.11 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
{
"name": "cdfang-spider",
"version": "2.12.1",
"description": "成都房协网爬虫,定时爬取最新房源,可视化数据分析。",
"main": "index.js",
"scripts": {
"dev": "npm-run-all --parallel client:dev server:dev server:start",
"server:start": "cross-env NODE_ENV=development supervisor -i ./dist/client/ -w ./dist/ ./dist/app.js",
"server:dev": "cross-env NODE_ENV=development gulp",
"server:prod": "cross-env NODE_ENV=production gulp",
"client:dev": "cross-env NODE_ENV=development webpack-dev-server --open",
"client:prod": "cross-env NODE_ENV=production webpack",
"client:profile": "cross-env NODE_ENV=production BUILD_ENV=analysis webpack",
"prebuild": "npm run lint && rimraf ./dist",
"build": "npm-run-all --parallel client:prod server:prod",
"test:unit": "cd ./__tests__/unit;check_file=`ls | grep '.test.ts' | tr -s '\n'`;jest --findRelatedTests $check_file",
"test:e2e": "cd ./__tests__/e2e;check_file=`ls | grep '.spec.ts' | tr -s '\n'`;jest --findRelatedTests $check_file",
"test:service": "cd ./__tests__/service;check_file=`ls | grep '.spec.ts' | tr -s '\n'`;jest --detectOpenHandles --findRelatedTests $check_file",
"test": "cross-env NODE_ENV=test jest --no-cache --colors --coverage --forceExit --detectOpenHandles",
"lint": "eslint --fix --ext tsx,ts src __tests__",
"prettier": "prettier --write --check ./**/*.{ts,tsx,less}",
"coverage": "codecov",
"commit": "npx git-cz"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier",
"pre-push": "eslint --fix --ext tsx,ts src __tests__"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/lmjben/cdfang-spider.git"
},
"author": "lmjben",
"license": "MIT",
"bugs": {
"url": "https://github.com/lmjben/cdfang-spider/issues"
},
"homepage": "https://github.com/lmjben/cdfang-spider#readme",
"dependencies": {
"@antv/data-set": "^0.10.2",
"antd": "^3.26.7",
"apollo-boost": "^0.4.7",
"apollo-server-koa": "^2.9.16",
"autoprefixer": "^9.7.3",
"bizcharts": "^3.5.6",
"cheerio": "^1.0.0-rc.2",
"cssnano": "^4.1.10",
"dayjs": "^1.8.19",
"ejs": "^3.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.1",
"html-webpack-plugin": "^3.2.0",
"koa": "^2.11.0",
"koa-body": "^4.1.1",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"lodash": "^4.17.15",
"log4js": "^6.1.0",
"mini-css-extract-plugin": "^0.9.0",
"mongoose": "^5.8.7",
"node-schedule": "^1.3.2",
"qiniu-upload-plugin": "^1.2.9",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-hot-loader": "^4.12.18",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"speed-measure-webpack-plugin": "^1.3.1",
"superagent": "^5.2.1",
"supertest": "^4.0.2",
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-deep-scope-plugin": "^1.6.2",
"webpack-merge": "^4.2.2",
"workbox-webpack-plugin": "^4.3.1"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@babel/register": "^7.8.3",
"@hot-loader/react-dom": "^16.11.0",
"@types/cheerio": "^0.22.15",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.25",
"@types/koa": "^2.11.0",
"@types/koa-router": "^7.4.0",
"@types/koa-static": "^4.0.1",
"@types/lodash": "^4.14.149",
"@types/mongoose": "^5.5.41",
"@types/node": "^13.1.6",
"@types/node-schedule": "^1.3.0",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/react-router-dom": "^5.1.3",
"@types/superagent": "^4.1.4",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.13.0",
"codecov": "^3.6.1",
"cross-env": "^6.0.3",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"husky": "^4.0.6",
"jest": "^24.9.0",
"jest-canvas-mock": "^2.2.0",
"jest-fetch-mock": "^3.0.1",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"style-loader": "^1.1.2",
"supervisor": "^0.12.0",
"ts-jest": "^24.3.0",
"typescript": "^3.7.4",
"url-loader": "^3.0.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
}
}