Upgrading to laravel mix with default files
Showing
{ | { | ||
"private": true, | "private": true, | ||
"scripts": { | "scripts": { | ||
"prod": "gulp --production", | "dev": "npm run development", | ||
"dev": "gulp watch" | "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": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |||
"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 --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"gulp": "^3.9.1", | "axios": "^0.16.2", | ||
"laravel-elixir": "^5.0.0", | "bootstrap-sass": "^3.3.7", | ||
"bootstrap-sass": "^3.0.0" | "cross-env": "^5.0.1", | ||
"jquery": "^3.1.1", | |||
"laravel-mix": "^1.0", | |||
"lodash": "^4.17.4", | |||
"vue": "^2.1.10" | |||
} | } | ||
} | } |
resources/assets/js/app.js
0 → 100755
resources/assets/sass/app.scss
100644 → 100755
gulpfile.js
→
webpack.mix.js
100644 → 100755
Please register or sign in to comment