-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
104 lines (104 loc) · 2.8 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
{
"name": "bandersnatch",
"version": "2.0.0",
"description": "Simple TypeScript CLI / REPL framework",
"keywords": [
"cli",
"args",
"argv",
"parser",
"terminal",
"console",
"program",
"command",
"argument",
"option"
],
"repository": "github:hongaar/bandersnatch",
"license": "MIT",
"author": "Joram van den Boezem <[email protected]>",
"sideEffects": false,
"type": "module",
"exports": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"main": "dist/cjs/index.cjs",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "yarn clean && yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir dist/cjs && yarn convert-extension cjs dist/cjs/ && rm dist/cjs/*.map",
"build:esm": "tsc --project tsconfig.build.json --module es6 --outDir dist/esm",
"clean": "rm -rf dist",
"doctoc": "doctoc README.md",
"format": "yarn format:code && yarn format:toc && yarn format:todos",
"format:check": "prettier --check --ignore-unknown .",
"format:code": "prettier --write --ignore-unknown .",
"format:toc": "doctoc README.md",
"format:todos": "leasot --exit-nicely --reporter markdown --ignore \"**/node_modules\" \"**/*.ts\" > TODO.md",
"release": "semantic-release",
"start": "node --loader ts-node/esm",
"test": "yarn test:unit && yarn test:types && yarn test:smoke",
"test:smoke": "./tests/smoke/run.sh",
"test:types": "tsd",
"test:unit": "jest",
"watch:cjs": "yarn build:cjs --watch",
"watch:esm": "yarn build:esm --watch"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"dependencies": {
"@types/yargs": "17.0.32",
"enquirer": "^2.3.6",
"string-argv": "^0.3.1",
"typed-emitter": "^2.1.0",
"yargs": "^17.5.1"
},
"devDependencies": {
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"convert-extension": "0.3.0",
"doctoc": "2.2.1",
"husky": "9.0.11",
"jest": "29.7.0",
"leasot": "13.3.0",
"lint-staged": "15.2.2",
"mock-argv": "2.0.8",
"prettier": "3.2.5",
"semantic-release": "23.0.8",
"semantic-release-yarn": "3.0.2",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"tsd": "0.31.0",
"typescript": "5.4.5"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
},
"moker": {
"plugins": [
"typescript",
"github-actions",
"todos",
"doctoc",
"husky",
"jest",
"lint-staged",
"prettier",
"semantic-release",
"dependabot",
"devcontainer"
]
},
"tsd": {
"directory": "tests/types"
}
}