Musharraf's avatar

Laravel 5.3 Package.json file modification

I'm new to Laravel need to know few things, In Package.json file of Laravel 5.3 there are few dependencies which i don't want to install and i also don't know what are these for " lodash " " laravel-elixir-webpack-official " "laravel-elixir-vue" "vue": "^1.0.26", "vue-resource": "^0.9.3" "jquery": "^3.1.0", "bootstrap-sass": "^3.3.7" if i remove these, will it affect any other thing in my Laravel project? or will i have to remove something in some other file too ? Actually i just wanna use elixir so i don't know if some of these dependencies are linked to elixir kindly guide me

0 likes
3 replies
Hesto's avatar
Hesto
Best Answer
Level 5

@Musharraf package.json is npm's file. Its like composer.json for composer. If you will use

npm install 

packages will be installed in you project. As default in /resources/assets/js/app.js and /resources/assets/sass/app.scss packages are included and then compiled by gulp. If you dont want to use them just delete them from paths above and include what you want.

Fawwad's avatar

i am using window and npm install this command not working can any one help me

Please or to participate in this conversation.