-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.3 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
{
"name": "ts-cli",
"version": "1.1.0",
"description": "Show how to use EcmaScript Modules (ESM) for a TypeScript CLI",
"exports": "./index.js",
"scripts": {
"build": "npx tsc",
"clean": "rm -rf dist",
"test": "npm run build && mocha --require ts-node/register test/**/*.*ts",
"test-only": "mocha --require ts-node/register test/**/*.*ts",
"start": "npm run build && node dist/src/index.js",
"test-log": "NODE_DEBUG=* mocha --require ts-node/register test/**/*.*ts",
"age": "node dist/src/index.js age",
"ask": "node dist/src/index.js ask",
"calc": "node dist/src/index.js -o",
"hello": "node dist/src/index.js hello",
"ts-cli-install": "npm run build && npm install -g",
"ts-cli-uninstall": "npm uninstall -g ts-cli",
"ts-cli-check": "ts-cli hello Globally Installed CLI in TypeScript"
},
"bin": {
"ts-cli": "./dist/src/index.js"
},
"type": "module",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/chai": "^4.3.6",
"@types/mocha": "^10.0.1",
"@types/node": "^20.6.1",
"chai": "^4.3.8",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"axios": "^1.5.0",
"chalk": "^5.3.0",
"commander": "^11.0.0",
"npm-check-updates": "^16.14.3"
}
}