/
package.json
157 lines (157 loc) · 4.6 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
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "test_vue",
"version": "0.1.0",
"description": "A Vue.js project",
"author": "sobolevn <mail@sobolevn.me>",
"license": "MIT",
"main": "client/index.js",
"private": true,
"engines": {
"node": "^8.8.0",
"npm": "^5.4.2"
},
"scripts": {
"postinstall": "flow-typed install",
"test:security": "nsp check",
"test:e2e": "cross-env NODE_ENV=test node tests/e2e/runner.js",
"test:unit": "cross-env NODE_ENV=test jest --no-cache tests/unit",
"test": "npm run test:unit && npm run test:security && npm run lint",
"clean": "rimraf dist",
"build:client": "cross-env NODE_ENV=production webpack --config build/webpack.prod.js",
"build:server": "cross-env NODE_ENV=production webpack --config build/webpack.server.js",
"build": "npm run clean && npm run build:client && npm run build:server",
"ci": "npm run build && npm run test",
"dev": "cross-env NODE_ENV=development node build/dev-server.js",
"start": "cross-env NODE_ENV=production node server",
"lint:js": "eslint --ext .js,.vue,.json client server tests build",
"lint:css": "stylelint '**/*.{vue,scss}' --syntax scss",
"lint": "npm run lint:js && npm run lint:css"
},
"postcss": {
"plugins": {
"autoprefixer": {},
"cssnano": {},
"css-mqpacker": {}
}
},
"browserslist": [
"last 2 versions",
"ie > 8"
],
"stylelint": {
"plugins": [
"stylelint-scss"
],
"processors": [
"stylelint-processor-html"
],
"extends": "stylelint-config-recommended-scss",
"rules": {
"no-empty-source": null
}
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"collectCoverage": true,
"verbose": true,
"globals": {
"NODE_ENV": "test"
},
"moduleDirectories": [
"node_modules",
"client"
],
"transform": {
"^.+\\.jsx?$": "babel-jest",
"^.+\\.vue$": "vue-jest"
}
},
"dependencies": {
"await-to-js": "^2.0.1",
"babel-runtime": "^6.18.0",
"dotenv": "^5.0.1",
"express": "^4.16.3",
"lru-cache": "^4.1.2",
"promise-polyfill": "^7.1.0",
"vue": "^2.5.16",
"vue-meta": "^1.4.4",
"vue-router": "^3.0.1",
"vue-server-renderer": "^2.5.16",
"vuex": "^3.0.1",
"vuex-router-sync": "^5.0.0"
},
"devDependencies": {
"ajv": "^6.3.0",
"autoprefixer": "^8.1.0",
"babel-core": "^6.16.0",
"babel-eslint": "^8.2.2",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-jest": "^22.4.1",
"babel-loader": "^7.1.4",
"babel-plugin-module-resolver": "^3.1.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-vue-app": "^2.0.0",
"babel-register": "^6.26.0",
"chalk": "^2.3.2",
"chromedriver": "^2.36.0",
"compression-webpack-plugin": "^1.1.11",
"copy-webpack-plugin": "^4.5.1",
"cross-env": "^5.1.4",
"cross-spawn": "^6.0.5",
"css-loader": "^0.28.10",
"css-mqpacker": "^6.0.2",
"cssnano": "^3.10.0",
"eslint": "^4.19.0",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-flowtype-errors": "^3.5.1",
"eslint-plugin-html": "^4.0.2",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-unicorn": "^4.0.2",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.11",
"flow-bin": "^0.67.1",
"flow-typed": "^2.4.0",
"friendly-errors-webpack-plugin": "^1.1.2",
"html-webpack-plugin": "^3.0.6",
"jest": "^22.4.2",
"nightwatch": "^0.9.20",
"node-sass": "^4.7.2",
"nsp": "^3.2.1",
"postcss": "^6.0.20",
"postcss-loader": "^2.1.1",
"raw-loader": "^0.5.1",
"request": "^2.85.0",
"rimraf": "^2.6.1",
"sass-loader": "^6.0.7",
"selenium-server": "^3.11.0",
"style-loader": "^0.20.3",
"stylelint": "^9.1.3",
"stylelint-config-recommended-scss": "^3.1.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-processor-html": "^1.0.0",
"stylelint-scss": "^2.5.0",
"stylelint-webpack-plugin": "^0.10.3",
"vue-jest": "^2.1.1",
"vue-loader": "^14.2.1",
"vue-ssr-webpack-plugin": "^3.0.0",
"vue-template-compiler": "^2.5.16",
"vue-test-utils": "^1.0.0-beta.11",
"webpack": "^3.11.0",
"webpack-bundle-analyzer": "^2.11.1",
"webpack-dev-server": "^3.1.1",
"webpack-hot-middleware": "^2.21.2",
"webpack-merge": "^4.1.2"
}
}