Skip to content

Commit

Permalink
fix: scripts section gets removed from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Sep 23, 2018
1 parent 111b378 commit ea65ec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
'clean': 'if exist dist rmdir dist /s /q',
'compile': 'tsc -p server/tsconfig.json',
'copy-assets': 'copy server\\package.json dist\\server\\package.json && (robocopy server\\assets dist\\server\\assets /e || echo 0)',
'install-node-modules': 'cd dist\\electron && yarn',
'install-node-modules': 'cd dist\\server && yarn',
'copy-frontend': 'robocopy dist\\apps\\angular-console dist\\server\\src\\public /e || echo 0',
'pack': 'electron-builder --win --dir -p never',
'copy-to-osbuilds': 'robocopy dist\\packages osbuilds\\win /e || echo 0',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"productName": "Angular Console",
"copyright": "Copyright © 2018 Narwhal Technologies Inc",
"asar": false,
"removePackageScripts": false,
"directories": {
"app": "dist/server",
"buildResources": "dist/server/assets/icons/build",
Expand Down

0 comments on commit ea65ec7

Please sign in to comment.