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.11.19",
"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/yhlben/cdfang-spider.git"
},
"author": "yhlben",
"license": "MIT",
"bugs": {
"url": "https://github.com/yhlben/cdfang-spider/issues"
},
"homepage": "https://github.com/yhlben/cdfang-spider#readme",
"dependencies": {
"@antv/data-set": "^0.10.2",
"antd": "^3.20.0",
"apollo-boost": "^0.4.3",
"apollo-server-koa": "^2.6.7",
"autoprefixer": "^9.6.0",
"bizcharts": "^3.5.4",
"cheerio": "^1.0.0-rc.2",
"cssnano": "^4.1.10",
"dayjs": "^1.8.14",
"ejs": "^2.6.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"graphql": "^14.4.1",
"graphql-tag": "^2.10.1",
"html-webpack-plugin": "^3.2.0",
"koa": "^2.7.0",
"koa-body": "^4.1.0",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"lodash": "^4.17.11",
"log4js": "^4.4.0",
"mini-css-extract-plugin": "^0.7.0",
"mongoose": "^5.6.2",
"node-schedule": "^1.3.2",
"qiniu-upload-plugin": "^1.2.9",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.12.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"speed-measure-webpack-plugin": "^1.3.1",
"superagent": "^5.1.0",
"supertest": "^4.0.2",
"webpack": "^4.35.2",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-deep-scope-plugin": "^1.6.1",
"webpack-merge": "^4.2.1",
"workbox-webpack-plugin": "^4.3.1"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/register": "^7.4.4",
"@hot-loader/react-dom": "^16.8.6",
"@types/cheerio": "^0.22.11",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.15",
"@types/koa": "^2.0.49",
"@types/koa-router": "^7.0.42",
"@types/koa-static": "^4.0.1",
"@types/lodash": "^4.14.135",
"@types/mongoose": "^5.5.7",
"@types/node": "^12.0.10",
"@types/node-schedule": "^1.2.3",
"@types/react": "^16.8.22",
"@types/react-dom": "^16.8.4",
"@types/react-router-dom": "^4.3.4",
"@types/superagent": "^4.1.1",
"@types/supertest": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.12.0",
"codecov": "^3.5.0",
"cross-env": "^5.2.0",
"css-loader": "^3.0.0",
"eslint": "^6.0.1",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-prettier": "^6.0.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-canvas-mock": "^2.1.0",
"jest-fetch-mock": "^2.1.2",
"less": "^3.9.0",
"less-loader": "^5.0.0",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"style-loader": "^0.23.1",
"supervisor": "^0.12.0",
"ts-jest": "^24.0.2",
"typescript": "^3.5.2",
"url-loader": "^2.0.1",
"webpack-cli": "^3.3.5",
"webpack-dev-server": "^3.7.2"
}
}