mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
only build sr when used (#4772)
This commit is contained in:
parent
29f530e19c
commit
70f8e7fbf9
@ -20,7 +20,7 @@
|
||||
"publish": "lerna publish from-package",
|
||||
"clean": "lerna run clean --parallel --stream && lerna clean --yes && rimraf node_modules **/*.tsbuildinfo",
|
||||
"test": "lerna run --stream --parallel test",
|
||||
"inso-start": "npm start --prefix packages/insomnia-inso",
|
||||
"inso-start": "npm run build:sr --prefix packages/insomnia && npm start --prefix packages/insomnia-inso",
|
||||
"inso-package": "npm run build:sr --prefix packages/insomnia && npm run package --prefix packages/insomnia-inso",
|
||||
"inso-package:artifacts": "npm run artifacts --prefix packages/insomnia-inso",
|
||||
"watch:app": "npm run build:main.min.js --prefix packages/insomnia && npm run start:dev-server --prefix packages/insomnia",
|
||||
|
@ -17,9 +17,8 @@
|
||||
"author": "Kong <office@konghq.com>",
|
||||
"main": "src/main.min.js",
|
||||
"scripts": {
|
||||
"bootstrap": "npm run build:sr",
|
||||
"prebuild": "npm run clean",
|
||||
"build": "npm run build:sr && npm run build:app",
|
||||
"build": "npm run build:app",
|
||||
"build:app": "esr --cache ./scripts/build.ts --noErrorTruncation",
|
||||
"build:main.min.js": "cross-env NODE_ENV=development esr esbuild.main.ts",
|
||||
"build:sr": "concurrently --names sr:source,sr:types \"npm run build:sr:source\" \"npm run build:sr:types\"",
|
||||
|
Loading…
Reference in New Issue
Block a user