Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.53 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.53 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
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
{
"name": "tsdraft",
"version": "0.6.0",
"description": "2D CAD drawings as TypeScript: write the drawing in code, export DXF, plot sheets to PDF, read DXF, and preview it live with the tsdraft command.",
"keywords": [
"2d",
"cad",
"drafting",
"drawing",
"dxf",
"svg",
"typescript"
],
"homepage": "https://github.com/Surfside-Software/tsdraft#readme",
"bugs": {
"url": "https://github.com/Surfside-Software/tsdraft/issues"
},
"license": "MIT",
"author": "Stephen Frederick",
"repository": {
"type": "git",
"url": "git+https://github.com/Surfside-Software/tsdraft.git"
},
"bin": {
"tsdraft": "cli/dist/cli.js"
},
"files": [
"dist",
"cli/dist",
"cli/assets",
"GUIDE.md",
"CHANGELOG.md",
"standard.json",
"standard.schema.json"
],
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./standard.json": "./standard.json",
"./standard.schema.json": "./standard.schema.json"
},
"scripts": {
"clean": "node -e \"for (const dir of ['dist', 'cli/dist']) require('node:fs').rmSync(dir, { recursive: true, force: true })\"",
"build:lib": "tsc -p tsconfig.build.json",
"build": "pnpm clean && pnpm build:lib && tsc -p cli/tsconfig.build.json",
"prepack": "pnpm build",
"check": "pnpm build:lib && tsc --noEmit",
"check:tsrs": "tsrs --noEmit",
"lint": "oxlint",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"test": "pnpm build:lib && node --test test/*.test.ts cli/test/*.test.ts && node --test test/shape-sweep/*.test.ts",
"test:package": "node scripts/package-smoke.ts",
"example": "node examples/site-plan.ts && node examples/outdoor-kitchen.ts && node examples/plan-set/set.ts",
"readme:drawing": "node scripts/readme-drawing.ts",
"bench": "pnpm build:lib && node cli/scripts/bench.ts",
"bench:io": "node scripts/bench-io.ts",
"bench:read": "pnpm build:lib && node cli/scripts/bench-read.ts",
"standard:files": "node scripts/standard-files.ts",
"verify": "pnpm fmt:check && pnpm lint && pnpm check && pnpm test && pnpm test:package"
},
"devDependencies": {
"@oxlint/plugins": "1.93.0",
"@types/node": "^24.0.0",
"oxfmt": "0.77.0",
"oxlint": "1.93.0",
"tsrs": "0.23.0-ts7.1.0-beta",
"typescript": "7.0.2"
},
"optionalDependencies": {
"@resvg/resvg-js": "2.6.2"
},
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@12.18.0"
}