-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 2.66 KB
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
{
"name": "vuelidation",
"version": "1.1.0",
"description": "Vue.js validation",
"main": "dist/vuelidation.js",
"repository": "github.com/cj/vuelidation",
"author": "CJ Lazell",
"license": "MIT",
"scripts": {
"test": "cross-env NODE_ENV=test eslint src && jest --no-cache --coverage",
"test:watch": "cross-env NODE_ENV=test jest --no-cache --watchAll --coverage",
"rollup": "rollup -c rollup.config.babel.js",
"rollup:compress": "COMPRESS=true rollup -c rollup.config.babel.js",
"rollup:watch": "rollup -c rollup.config.babel.js -w",
"rollup:compress:watch": "COMPRESS=true rollup -c rollup.config.babel.js -w",
"build": "run-p rollup rollup:compress",
"build:watch": "run-p rollup:watch rollup:compress:watch"
},
"babel": {
"presets": [
"vue-app",
"es2015"
],
"plugins": [
[
"istanbul",
{
"include": [
"src/**/*.{js,vue}"
],
"exclude": [
"**/*.__transform__.js",
"**/__tests__/**",
"**/__mocks__/**"
]
}
]
]
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transformIgnorePatterns": [
"/node_modules/(?!(vues/(index.js|lib)))"
],
"transform": {
".*\\.(vue)$": "<rootDir>/jest/transform-vue.js",
".*": "babel-jest"
},
"collectCoverageFrom": [
"src/**/*.js"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 50,
"lines": 33,
"statements": 25
}
}
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.1",
"babel-loader": "^7.0.0",
"babel-plugin-istanbul": "^4.1.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-vue-app": "^1.1.1",
"clean-webpack-plugin": "^0.1.16",
"core-js": "^2.4.1",
"coveralls": "^2.13.0",
"cross-env": "^5.0.0",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jest": "^20.0.3",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^2.0.1",
"jest": "^20.0.4",
"lodash": "^4.17.4",
"npm-run-all": "^4.0.2",
"rollup": "^0.41.6",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-cleanup": "^1.0.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-uglify": "^2.0.1",
"rollup-watch": "^3.2.2",
"uglify-js": "^3.0.11",
"vue": "^2.2.6"
}
}