-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
75 lines (75 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
{
"name": "vue-router-layout",
"version": "0.4.0",
"author": "katashin",
"description": "Lightweight layout selector for Vue Router",
"keywords": [
"Vue",
"Vue Router",
"routing",
"layout",
"dynamic imports"
],
"license": "MIT",
"main": "dist/vue-router-layout.cjs.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"dist",
"lib"
],
"homepage": "/~https://github.com/ktsn/vue-router-layout",
"bugs": "/~https://github.com/ktsn/vue-router-layout/issues",
"repository": {
"type": "git",
"url": "/~https://github.com/ktsn/vue-router-layout.git"
},
"scripts": {
"prepublishOnly": "npm run test && npm run clean && npm run build",
"clean": "rm -rf lib dist .tmp",
"dev": "jest --watch",
"build": "npm run build:ts && npm run build:rollup",
"build:ts": "tsc -p src",
"build:rollup": "node scripts/build.js",
"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)$",
"moduleNameMapper": {
"^vue$": "vue/dist/vue.cjs.js"
},
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"globals": {
"ts-jest": {
"tsconfig": "test/tsconfig.json"
}
}
},
"devDependencies": {
"@types/jest": "^26.0.19",
"@vue/compiler-sfc": "^3.0.5",
"@vue/test-utils": "^2.0.0-beta.13",
"jest": "^26.6.3",
"prettier": "2.3.0",
"rollup": "^2.36.1",
"rollup-plugin-replace": "^2.2.0",
"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",
"uglify-js": "^3.12.4",
"vue": "^3.0.5",
"vue-router": "^4.0.2"
}
}