-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
64 lines (64 loc) · 1.61 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
{
"name": "demo-blog",
"description": "A Vue.js project",
"version": "1.0.0",
"author": "Kevin <[email protected]>",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"test": "./node_modules/.bin/jest --coverage"
},
"dependencies": {
"lodash": "^4.17.4",
"vue": "^2.3.3",
"vue-router": "^2.7.0",
"vuex": "^2.3.1"
},
"devDependencies": {
"avoriaz": "^3.4.0",
"babel-core": "^6.0.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.5.1",
"cross-env": "^5.0.5",
"css-loader": "^0.28.5",
"eslint": "^4.5.0",
"eslint-plugin-vue": "3.12.0",
"file-loader": "^0.11.2",
"jest": "^20.0.4",
"jest-vue-preprocessor": "^1.1.0",
"sinon": "^3.2.1",
"vue-loader": "^13.0.4",
"vue-template-compiler": "^2.3.3",
"webpack": "^3.5.5",
"webpack-dev-server": "^2.4.5"
},
"babel": {
"presets": [
"env"
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
]
},
"jest": {
"coverageDirectory": "test/coverage",
"moduleNameMapper": {
"src/components/([^\\.]*)$": "<rootDir>/src/components/$1.vue",
"^vue$": "vue/dist/vue.common.js",
"src/([^\\.]*)$": "<rootDir>/src/$1.vue",
"(.*)/(.*)$": "$1/$2.vue"
},
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/jest-vue-preprocessor"
}
}
}