generated from mengxinssfd/lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.45 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
116
117
118
119
120
121
122
{
"name": "@tool-pack/keymap",
"version": "0.0.7",
"packageManager": "pnpm@7.1.0",
"description": "🛠 keymap,键盘快捷键绑定工具",
"scripts": {
"pkg:init": "esno scripts/init-pkg.ts",
"pkg:new": "esno scripts/new-pkg.ts",
"check-deps": "ncu",
"test": "jest",
"cov": "jest --coverage",
"prepare": "husky install && npm run pkg:init",
"husky-msg-init": "husky add .husky/pre-commit \"npx lint-staged --allow-empty \"$1\"\"&husky add .husky/commit-msg \"npx commitlint --edit \"$1\"\"",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"ts-check": "tsc --noEmit && tsc -p ./tsconfig.node.json --noEmit",
"lint-check": "eslint .",
"prettier-check": "prettier ./ --check",
"check-all": "run-p ts-check lint-check prettier-check",
"typedoc:build": "typedoc --plugin @mxssfd/typedoc-theme --theme my-theme",
"typedoc:deploy": "gh-pages -d docs-html",
"build": "esno scripts/build.ts -t",
"release": "esno scripts/release.ts"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,html,md}": [
"prettier --write",
"eslint",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/js-tool-pack/keymap.git"
},
"keywords": [
"keymap"
],
"author": "dyh_a",
"license": "MIT",
"bugs": {
"url": "https://github.com/js-tool-pack/keymap/issues"
},
"homepage": "https://github.com/js-tool-pack/keymap#readme",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@microsoft/api-extractor": "^7.33.6",
"@mxssfd/core": "5.0.1-beta.1",
"@mxssfd/typedoc-theme": "^1.0.3",
"@rollup/plugin-json": "^6.0.0",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.2.3",
"@types/minimist": "^1.2.2",
"@types/node": "^18.11.9",
"@types/semver": "^7.3.13",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"chalk": "^5.1.2",
"conventional-changelog-cli": "^2.2.2",
"core-js": "^3.26.1",
"enquirer": "^2.3.6",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"esno": "^0.16.3",
"execa": "^7.1.1",
"fs-extra": "^10.1.0",
"gh-pages": "^5.0.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^13.0.3",
"minimist": "^1.2.7",
"npm-check-updates": "^16.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"rimraf": "^5.0.0",
"rollup": "^3.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"sass": "^1.56.1",
"semver": "^7.3.8",
"ts-jest": "^29.0.3",
"tslib": "^2.4.1",
"typedoc": "^0.23.21",
"typescript": "^5.0.4"
},
"main": "dist/keymap.cjs.js",
"module": "dist/keymap.esm-bundler.js",
"types": "dist/keymap.d.ts",
"exports": {
".": {
"import": {
"node": "./dist/keymap.cjs.js",
"default": "./dist/keymap.esm-bundler.js",
"types": "./dist/keymap.d.ts"
},
"require": {
"default": "./dist/keymap.cjs.js",
"types": "./dist/keymap.d.ts"
}
}
},
"buildOptions": {
"name": "Keymap",
"formats": [
"esm-bundler",
"esm-browser",
"cjs",
"global"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"CHANGELOG.md",
"LICENSE"
]
}