mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-16 15:22:01 +03:00
4641bc422b
Related to https://github.com/toeverything/blocksuite/pull/6156 ### Change Move the edgeless templates to AFFiNE. All templates are stored as zip files. Run `node build-edgeless.mjs` in `@affine/templates` to generate JSON-format templates and importing script. The template will be generated automatically during building and dev (`yarn dev`).
18 lines
356 B
JSON
18 lines
356 B
JSON
{
|
|
"name": "@affine/templates",
|
|
"private": true,
|
|
"sideEffect": false,
|
|
"version": "0.12.0",
|
|
"scripts": {
|
|
"postinstall": "node ./build.mjs && node ./build-edgeless.mjs"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./templates.gen.ts",
|
|
"./edgeless": "./edgeless-templates.gen.ts"
|
|
},
|
|
"devDependencies": {
|
|
"jszip": "^3.10.1"
|
|
}
|
|
}
|