mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Separate scripts for building and watching in development
With this, a dev can more easily understand intent of different scripts, and choose the most fitting one for his use-case. Eg. "build:dev:watch" is very fast to start, when the dev knows that everything is already properly built. Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
parent
74e027c2c8
commit
c685c1f340
@ -17,8 +17,11 @@
|
|||||||
"build:docs": "lerna run --stream build:docs",
|
"build:docs": "lerna run --stream build:docs",
|
||||||
"clean": "lerna run clean --stream",
|
"clean": "lerna run clean --stream",
|
||||||
"clean:node_modules": "lerna clean -y && rimraf node_modules",
|
"clean:node_modules": "lerna clean -y && rimraf node_modules",
|
||||||
"dev": "cross-env NODE_ENV=development lerna watch -- lerna run build --stream --scope \\$LERNA_PACKAGE_NAME",
|
"build:dev": "cross-env NODE_ENV=development lerna run build --stream",
|
||||||
"start-dev": "lerna run dev:main,dev:renderer,dev-run --stream --scope open-lens",
|
"build:dev:watch": "cross-env NODE_ENV=development lerna watch -- lerna run build --stream --scope \\$LERNA_PACKAGE_NAME",
|
||||||
|
"start-dev-application": "cross-env NODE_ENV=development lerna run dev:main,dev:renderer,dev-run --stream --scope open-lens",
|
||||||
|
"dev": "npm run build:dev && npm run build:dev:watch",
|
||||||
|
"start-dev": "npm run start-dev-application",
|
||||||
"postinstall": "linkable",
|
"postinstall": "linkable",
|
||||||
"lint": "lerna run lint --stream --no-bail",
|
"lint": "lerna run lint --stream --no-bail",
|
||||||
"lint:fix": "lerna run lint:fix --stream",
|
"lint:fix": "lerna run lint:fix --stream",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user