-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 3.8 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
{
"name": "maby-webpack",
"version": "1.0.2",
"description": "",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "webpack --progress --watch",
"treer": "node ./treer.js -e ./public/antd_dva_tree.txt -i \"(node_modules|dist|.git|preview|.cache|LICENSE)\"",
"start": "better-npm-run start",
"build": "better-npm-run build",
"analyzer": "better-npm-run analyzer",
"preview": "better-npm-run preview && npm run clean && make preview",
"preview:win": "better-npm-run preview && cd ./public/dist && anywhere",
"clean": "make clean"
},
"betterScripts": {
"start": {
"command": "webpack-dev-server --progress --open --config webpack.config.js",
"env": {
"NODE_PATH": "./src",
"NODE_ENV": "development",
"PORT": 3300,
"HOST": "localhost",
"APIPORT": 8080
}
},
"build": {
"command": "webpack --progress --config webpack.config.js",
"env": {
"NODE_PATH": "./src",
"NODE_ENV": "production",
"PORT": 3600
}
},
"analyzer": {
"command": "webpack --json > stats.json --config webpack.config.js",
"env": {
"NODE_PATH": "./src",
"NODE_ENV": "production",
"ANALYZER": true,
"PORT": 12222
}
},
"preview": {
"command": "webpack --progress --config webpack.config.js",
"env": {
"NODE_PATH": "./src",
"NODE_ENV": "production",
"ASSET_PATH": "./",
"PREVIEW": true,
"PORT": 3600,
"HOST": "127.0.0.1",
"APIPORT": 18081
}
}
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/polyfill": "^7.0.0-beta.51",
"autodll-webpack-plugin": "0.3",
"autoprefixer": "^8.5.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-import": "^1.7.0",
"babel-plugin-react-hot-loader": "^3.0.0-beta.6",
"babel-plugin-react-transform": "^3.0.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"better-npm-run": "^0.1.0",
"clean-webpack-plugin": "^0.1.17",
"compression-webpack-plugin": "^1.1.11",
"copy-webpack-plugin": "^4.5.1",
"css-loader": "^0.28.7",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"express": "^4.16.2",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.5",
"history": "^4.7.2",
"html-webpack-plugin": "^3.2.0",
"immutable": "3.7.4",
"less": "^3.0.1",
"less-loader": "^4.1.0",
"node-uuid": "^1.4.8",
"postcss-loader": "^2.1.4",
"react-loadable": "^5.4.0",
"react-transform-catch-errors": "^1.0.2",
"redbox-react": "^1.6.0",
"rimraf": "^2.6.2",
"style-loader": "^0.19.1",
"stylelint": "^8.0.0",
"stylelint-webpack-plugin": "^0.10.5",
"uglifyjs-webpack-plugin": "^1.1.4",
"url-loader": "^1.0.1",
"webpack": "^3.10.0",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-dev-server": "^2.9.7"
},
"dependencies": {
"antd": "^3.5.2",
"axios": "^0.18.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-runtime": "^6.26.0",
"dva": "^2.2.3",
"mockjs": "^1.0.1-beta3",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-router": "^4.2.0"
},
"theme": {
"primary-color": "#fa8c16"
}
}