-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 4.01 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
{
"name": "node-nestjs-frontend",
"version": "0.0.1",
"scripts": {
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"clean": "node ./build/clean.js",
"dev": "cross-env BUILD_ENV=development webpack-dev-server --progress --config ./build/webpack.config.dev.js",
"build:dev": "npm run clean && npm run type-check && cross-env BUILD_ENV=development webpack --config ./build/webpack.config.dist.js",
"build:test": "npm run clean && npm run type-check && cross-env BUILD_ENV=test webpack --config ./build/webpack.config.dist.js",
"build:pre": "npm run clean && npm run type-check && cross-env BUILD_ENV=pre-production webpack --config ./build/webpack.config.dist.js",
"build:prod": "npm run clean && npm run type-check && cross-env BUILD_ENV=production webpack --config ./build/webpack.config.dist.js",
"lint": "eslint --ext .js,.vue,.ts src tests",
"stylelint": "stylelint src/**/*.{vue,htm,html,css,sss,less,scss,sass}",
"test:unit": "jest"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@babel/runtime": "^7.8.3",
"@types/jest": "^24.9.0",
"@types/spark-md5": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"@vue/test-utils": "^1.0.0-beta.31",
"autoprefixer": "^9.7.4",
"axios": "^0.19.1",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.13.0",
"copy-webpack-plugin": "^5.1.1",
"core-js": "^3.6.4",
"cross-env": "^6.0.3",
"css": "^2.2.4",
"css-loader": "^3.4.2",
"del": "^5.1.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-formatter-friendly": "^7.0.0",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^6.1.2",
"glob": "^7.1.6",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.0",
"inline-source-webpack-plugin": "^1.4.1",
"jest": "^25.1.0",
"jest-serializer-vue": "^2.0.2",
"jest-watch-typeahead": "^0.4.2",
"js-cookie": "^2.2.1",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"less-vars-to-js": "^1.3.0",
"lint-staged": "^10.0.1",
"mini-css-extract-plugin": "^0.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss": "^7.0.26",
"postcss-loader": "^3.0.0",
"postcss-url": "^8.0.0",
"sass": "^1.25.0",
"sass-loader": "^8.0.2",
"spark-md5": "^3.0.0",
"stylelint": "^13.0.0",
"stylelint-config-recommended-scss": "^4.1.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-scss": "^3.13.0",
"stylelint-webpack-plugin": "^1.2.1",
"typescript": "^3.7.5",
"vant": "^2.4.3",
"vconsole": "^3.3.4",
"vue": "^2.6.11",
"vue-jest": "^3.0.5",
"vue-loader": "^15.8.3",
"vue-property-decorator": "^8.3.0",
"vue-router": "^3.1.5",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.11",
"vuex": "^3.1.2",
"vuex-class": "^0.3.2",
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
},
"browserslist": [
"Android >= 4.0",
"iOS >= 7"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts,vue}": [
"npm run lint",
"git add"
],
"src/**/*.{vue,htm,html,css,sss,less,scss,sass}": [
"npm run stylelint",
"git add"
]
}
}