64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "@open-pencil/fig",
|
|
"version": "0.14.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"bun": "./src/index.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./node-change": {
|
|
"types": "./dist/node-change.d.ts",
|
|
"bun": "./src/node-change/index.ts",
|
|
"import": "./dist/node-change.js",
|
|
"default": "./dist/node-change.js"
|
|
},
|
|
"./instance-overrides": {
|
|
"types": "./dist/instance-overrides.d.ts",
|
|
"bun": "./src/instance-overrides/index.ts",
|
|
"import": "./dist/instance-overrides.js",
|
|
"default": "./dist/instance-overrides.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "bunx tsdown --config tsdown.config.ts",
|
|
"check": "bun run typecheck && bun run test && bun run build && bun run smoke:dist",
|
|
"prepack": "bun run build",
|
|
"smoke:dist": "bun scripts/smoke-dist.ts",
|
|
"test": "bun test tests",
|
|
"typecheck": "bunx tsc --noEmit -p tsconfig.test.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/open-pencil/open-pencil.git",
|
|
"directory": "packages/fig"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"peerDependencies": {
|
|
"@open-pencil/kiwi": "workspace:*",
|
|
"@open-pencil/scene-graph": "workspace:*"
|
|
},
|
|
"dependencies": {
|
|
"es-toolkit": "^1.46.1",
|
|
"fflate": "^0.8.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.14",
|
|
"tsdown": "^0.22.3",
|
|
"typescript": "~5.8.3"
|
|
}
|
|
}
|