-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 3.41 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
{
"name": "ddt-cli",
"version": "0.1.6",
"packageManager": "[email protected]",
"description": "初始化模版项目的 cli",
"type": "module",
"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",
"bin": {
"ddt-cli": "dist/esm/index.js"
},
"files": [
"dist",
"types"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"author": "django",
"homepage": "https://github.com/sixdjango",
"repository": "https://github.com/sixdjango/ddt-cli",
"bugs": {
"url": "https://github.com/sixdjango/ddt-cli/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 --resolveJsonModule --declaration --emitDeclarationOnly --outDir types -p tsconfig.lib.json",
"build:libs": "rimraf ./dist && rimraf ./zipDist && rollup --config rollup.config.ts --bundleConfigAsCjs --configPlugin @rollup/plugin-typescript",
"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",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"ddt-cli": "dist/esm/index.js",
"github:ci": "npm version patch -m 'chore(release): bump version to %s' && git push && git push --tags",
"prepack": "json -f package.json -I -e \"delete this.devDependencies;\""
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/archiver": "^6.0.2",
"@types/inquirer": "^9.0.7",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.0",
"@vitest/coverage-v8": "^1.1.3",
"archiver": "^6.0.1",
"bumpp": "^9.2.1",
"conventional-changelog": "^5.1.0",
"conventional-changelog-cli": "^4.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"json": "^11.0.0",
"lint-staged": "^15.2.0",
"magic-string": "^0.30.5",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"rollup": "^4.9.5",
"rollup-pluginutils": "^2.8.2",
"simple-git-hooks": "^2.9.0",
"tslib": "^2.6.2",
"typedoc": "^0.25.6",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.3",
"vitepress": "1.0.0-rc.36",
"vitest": "^1.1.2",
"vue": "^3.4.5"
},
"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"
]
},
"dependencies": {
"inquirer": "^9.2.12"
}
}