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": [] "styles": []
}, },
"scripts": { "scripts": {
"build": "npx webpack && npm pack", "build": "npm run webpack && npm pack",
"dev": "npx webpack --watch", "dev": "npm run webpack -- --watch",
"webpack": "../../node_modules/.bin/webpack",
"test": "echo NO TESTS" "test": "echo NO TESTS"
}, },
"files": [ "files": [

View File

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

View File

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

View File

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