adds setup mini qt script

This commit is contained in:
Atul R 2020-02-23 00:05:34 +01:00
parent 9ed075df68
commit b600b8eb9d
2 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@
"private": false,
"scripts": {
"dev": "cross-env npm run build && qode dist/demo.js",
"preinstall": "node ./scripts/preinstall.js",
"build": "cross-env tsc && npm run build:addon",
"postinstall": "cross-env node ./scripts/skip.js || npm run prebuild:install || npm run build:addon",
"postinstall": "cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)",
"setupqt": "node ./scripts/setupMiniQt.js",
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js build",
"prebuild:install": "prebuild-install --backend=cmake-js --runtime=napi --verbose",
"test": "qode ./node_modules/jest/bin/jest -i",