forked from IndexXuan/vite-plugin-mpa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.04 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
{
"name": "vite-plugin-mpa",
"version": "1.1.4",
"description": "MPA for vite",
"module": "dist/index.mjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"author": "[email protected]",
"scripts": {
"commit": "git cz",
"build": "tsup src/index.ts --format esm,cjs --dts",
"lint": "prettier --write --parser typescript \"src/**/*.ts\"",
"test:vue3": "cd examples/vue3-mpa-app && npm i && yarn build",
"test:react": "cd examples/react-mpa-app && npm i && yarn build",
"test": "npm run test:vue3 & npm run test:react",
"prepublishOnly": "npm run build"
},
"license": "MIT",
"homepage": "https://github.com/IndexXuan/vite-plugin-mpa",
"repository": {
"type": "git",
"url": "[email protected]:IndexXuan/vite-plugin-mpa.git"
},
"keywords": [
"vite-plugin",
"mpa",
"MPA",
"multi-page"
],
"dependencies": {
"connect-history-api-fallback": "1.6.0",
"shelljs": "0.8.5",
"yargs": "16.2.0"
},
"devDependencies": {
"@types/connect-history-api-fallback": "1.3.3",
"@types/node": "14.14.25",
"@types/shelljs": "0.8.8",
"@types/yargs": "16.0.0",
"lint-staged": "10.5.4",
"prettier": "2.2.1",
"tsup": "3.12.1",
"typescript": "4.1.3",
"vite": "2.0.1",
"@commitlint/cli": "7.2.0",
"@commitlint/config-conventional": "7.1.2",
"commitizen": "2.10.1",
"cz-customizable": "5.2.0",
"yorkie": "2.0.0"
},
"prettier": {
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": ".cz-configrc.js"
}
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $GIT_PARAMS"
},
"lint-staged": {
"**/**.{ts,js,json}": [
"prettier --write"
]
}
}