Combine the package.json. You really dont have any other choice...
Im sure somewhere there is a cool tool to do it for you, but worst case you just manually merge the two files into a super awesome cool file... then run npm install
nodE_models means nothings, they will get a fresh copy installed.
They don't have to be compiled. All merge does is exactly what it says...merges 2 or more files into a single file. Like I take all of my vendor css files and merge them into a single vendor.css file.
You may misunderstood me. I mean one of this is laravel package.json and the other is templates package.json . I added on stackoverflow and it has a snapshot of the app directory of template. Please check it out there.