Utilisation de NPX
This commit is contained in:
parent
a7e41949dc
commit
d446735450
1 changed files with 4 additions and 4 deletions
|
@ -5,13 +5,13 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./dist/bin/www",
|
"start": "node ./dist/bin/www",
|
||||||
"run:all": "npm-run-all build sass uglify start",
|
"run:all": "npm-run-all build sass uglify start",
|
||||||
"watch": "nodemon -e js,scss",
|
"watch": "npx nodemon -e js,scss",
|
||||||
"sass": "npx sass sass/index.scss public/css/main.css -s compressed --color",
|
"sass": "npx sass sass/index.scss public/css/main.css -s compressed --color",
|
||||||
"uglify": "npx gulp",
|
"uglify": "npx gulp",
|
||||||
"prebuild": "rimraf dist",
|
"prebuild": "rimraf dist",
|
||||||
"build": "babel ./src --out-dir dist --copy-files",
|
"build": "npx babel ./src --out-dir dist --copy-files",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"prepare": "husky install"
|
"prepare": "npx husky install"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "16.x",
|
"node": "16.x",
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
"vue": "^3.2.31"
|
"vue": "^3.2.31"
|
||||||
},
|
},
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
"exec": "yarn run:all",
|
"exec": "npm run run:all",
|
||||||
"watch": [
|
"watch": [
|
||||||
"src/*",
|
"src/*",
|
||||||
"sass/*",
|
"sass/*",
|
||||||
|
|
Loading…
Reference in a new issue