Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2 KB
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
{
"name": "test-cli",
"version": "0.0.1",
"packageManager": "pnpm@6.32.3",
"description": "",
"keywords": [],
"homepage": "https://github.com/251205668/ts-cli-template#readme",
"bugs": {
"url": "https://github.com/251205668/ts-cli-template/issues"
},
"license": "MIT",
"author": "mohen <y251205668@sina.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/251205668/ts-cli-template.git"
},
"funding": "https://github.com/sponsors/251205668",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"bin"
],
"bin": {
"zi": "bin/zi.mjs"
},
"sideEffects": false,
"scripts": {
"prepublishOnly": "npm run build",
"dev": "npm run build & npm link",
"build": "unbuild",
"stub": "unbuild --stub",
"prepare": "husky install",
"release": "release-it",
"lint": "eslint . --fix",
"test": "vitest",
"prev": "npm run build & npm link",
"prepublish:cli": "npm run build",
"publish:cli": "npm publish --access public"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"husky": "^7.0.0",
"@antfu/eslint-config": "^0.22.0",
"@types/ini": "^1.3.31",
"@types/node": "^17.0.45",
"@types/prompts": "^2.4.0",
"@types/which": "^2.0.1",
"eslint": "^8.14.0",
"esno": "^0.14.1",
"execa": "^6.1.0",
"fast-glob": "^3.2.11",
"find-up": "^6.3.0",
"ini": "^3.0.0",
"prompts": "^2.4.2",
"release-it": "^15.1.0",
"rimraf": "^3.0.2",
"terminal-link": "^3.0.0",
"typescript": "^4.6.4",
"unbuild": "^0.7.4",
"vitest": "^0.10.0",
"which": "^2.0.2"
},
"eslintConfig": {
"extends": "@antfu"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"**/*.{jsx,ts,tsx}": "npm run lint"
}
}