Remove unneeded cross-env

This commit is contained in:
Simon Edwards 2022-08-22 21:30:15 +02:00
parent 34c8f511d9
commit 95da509b83

View File

@ -14,18 +14,18 @@
"url": "https://github.com/sponsors/a7ul" "url": "https://github.com/sponsors/a7ul"
}, },
"scripts": { "scripts": {
"dev": "cross-env npm run build && node ./scripts/qode.js dist/demo.js", "dev": "npm run build && node ./scripts/qode.js dist/demo.js",
"build": "cross-env tsc && npm run build:addon", "build": "tsc && npm run build:addon",
"install": "cross-env npm run setupqt && (node ./scripts/skip.js || npm run setupbinary || npm run build:addon)", "install": "npm run setupqt && (node ./scripts/skip.js || npm run setupbinary || npm run build:addon)",
"setupqt": "cross-env node ./scripts/setupMiniQt.js", "setupqt": "node ./scripts/setupMiniQt.js",
"setupbinary": "cross-env node ./scripts/setupBinary.js", "setupbinary": "node ./scripts/setupBinary.js",
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile", "build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
"test": "node ./scripts/qode.js ./node_modules/jest/bin/jest -i", "test": "node ./scripts/qode.js ./node_modules/jest/bin/jest -i",
"lint:cpp": "cross-env clang-format -i --glob=src/cpp/**/*.[h,c]*", "lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
"lint:ts": "cross-env tsc --noEmit && cross-env eslint './src/**/*.{ts,tsx,js,jsx}' --fix", "lint:ts": "tsc --noEmit && eslint './src/**/*.{ts,tsx,js,jsx}' --fix",
"docs": "cross-env typedoc && node ./website/docs/scripts/fixdocs.js", "docs": "typedoc && node ./website/docs/scripts/fixdocs.js",
"qode": "cross-env node ./scripts/qode.js", "qode": "node ./scripts/qode.js",
"prepublishOnly": "cross-env npm run build" "prepublishOnly": "npm run build"
}, },
"engines": { "engines": {
"node": ">=14.x.x" "node": ">=14.x.x"