Merge pull request #4151 from laravel/fix
Refactor npm scripts
Showing
{ | { | ||
"private": true, | "private": true, | ||
"scripts": { | "scripts": { | ||
"dev": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | "dev": "node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=$npm_package_config_webpack", | ||
"watch": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | "watch": "npm run dev -- -w", | ||
"hot": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", | "watch-poll": "npm run dev -- -w --watch-poll", | ||
"production": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" | "hot": "node node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=$npm_package_config_webpack", | ||
"production": "npm run dev -- -p" | |||
}, | |||
"config": { | |||
"webpack": "node_modules/laravel-mix/setup/webpack.config.js" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"axios": "^0.15.3", | "axios": "^0.15.3", | ||
... | ... |
Please register or sign in to comment