forked from vuejs/router
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
115 lines (115 loc) · 4.01 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
112
113
114
115
{
"name": "vue-router",
"version": "4.0.8",
"main": "dist/vue-router.cjs.js",
"unpkg": "dist/vue-router.global.js",
"jsdelivr": "dist/vue-router.global.js",
"module": "dist/vue-router.esm-bundler.js",
"types": "dist/vue-router.d.ts",
"sideEffects": false,
"license": "MIT",
"files": [
"dist/*.js",
"dist/vue-router.d.ts",
"vetur/tags.json",
"vetur/attributes.json",
"README.md"
],
"scripts": {
"build": "rollup -c rollup.config.js",
"build:dts": "api-extractor run --local --verbose && tail -n +7 src/globalExtensions.ts >> dist/vue-router.d.ts",
"dev": "webpack serve --mode=development",
"release": "bash scripts/release.sh",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"build:playground": "webpack --env prod",
"build:e2e": "webpack --env prod --config e2e/webpack.config.js",
"build:size": "yarn run build && rollup -c size-checks/rollup.config.js",
"dev:e2e": "webpack serve --mode=development --config e2e/webpack.config.js",
"docs": "vitepress dev docs",
"docs:build": "vitepress build docs",
"lint": "yarn run lint:script && yarn run lint:html",
"lint:script": "prettier -c --parser typescript \"{src,__tests__,e2e,playground}/**/*.[jt]s?(x)\"",
"lint:html": "prettier -c --parser html \"{playground,e2e}/**/*.html\"",
"lint:fix": "yarn run lint:script --write && yarn run lint:html --write",
"test:types": "tsc --build tsconfig.json",
"test:dts": "tsc -p ./test-dts/tsconfig.json",
"test:unit": "jest --coverage",
"test": "yarn run test:types && yarn run test:unit && yarn run build && yarn run build:dts && yarn run test:e2e",
"test:e2e": "yarn run test:e2e:headless && yarn run test:e2e:native",
"test:e2e:headless": "node e2e/runner.js -e chrome-headless --skiptags no-headless",
"test:e2e:native": "node e2e/runner.js -e chrome --tag no-headless",
"test:e2e:ci": "node e2e/runner.js -e firefox --retries 2",
"test:e2e:bs": "node e2e/runner.js --local -e edge_pre_chrome,android44 -c e2e/nightwatch.browserstack.js --tag browserstack"
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"peerDependencies": {
"vue": "^3.0.0"
},
"vetur": {
"tags": "vetur/tags.json",
"attributes": "vetur/attributes.json"
},
"dependencies": {
"@vue/devtools-api": "^6.0.0-beta.12"
},
"devDependencies": {
"@microsoft/api-extractor": "7.8.1",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.0",
"@sucrase/jest-plugin": "^2.1.0",
"@types/jest": "^26.0.21",
"@types/jsdom": "^16.2.7",
"@types/webpack": "^5.28.0",
"@types/webpack-env": "^1.16.0",
"@vue/compiler-sfc": "^3.0.7",
"@vue/server-renderer": "^3.0.7",
"@vue/test-utils": "^2.0.0-rc.3",
"axios": "^0.21.1",
"brotli": "^1.3.2",
"browserstack-local": "^1.4.5",
"chalk": "^4.1.0",
"chromedriver": "^90.0.0",
"codecov": "^3.8.2",
"conventional-changelog-cli": "^2.1.1",
"css-loader": "^5.1.3",
"dotenv": "^10.0.0",
"faked-promise": "^2.2.2",
"html-webpack-plugin": "^5.3.1",
"jest": "^26.6.1",
"jest-mock-warn": "^1.1.0",
"lint-staged": "^11.0.0",
"nightwatch": "^1.6.4",
"nightwatch-helpers": "^1.2.0",
"prettier": "^2.3.0",
"rollup": "^2.50.5",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"selenium-server": "^3.141.59",
"serve-handler": "^6.1.3",
"style-loader": "^2.0.0",
"ts-loader": "^9.1.2",
"ts-node": "^10.0.0",
"typescript": "^4.2.3",
"vitepress": "^0.14.0",
"vue": "^3.0.7",
"vue-loader": "^16.1.2",
"webpack": "^5.38.1",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2",
"yorkie": "^2.0.0"
}
}