Analyze: colors, typography, spacing, clusters Diff: diff_create (tree diff), diff_show (preview changes) Utility: get_components, get_current_page, arrange, node_to_component Split schema.ts (2600 lines) into read, create, modify, structure, variables, vector, analyze, registry — each under 600 lines. Clean up inline types (use Color, Vector, SceneNode from existing defs). Update AGENTS.md and CONTRIBUTING.md with code quality guidelines.
44 lines
973 B
JSON
44 lines
973 B
JSON
{
|
|
"name": "@open-pencil/core",
|
|
"version": "0.7.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"bun": "./src/index.ts",
|
|
"node": "./dist/index.js",
|
|
"default": "./src/index.ts"
|
|
}
|
|
},
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.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",
|
|
"diff": "^8.0.3",
|
|
"fflate": "^0.8.2",
|
|
"fzstd": "^0.1.1",
|
|
"yoga-layout": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/culori": "^4.0.1",
|
|
"@types/diff": "^8.0.0",
|
|
"typescript": "~5.8.3"
|
|
}
|
|
}
|