-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.54 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.54 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
{
"name": "jdh-cli",
"version": "0.0.1",
"description": "CLI for improving and enriching Jupytext-exported MyST Markdown articles.",
"license": "MIT",
"type": "module",
"bin": {
"jdh-cli": "./dist/jdh-cli.cjs"
},
"files": [
"dist",
"templates"
],
"scripts": {
"clean": "rm -rf dist",
"copy:version": "bun scripts/copy-version.ts",
"unlink": "bun unlink jdh-cli 2>/dev/null || true",
"link": "bun run unlink && bun link",
"compile": "tsc --noEmit",
"dev:build": "bun run copy:version && bun run copy:templates && bun build src/index.ts --outfile=dist/jdh-cli.cjs --target=node --format=cjs --sourcemap=inline --watch",
"dev": "bun run link && bun run dev:build",
"build:cli": "bun build src/index.ts --outfile=dist/jdh-cli.cjs --target=node --format=cjs --minify",
"build:watch": "bun run dev:build",
"build": "bun run clean && bun run copy:version && bun run copy:templates && bun run build:cli",
"copy:templates": "bun scripts/copy-templates.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "bun test",
"start": "bun src/index.ts",
"build:standalone": "bun run copy:version && bun build --compile src/index.ts --outfile dist/jdh-cli"
},
"dependencies": {
"commander": "^14.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/bun": "latest",
"@types/node": "^24.0.0",
"eslint": "^10.4.1",
"globals": "^17.6.0",
"typescript": "^5.8.0",
"typescript-eslint": "^8.60.1"
},
"engines": {
"node": ">=20 <25"
}
}