-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
111 lines (111 loc) · 3.52 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
{
"name": "vue-router-user-roles",
"description": "A Vue.js plugin that protects routes based on user roles",
"version": "0.1.92",
"author": {
"name": "Anthony Gore",
"email": "[email protected]"
},
"bugs": {
"url": "https://github.com/anthonygore/vue-router-user-roles/issues"
},
"devDependencies": {
"@babel/preset-env": "^7.4.4",
"babel-core": "^7.0.0-0",
"babel-eslint": "^7.1.0",
"babel-jest": "^22.4.3",
"babel-loader": "^6.2.10",
"babel-plugin-istanbul": "^5.1.4",
"babel-polyfill": "6.22.0",
"babel-preset-power-assert": "^3.0.0",
"buble": "^0.14.0",
"chromedriver": "^2.27.2",
"conventional-changelog-cli": "^1.2.0",
"conventional-github-releaser": "^1.1.3",
"cross-env": "^5.1.5",
"cross-spawn": "^5.0.1",
"eslint": "^3.14.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-vue-libs": "^1.2.0",
"gitbook-cli": "^2.3.0",
"html-webpack-plugin": "^2.19.0",
"http-server": "^0.11.1",
"jest": "^24.7.1",
"jest-junit-reporter": "^1.1.0",
"jest-serializer-vue": "^1.0.0",
"nightwatch": "^1.1.7",
"nightwatch-helpers": "^1.2.0",
"power-assert": "^1.4.2",
"rollup": "^0.36.4",
"rollup-plugin-buble": "^0.14.0",
"rollup-plugin-replace": "^1.1.1",
"selenium-server": "2.53.1",
"uglify-js": "^2.7.5",
"vue": "^2.1.10",
"vue-jest": "^2.5.0",
"vue-template-compiler": "^2.5.16",
"webpack": "^2.2.0",
"webpack-dev-server": "^3.3.1"
},
"files": [
"dist/vue-router-user-roles.js",
"dist/vue-router-user-roles.min.js",
"dist/vue-router-user-roles.common.js",
"src"
],
"homepage": "https://github.com/anthonygore/vue-router-user-roles#readme",
"main": "dist/vue-router-user-roles.common.js",
"module": "dist/vue-router-user-roles.esm.js",
"unpkg": "dist/vue-router-user-roles.js",
"keywords": [
"plugin",
"vue",
"vuejs"
],
"license": "MIT",
"engines": {
"node": ">= 6.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/anthonygore/vue-router-user-roles.git"
},
"scripts": {
"build": "node config/build.js",
"changelog": "conventional-changelog -i CHANGELOG.md -s -n ./config/convention.js",
"release": "conventional-github-releaser -n ./config/convention.js",
"clean": "rm -rf coverage && rm -rf dist/*.js* && rm ./*.log",
"dev": "cross-env BABEL_ENV=test webpack-dev-server --inline --hot --open --content-base ./test/unit/ --config config/webpack.dev.conf.js",
"docs": "gitbook serve ./gitbook ./docs",
"docs:build": "node config/version.js && gitbook build ./gitbook ./docs",
"docs:install": "gitbook install ./gitbook",
"lint": "eslint src test config",
"lint:fix": "eslint src test config --fix",
"test": "npm run lint && npm run test:cover && npm run test:e2e",
"test:cover": "cross-env BABEL_ENV=test jest --coverage",
"test:coveralls": "npm run test:cover && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"test:e2e": "npm run build && node test/e2e/runner.js",
"test:unit": "cross-env BABEL_ENV=test jest"
},
"jest": {
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"js",
"vue"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/dist/"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
]
}
}