1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix npx/npm6 buggy behaviour

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2022-03-08 13:01:34 +02:00
parent 621dcd8f67
commit 817678445f
4 changed files with 15 additions and 11 deletions

View File

@ -8,8 +8,9 @@
"styles": []
},
"scripts": {
"build": "npx webpack && npm pack",
"dev": "npx webpack --watch",
"build": "npm run webpack && npm pack",
"dev": "npm run webpack -- --watch",
"webpack": "../../node_modules/.bin/webpack",
"test": "echo NO TESTS"
},
"files": [

View File

@ -8,9 +8,10 @@
"styles": []
},
"scripts": {
"build": "npx webpack && npm pack",
"dev": "npx webpack --watch",
"test": "npx jest --passWithNoTests --env=jsdom src $@",
"build": "npm run webpack && npm pack",
"dev": "npm run webpack -- --watch",
"webpack": "../../node_modules/.bin/webpack",
"test": "../../node_modules/.bin/jest --passWithNoTests --env=jsdom src $@",
"clean": "rm -rf dist/ && rm *.tgz"
},
"files": [

View File

@ -8,9 +8,10 @@
"styles": []
},
"scripts": {
"build": "npx webpack && npm pack",
"dev": "npx webpack --watch",
"test": "npx jest --passWithNoTests --env=jsdom src $@"
"build": "npm run webpack && npm pack",
"dev": "npm run webpack -- --watch",
"webpack": "../../node_modules/.bin/webpack",
"test": "../../node_modules/.bin/jest --passWithNoTests --env=jsdom src $@"
},
"files": [
"dist/**/*"

View File

@ -8,9 +8,10 @@
"styles": []
},
"scripts": {
"build": "npx webpack && npm pack",
"dev": "npx webpack --watch",
"test": "npx jest --passWithNoTests --env=jsdom src $@"
"build": "npm run webpack && npm pack",
"dev": "npm run webpack -- --watch",
"webpack": "../../node_modules/.bin/webpack",
"test": "../../node_modules/.bin/jest --passWithNoTests --env=jsdom src $@"
},
"files": [
"dist/**/*"