openpencil/packages/fig/package.json
Danila Poyarkov a10911c772 refactor(fig): extract NodeChange policy helpers
- Move style references, plugin metadata, text values, and font feature conversion into @open-pencil/fig\n- Add a public node-change subpath with package-local and packed smoke coverage\n- Keep core conversion callers on compatibility exports during the staged migration
2026-07-18 01:32:13 +03:00

57 lines
1.4 KiB
JSON

{
"name": "@open-pencil/fig",
"version": "0.13.2",
"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"
}
},
"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": {
"fflate": "^0.8.2"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"tsdown": "^0.22.3",
"typescript": "~5.8.3"
}
}