-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 2.66 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 2.66 KB
Edit and raw actions
OlderNewer
1
{
2
"name": "jackspeak",
3
"version": "4.2.3",
4
"description": "A very strict and proper argument parser.",
5
"tshy": {
6
"main": true,
7
"exports": {
8
"./package.json": "./package.json",
9
".": "./src/index.js",
10
"./min": {
11
"import": {
12
"types": "./dist/esm/index.d.ts",
13
"default": "./dist/esm/index.min.js"
14
},
15
"require": {
16
"types": "./dist/commonjs/index.d.ts",
17
"default": "./dist/commonjs/index.min.js"
18
}
19
}
20
}
21
},
22
"main": "./dist/commonjs/index.js",
23
"types": "./dist/commonjs/index.d.ts",
24
"type": "module",
25
"exports": {
26
"./package.json": "./package.json",
27
".": {
28
"import": {
29
"types": "./dist/esm/index.d.ts",
30
"default": "./dist/esm/index.js"
31
},
32
"require": {
33
"types": "./dist/commonjs/index.d.ts",
34
"default": "./dist/commonjs/index.js"
35
}
36
},
37
"./min": {
38
"import": {
39
"types": "./dist/esm/index.d.ts",
40
"default": "./dist/esm/index.min.js"
41
},
42
"require": {
43
"types": "./dist/commonjs/index.d.ts",
44
"default": "./dist/commonjs/index.min.js"
45
}
46
}
47
},
48
"files": [
49
"dist"
50
],
51
"scripts": {
52
"build-examples": "for i in examples/*.js ; do node $i -h > ${i/.js/.txt}; done",
53
"preversion": "npm test",
54
"postversion": "npm publish",
55
"prepublishOnly": "git push origin --follow-tags",
56
"prepare": "tshy && bash build.sh",
57
"pretest": "npm run prepare",
58
"presnap": "npm run prepare",
59
"test": "tap",
60
"snap": "tap",
61
"format": "prettier --write . --log-level warn",
62
"typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
63
},
64
"license": "BlueOak-1.0.0",
65
"prettier": {
66
"experimentalTernaries": true,
67
"semi": false,
68
"printWidth": 75,
69
"tabWidth": 2,
70
"useTabs": false,
71
"singleQuote": true,
72
"jsxSingleQuote": false,
73
"bracketSameLine": true,
74
"arrowParens": "avoid",
75
"endOfLine": "lf"
76
},
77
"devDependencies": {
78
"@types/node": "^25.2.0",
79
"esbuild": "^0.27.3",
80
"prettier": "^3.3.3",
81
"tap": "^21.5.1",
82
"tshy": "^3.1.3",
83
"typedoc": "^0.28.16"
84
},
85
"dependencies": {
86
"@isaacs/cliui": "^9.0.0"
87
},
88
"engines": {
89
"node": "20 || >=22"
90
},
91
"funding": {
92
"url": "https://github.com/sponsors/isaacs"
93
},
94
"repository": {
95
"type": "git",
96
"url": "git+https://github.com/isaacs/jackspeak.git"
97
},
98
"keywords": [
99
"argument",
100
"parser",
101
"args",
102
"option",
103
"flag",
104
"cli",
105
"command",
106
"line",
107
"parse",
108
"parsing"
109
],
110
"author": "Isaac Z. Schlueter <i@izs.me>",
111
"tap": {
112
"typecheck": true
113
},
114
"module": "./dist/esm/index.js"
115
}