-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
85 lines (85 loc) · 2.34 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
{
"name": "bandersnatch",
"description": "Simple TypeScript CLI / REPL framework",
"version": "1.10.2",
"repository": {
"type": "git",
"url": "https://github.com/hongaar/bandersnatch.git"
},
"keywords": [
"cli",
"args",
"argv",
"parser",
"terminal",
"console",
"program",
"command",
"argument",
"option"
],
"author": "",
"license": "MIT",
"engines": {
"node": ">=12"
},
"sideEffects": false,
"files": [
"lib"
],
"main": "./lib/cjs/index.cjs",
"exports": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.cjs"
},
"type": "module",
"types": "./lib/types/index.d.ts",
"scripts": {
"prepublishOnly": "yarn build",
"build": "rm -rf lib && yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir lib/cjs && yarn convert-extension cjs lib/cjs/ && rm lib/cjs/*.map",
"build:esm": "tsc --project tsconfig.build.json --module es6 --outDir lib/esm",
"watch:cjs": "yarn build:cjs --watch",
"watch:esm": "yarn build:esm --watch",
"format": "yarn format:code && yarn format:toc && yarn format:todos",
"format:code": "prettier --write \"src/**/*\"",
"format:toc": "doctoc README.md",
"format:todos": "leasot --exit-nicely --reporter markdown --ignore \"**/node_modules\" \"**/*.ts\" > TODO.md",
"test": "yarn test:unit && yarn test:types && yarn test:smoke",
"test:unit": "jest",
"test:types": "tsd",
"test:smoke": "./tests/smoke/run.sh",
"start": "node --loader ts-node/esm",
"release": "semantic-release"
},
"dependencies": {
"@types/yargs": "17.0.10",
"enquirer": "^2.3.6",
"string-argv": "^0.3.1",
"typed-emitter": "^2.1.0",
"yargs": "^17.5.1"
},
"devDependencies": {
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
"@types/jest": "27.5.1",
"@types/node": "17.0.33",
"convert-extension": "0.3.0",
"doctoc": "2.2.0",
"husky": "8.0.1",
"jest": "28.1.0",
"leasot": "13.1.0",
"mock-argv": "2.0.8",
"prettier": "2.6.2",
"semantic-release": "19.0.2",
"ts-jest": "28.0.2",
"ts-node": "10.7.0",
"tsd": "0.20.0",
"typescript": "4.6.4"
},
"tsd": {
"directory": "tests/types"
},
"packageManager": "yarn@3.2.0"
}