add a prebuild for svgcanvas (#866)

fix the netlify build
master
JFH 2022-12-13 01:27:27 +01:00 committed by GitHub
parent 0417618156
commit 59148d467e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

2
package-lock.json generated
View File

@ -67,7 +67,7 @@
"start-server-and-test": "1.15.2"
},
"engines": {
"node": ">=10"
"node": ">=16"
}
},
"node_modules/@ampproject/remapping": {

View File

@ -10,7 +10,7 @@
"test": "test"
},
"engines": {
"node": ">=10"
"node": ">=16"
},
"workspaces": [
"packages/svgcanvas"
@ -18,6 +18,7 @@
"scripts": {
"lint": "standard .",
"test": "NODE_ENV=test start-server-and-test start http://localhost:8000/src/editor/index.html cypress:run",
"prebuild": "npm run build --workspace=packages/svgcanvas",
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"start": "web-dev-server --app-index src/editor/index.html --node-resolve",