-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.83 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.83 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
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
123
124
125
126
127
128
129
{
"name": "@halsp/cli",
"version": "0.5.13",
"description": "Halsp 的命令行脚手架工具",
"engines": {
"node": ">=16"
},
"homepage": "https://github.com/halsp/cli",
"repository": {
"type": "git",
"url": "https://github.com/halsp/cli"
},
"keywords": [
"halsp",
"cli",
"command"
],
"bugs": {
"url": "https://github.com/halsp/cli/issues",
"email": "support@hal.wang"
},
"type": "module",
"main": "./dist-cjs/index.cjs",
"module": "./dist-mjs/index.mjs",
"types": "./dist-mjs/index.d.ts",
"exports": {
".": {
"require": "./dist-cjs/index.cjs",
"import": "./dist-mjs/index.mjs",
"types": "./dist-mjs/index.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"patch-ts-node": "sh scripts/ts-node/add-shims.sh",
"unpatch-ts-node": "sh scripts/ts-node.sh scripts/ts-node/ts-node-unpatch.ts",
"build:mjs": "sh scripts/ts-node.sh src/main.ts build --tsconfigPath tsconfig.mjs.json --moduleType mjs --cleanDist",
"build:cjs": "sh scripts/ts-node.sh src/main.ts build --tsconfigPath tsconfig.cjs.json --moduleType cjs --cleanDist",
"build": "npm run build:mjs && npm run build:cjs",
"build:create-halsp": "sh scripts/ts-node.sh scripts/create-halsp.ts && npm run build",
"publish:beta": "npm run build && npm publish --tag=beta --access=public",
"test": "c8 mocha test test/**/*.test.ts",
"test:local": "c8 cross-env REGISTRY='https://registry.npmmirror.com/' mocha test test/**/*.test.ts",
"mocha": "c8 mocha test",
"mocha:local": "c8 cross-env REGISTRY='https://registry.npmmirror.com/' mocha test",
"ci-test": "sh scripts/ci-test.sh",
"lint": "eslint src --ext .ts",
"dev:link": "npm run build && npm uninstall @halsp/cli -g && npm link",
"prepare": "husky install && npm run patch-ts-node"
},
"author": "hal-wang",
"license": "MIT",
"dependencies": {
"@halsp/core": "^2.4.2",
"@halsp/inject": "^2.4.2",
"chalk": "^5.3.0",
"child_process": "^1.0.2",
"chokidar": "^3.6.0",
"commander": "^12.0.0",
"cross-spawn": "^7.0.3",
"dotenv": "^16.4.5",
"figlet": "^1.7.0",
"glob": "^10.3.12",
"ignore-walk": "^6.0.4",
"inquirer": "^9.2.19",
"lodash": "^4.17.21",
"npm-check-updates": "^16.14.18",
"prettier": "^3.2.5",
"reflect-metadata": "^0.2.2",
"tree-kill": "^1.2.2",
"typescript": "^5.4.5",
"update-notifier": "^7.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@types/chai": "^4.3.14",
"@types/chai-as-promised": "^7.1.8",
"@types/cross-spawn": "^6.0.6",
"@types/figlet": "^1.5.8",
"@types/glob": "^8.1.0",
"@types/ignore-walk": "^4.0.3",
"@types/inquirer": "^9.0.7",
"@types/lodash": "^4.17.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.7",
"@types/supertest": "^6.0.2",
"@types/update-notifier": "^6.0.8",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"c8": "^9.1.0",
"chai": "^5.1.0",
"chai-as-promised": "^7.1.1",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"esbuild-plugin-tsc": "^0.4.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"mocha": "^10.4.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.4",
"ts-node": "^10.9.2"
},
"bin": {
"halsp": "bin/cli.js"
},
"files": [
"/bin/**/*",
"/dist-cjs/**/*",
"/dist-mjs/**/*",
"/scaffold/**/*",
"/scaffold/.gitignore",
"/scripts/**/*",
"/src/**/*",
".eslintignore",
".eslintrc.cjs",
".gitignore",
".mocharc.json",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"LICENSE",
"package.json",
"README.md",
"tsconfig.base.json",
"tsconfig.json"
]
}