remove the canvas dependency (transitive dep of jsdom) in postinstall

This commit is contained in:
zadam
2022-05-22 13:45:49 +02:00
parent 81fd7397e4
commit 13ccd2ba67
2 changed files with 65 additions and 489 deletions

View File

@@ -21,7 +21,8 @@
"webpack": "npx webpack -c webpack-desktop.config.js && npx webpack -c webpack-mobile.config.js && npx webpack -c webpack-setup.config.js",
"test": "jasmine",
"test-es6": "node -r esm spec-es6/attribute_parser.spec.js ",
"test-all": "npm run test && npm run test-es6"
"test-all": "npm run test && npm run test-es6",
"postinstall": "rimraf ./node_modules/canvas"
},
"dependencies": {
"@excalidraw/excalidraw": "0.11.0",