webpack-defaults
webpack-defaults copied to clipboard
fix: win32 install - no package.json default command created under scripts on win10 x64
I have added a postinstall hook to package.json --> lib/postinstall-win32.js
The script checks if we are on windows, if yes, it checks if the default command is already present in package.json, if not it create the command.
This PR contains a:
- [ x] bugfix
- [ ] new feature
- [ ] code refactor
- [x ] test update
- [ ] typo fix
- [ ] metadata update
Motivation / Use-Case
Solves issue 181
Breaking Changes
no