/
package.json
79 lines (79 loc) · 1.93 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
{
"name": "vue-auto-routing",
"version": "1.0.1",
"author": "katashin",
"description": "Generate Vue Router routing automatically",
"keywords": [
"Vue",
"Vue Router",
"routing",
"auto generate",
"generator",
"webpack",
"plugin"
],
"license": "MIT",
"main": "index.js",
"typings": "index.d.ts",
"files": [
"lib",
"index.js",
"index.d.ts"
],
"homepage": "https://github.com/ktsn/vue-auto-routing",
"bugs": "https://github.com/ktsn/vue-auto-routing/issues",
"repository": {
"type": "git",
"url": "https://github.com/ktsn/vue-auto-routing.git"
},
"scripts": {
"prepublishOnly": "npm run test && npm run clean && npm run build",
"clean": "rm -rf lib && echo export default [] > index.js",
"build": "tsc -p src",
"dev": "jest --watch",
"lint": "tslint -p . && prettier --list-different \"{src,scripts,test}/**/*.{js,ts}\"",
"format": "prettier --write \"{src,scripts,test}/**/*.{js,ts}\"",
"test": "npm run lint && npm run test:unit",
"test:unit": "jest"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "/test/.+\\.spec\\.(js|ts)$",
"modulePathIgnorePatterns": [
"<rootDir>/index.js",
"<rootDir>/test/fixtures/"
],
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"globals": {
"ts-jest": {
"tsconfig": "test/tsconfig.json"
}
}
},
"devDependencies": {
"@types/fs-extra": "^9.0.6",
"@types/jest": "^26.0.19",
"@types/webpack": "^4.41.25",
"@vue/compiler-sfc": "^3.0.5",
"fs-extra": "^9.0.1",
"jest": "^26.6.3",
"prettier": "2.2.1",
"ts-jest": "^26.4.4",
"tslint": "^6.1.3",
"tslint-config-ktsn": "^2.1.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3",
"vue": "^3.0.5",
"vue-router": "^4.0.2",
"webpack": "^5.11.1"
},
"dependencies": {
"vue-route-generator": "^1.0.0"
}
}