-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.83 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
{
"name": "vue-web-project",
"description": "A Vue web project",
"version": "0.0.0",
"author": "trainiac <[email protected]>",
"keywords": [
"vue"
],
"private": true,
"engines": {
"node": "8.12.0"
},
"scripts": {
"babel-node": "RESOLVE_MODULES=true babel-node --presets=es2015",
"reinstall": "rm -fr ./node_modules && npm install",
"lint-js": "eslint ./ --ext .js --ext .vue --ext .html --ext .eslintrc.js --rule \"prettier/prettier: error\"",
"lint-js-fix": "eslint ./ --fix --ext .js --ext .vue --ext .html --ext .eslintrc.js",
"lint-styles": "stylelint \"./client/**/*.+(vue|scss|html)\"",
"lint-all": "npm run lint-js && npm run lint-styles",
"lint-changed-js": "LIST=`git diff --cached --name-status | awk '{ if($1 ~ /R/){ print $3 } else if($1 !~ /D/) { print $2 } }' | grep -E \".*\\.(vue|html|js)$\";`; if [ \"$LIST\" ]; then eslint $LIST --rule 'prettier/prettier: error'; fi",
"lint-changed-js-fix": "LIST=`git diff --cached --name-status | awk '{ if($1 ~ /R/){ print $3 } else if($1 !~ /D/) { print $2 } }' | grep -E \".*\\.(vue|html|js)$\";`; if [ \"$LIST\" ]; then eslint --fix $LIST; fi",
"lint-changed-styles": "LIST=`git diff --cached --name-status | awk '{ if($1 ~ /R/){ print $3 } else if($1 !~ /D/) { print $2 } }' | grep -E \".*\\.(vue|html|scss)$\";`; if [ \"$LIST\" ]; then stylelint $LIST; fi",
"develop": "NODE_ENV=development node --max_old_space_size=4096 scripts/serve.js --env dev",
"build": "NODE_ENV=production node scripts/build.js --env build",
"analyze": "NODE_ENV=production node scripts/build.js --env build --analyze",
"serve": "NODE_ENV=production node scripts/serve.js --env server"
},
"pre-commit": [
"lint-changed-js",
"lint-changed-styles"
],
"dependencies": {
"axios": "^0.18.0",
"connect-timeout": "^1.9.0",
"debra": "^1.8.1",
"element-in-view": "^0.1.0",
"es6-object-assign": "^1.1.0",
"es6-promise": "^4.2.6",
"es6-string-polyfills": "^1.0.0",
"express": "^4.16.4",
"http-shutdown": "^1.2.0",
"http-status-codes": "^1.3.2",
"lodash": "^4.17.11",
"minimist": "^1.2.0",
"vue": "^2.6.7",
"vue-router": "^3.0.2",
"vue-server-renderer": "^2.6.7",
"vuex": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/template": "^7.2.2",
"@trainiac/html-inline-css-webpack-plugin": "^1.2.4",
"acorn": "^6.1.1",
"autoprefixer": "^9.5.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-resolver": "^1.1.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"chokidar": "^2.1.2",
"copy-node-modules": "^1.1.1",
"copy-webpack-plugin": "^5.0.0",
"css-loader": "^2.1.0",
"cssnano": "^4.1.10",
"de-indent": "^1.0.2",
"escape-html": "^1.0.3",
"eslint": "^5.14.1",
"eslint-config-prettier": "^4.0.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-compat": "^2.7.0",
"eslint-plugin-html": "^5.0.3",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.2.2",
"eventsource-polyfill": "^0.9.6",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"image-webpack-loader": "^4.6.0",
"inline-manifest-webpack-plugin": "^4.0.2",
"lodash-webpack-plugin": "^0.11.5",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0",
"opn": "^5.4.0",
"postcss": "^7.0.14",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-loader": "^3.0.0",
"postcss-scss": "^2.0.0",
"pre-commit": "^1.2.2",
"prettier": "^1.16.4",
"prettyjson": "^1.2.1",
"rimraf": "^2.6.3",
"sass-loader": "^7.1.0",
"sass-resources-loader": "^2.0.0",
"stylelint": "^9.10.1",
"stylelint-config-prettier": "^5.0.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-no-unsupported-browser-features": "^3.0.2",
"stylelint-scss": "^3.5.4",
"supports-color": "^6.1.0",
"terser-webpack-plugin": "^1.2.2",
"url-loader": "^1.1.2",
"vue-loader": "^15.6.4",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.7",
"webpack": "^4.29.5",
"webpack-bundle-analyzer": "^3.0.4",
"webpack-bundle-size-analyzer": "^3.0.0",
"webpack-cli": "^3.3.0",
"webpack-dev-middleware": "^3.6.0",
"webpack-hot-middleware": "^2.24.3",
"webpack-merge": "^4.2.1",
"webpack-node-externals": "^1.7.2"
}
}