openpencil/packages/core/package.json
Danila Poyarkov 8fea6c086d Bump all packages to 0.4.0, fix Node.js ESM compatibility
- tsgo + fix-esm-import-path for .js extensions in dist/
- Core exports: bun condition → src, import → dist
- MCP depends on core ^0.4.0
2026-03-02 14:59:59 +03:00

41 lines
896 B
JSON

{
"name": "@open-pencil/core",
"version": "0.4.0",
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"bun": "./src/index.ts",
"import": "./dist/index.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["src", "dist"],
"scripts": {
"build": "bunx tsgo && bunx fix-esm-import-path dist",
"prepublishOnly": "bun run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-pencil/open-pencil.git",
"directory": "packages/core"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"dependencies": {
"canvaskit-wasm": "^0.40.0",
"culori": "^4.0.2",
"fflate": "^0.8.2",
"fzstd": "^0.1.1",
"yoga-layout": "^3.2.1"
},
"devDependencies": {
"@types/culori": "^4.0.1",
"typescript": "~5.8.3"
}
}