57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
|
|
{
|
||
|
|
"name": "@open-pencil/codegen",
|
||
|
|
"version": "0.15.1",
|
||
|
|
"license": "MIT",
|
||
|
|
"type": "module",
|
||
|
|
"description": "Syntax-tree code generation for OpenPencil exporters: JavaScript, TypeScript, and JSX built as ESTree and printed with esrap.",
|
||
|
|
"imports": {
|
||
|
|
"#codegen/*": {
|
||
|
|
"types": "./src/*",
|
||
|
|
"bun": "./src/*",
|
||
|
|
"default": "./dist/*"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"exports": {
|
||
|
|
".": {
|
||
|
|
"types": "./dist/index.d.ts",
|
||
|
|
"bun": "./src/index.ts",
|
||
|
|
"import": "./dist/index.js",
|
||
|
|
"default": "./dist/index.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"main": "./dist/index.js",
|
||
|
|
"types": "./dist/index.d.ts",
|
||
|
|
"sideEffects": false,
|
||
|
|
"files": [
|
||
|
|
"dist",
|
||
|
|
"src",
|
||
|
|
"README.md"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"build": "bunx tsdown --config tsdown.config.ts",
|
||
|
|
"check": "bun run typecheck && bun run build && bun run smoke:dist",
|
||
|
|
"prepack": "bun run build",
|
||
|
|
"smoke:dist": "bun scripts/smoke-dist.ts",
|
||
|
|
"typecheck": "bunx tsc --noEmit -p tsconfig.json"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@sveltejs/acorn-typescript": "^1.0.13",
|
||
|
|
"acorn": "^8.18.0",
|
||
|
|
"esrap": "^2.3.11"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/bun": "^1.3.14",
|
||
|
|
"tsdown": "^0.22.14",
|
||
|
|
"typescript": "~5.8.3"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/open-pencil/open-pencil.git",
|
||
|
|
"directory": "packages/codegen"
|
||
|
|
},
|
||
|
|
"publishConfig": {
|
||
|
|
"access": "public",
|
||
|
|
"provenance": true
|
||
|
|
}
|
||
|
|
}
|