-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.7 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
{
"name": "matrix-admin-utils",
"version": "0.0.1",
"description": "一个简单的工具封装库",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "types/index.d.ts",
"jsdelivr": "dist/iife/index.js",
"unpkg": "dist/iife/index.js",
"miniprogram": "dist/cjs",
"files": [
"dist",
"types"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"author": "樱吹雪",
"homepage": "https://lib-starter-rollup.wyatex.online",
"repository": "Wyatex/Lib-Starter-Rollup",
"bugs": {
"url": "https://github.com/Wyatex/Lib-Starter-Rollup/issues"
},
"keywords": [
"rollup",
"bundle",
"vitest",
"vitepress",
"typescript"
],
"scripts": {
"build": "npm run build:types && npm run build:libs && npm run build:vp",
"build:types": "rimraf ./types && tsc --declaration --emitDeclarationOnly --outDir types -p tsconfig.lib.json",
"build:libs": "rimraf ./dist && rollup -c --bundleConfigAsCjs",
"build:docs": "typedoc",
"build:vp": "typedoc && vitepress build .",
"test:unit": "vitest",
"test:cov": "vitest run --coverage",
"preview:docs": "vitepress dev .",
"format": "prettier --write .",
"typecheck": "tsc --noEmit --skipLibCheck",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@types/crypto-js": "^4.1.1",
"@types/js-cookie": "^3.0.3",
"@types/node": "^20.3.1",
"@vitest/coverage-v8": "^0.32.2",
"bumpp": "^9.1.1",
"clipboard": "^2.0.11",
"conventional-changelog": "^4.0.0",
"conventional-changelog-cli": "^3.0.0",
"crypto-js": "^4.1.1",
"js-cookie": "^3.0.5",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"simple-git-hooks": "^2.8.1",
"tslib": "^2.5.3",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "^5.1.3",
"vitepress": "1.0.0-beta.6",
"vitest": "^0.32.2"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged && npm run typecheck",
"commit-msg": "npx --no -- commitlint --edit ${1}"
},
"lint-staged": {
"*.{ts}": [
"prettier --write",
"git add"
]
},
"peerDependencies": {
"clipboard": "^2.0.11",
"crypto-js": "^4.1.1",
"js-cookie": "^3.0.5"
}
}