-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
145 lines (145 loc) Β· 4.82 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
145
{
"name": "ppio-official-site",
"version": "1.0.0",
"description": "The official site of PPIO",
"author": "Jason <[email protected]>",
"license": "MIT",
"scripts": {
"analyze:clean": "rimraf stats.json",
"preanalyze": "npm run analyze:clean",
"analyze": "cross-env npm_config_report=true npm run build",
"start": "cross-env NODE_ENV=development node server",
"start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server",
"start:production": "npm run build && npm run start:prod",
"start:prod": "cross-env NODE_ENV=production node server",
"start:prod:tunnel": "cross-env NODE_ENV=production ENABLE_TUNNEL=true node server",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint './app/**/*.css ./app/**/*.scss ./app/**/*.less'",
"lint:css:fix": "stylelint './app/**/*.css ./app/**/*.scss ./app/**/*.less' --fix",
"lint:eslint": "eslint --ignore-path .gitignore",
"lint:eslint:fix": "eslint --ignore-path .gitignore --fix ./",
"lint:js": "npm run lint:eslint -- . ",
"lint:staged": "lint-staged",
"lint:fix": "npm run lint:css:fix && npm run lint:eslint:fix",
"prebuild": "npm run build:clean",
"build": "cross-env NODE_ENV=production webpack --config build/webpack.prod.conf.js --color -p --progress --hide-modules --display-optimization-bailout",
"build:clean": "rimraf ./dist",
"build:dll": "cross-env BUILDING_DLL=true webpack --display-chunks --color --config build/webpack.dll.conf.js --hide-modules",
"prettify": "prettier --write ./**/*.js"
},
"browserslist": [
"> 1%",
"ie > 8",
"chrome >= 20",
"firefox >= 20"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npm run lint:fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"add-asset-html-webpack-plugin": "^2.1.3",
"autoprefixer": "^8.6.5",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.5",
"babel-loader": "^7.1.5",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-classes": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"chalk": "^2.4.1",
"circular-dependency-plugin": "^5.0.2",
"concurrently": "^3.6.0",
"copy-webpack-plugin": "^4.6.0",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
"css-loader": "^1.0.0",
"detect-port": "^1.2.3",
"ejs-loader": "^0.3.1",
"eslint": "^5.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0",
"eslint-formatter-pretty": "^1.3.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-plugin-compat": "^2.5.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"eventsource-polyfill": "^0.9.6",
"express": "^4.16.3",
"extract-loader": "^2.0.1",
"file-loader": "^1.1.11",
"glob": "^7.1.2",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.19.0",
"husky": "^1.1.2",
"identity-obj-proxy": "^3.0.0",
"image-webpack-loader": "^4.3.1",
"imagemin-mozjpeg": "^8.0.0",
"imagemin-webpack-plugin": "^2.3.0",
"ip": "^1.1.5",
"lint-staged": "^7.3.0",
"mini-css-extract-plugin": "^0.4.1",
"minimist": "^1.2.0",
"ngrok": "^3.0.1",
"node-sass": "^4.9.4",
"npm-logical-tree": "^1.2.1",
"optimize-css-assets-webpack-plugin": "^4.0.3",
"postcss-import": "^11.1.0",
"postcss-loader": "^2.1.6",
"postcss-url": "^7.3.2",
"prettier": "^1.13.7",
"rimraf": "^2.6.2",
"sass-loader": "^7.0.3",
"shelljs": "^0.8.2",
"sinon": "^6.1.3",
"string-replace-webpack-plugin": "^0.1.3",
"style-loader": "^0.21.0",
"stylelint": "^9.3.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-scss": "^3.1.3",
"svg-url-loader": "^2.3.2",
"uglifyjs-webpack-plugin": "^1.2.7",
"url-loader": "^1.0.1",
"webpack": "^4.15.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.0.8",
"webpack-dev-middleware": "^3.1.3",
"webpack-dev-server": "^3.1.4",
"webpack-hot-middleware": "^2.22.2",
"webpack-merge": "^4.1.3"
},
"dependencies": {
"axios": "^0.18.0",
"mobile-detect": "^1.4.3",
"nodelist-foreach-polyfill": "^1.2.0",
"picturefill": "^3.0.2",
"qs": "^6.5.2",
"sanitize.css": "^6.0.0",
"smoothscroll-polyfill": "^0.4.3",
"ua-parser-js": "^0.7.18"
},
"devEngines": {
"node": ">=8",
"npm": ">=5",
"yarn": ">=1"
}
}