Skip to content

Commit

Permalink
add new way of running npm command with laravel-mix 6
Browse files Browse the repository at this point in the history
  • Loading branch information
girardinsamuel committed Oct 18, 2020
1 parent a1710bf commit c9f7d9e
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"axios": "^0.19",
"cross-env": "^5.1",
"laravel-mix": "^4.0.7",
"lodash": "^4.17.13",
"resolve-url-loader": "^2.3.1",
"sass": "^1.15.2",
"sass-loader": "^7.1.0"
}
"private": true,
"scripts": {
"dev": "npx mix",
"development": "npx mix",
"watch": "npx mix watch",
"hot": "npx mix hot",
"prod": "npx mix --production",
"production": "npx mix --production"
},
"devDependencies": {
"axios": "^0.19",
"cross-env": "^5.1",
"laravel-mix": "^4.0.7",
"lodash": "^4.17.13",
"resolve-url-loader": "^2.3.1",
"sass": "^1.15.2",
"sass-loader": "^7.1.0"
}
}

0 comments on commit c9f7d9e

Please sign in to comment.