Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.37 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 1.37 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
{
"name": "@aricart/cobra",
"version": "0.2.1-0",
"description": "A lightweight, type-safe CLI framework for Node.js, Deno and Bun, inspired by Go's cobra",
"files": [
"lib/",
"LICENSE",
"README.md"
],
"sideEffects": false,
"types": "./lib/mod.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm/mod.d.ts",
"default": "./lib/esm/mod.js"
},
"require": {
"types": "./lib/mod.d.ts",
"default": "./lib/mod.js"
}
},
"./package.json": "./package.json"
},
"engines": {
"node": ">= 22"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/aricart/cobra.js.git"
},
"private": false,
"scripts": {
"clean": "shx rm -Rf ./lib",
"build-cjs": "npm run clean && tsc",
"build-esm": "tsc -p tsconfig.esm.json && node -e \"require('fs').writeFileSync('lib/esm/package.json', JSON.stringify({type: 'module', sideEffects: false}) + '\\n')\"",
"build": "npm run build-cjs && npm run build-esm",
"prepack": "npm run build",
"test": "node tests/node_test.mjs && node tests/node_test.cjs"
},
"keywords": [
"cli",
"cobra",
"command",
"flags",
"deno",
"node",
"bun"
],
"author": "Alberto Ricart",
"devDependencies": {
"@types/node": "^25.6.1",
"shx": "^0.4.0",
"typescript": "^5.9.2"
}
}