Created
November 7, 2019 13:17
-
-
Save wholypantalones/943cc3697da3a171f576277c221001d8 to your computer and use it in GitHub Desktop.
Angular Universal package.json scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"ng": "ng", | |
"start": "npm run noreload", | |
"build": "ng build --prod", | |
"test": "ng test", | |
"lint": "ng lint", | |
"lint-fix": "ng lint --fix", | |
"e2e": "ng e2e", | |
"update": "ng update --all", | |
"noreload": "ng serve --live-reload false", | |
"fix:modules": "rm -rf node_modules && rm -rf package-lock.json && npm i && npm rebuild node-sass", | |
"update:submodules": "npm run update:node-express && npm run update:components", | |
"update:components": "cd submodules && git stash && git pull origin master && cd ../", | |
"update:node-express": "cd node-express && git stash && git pull origin master && cd ../", | |
"clone:submodules": "git submodule update --init --recursive", | |
"compile:server": "webpack --config webpack.server.config.js --progress --colors", | |
"serve:ssr": "node dist/server", | |
"build:ssr": "npm run build:client-and-server-bundles && npm run compile:server", | |
"build:client-and-server-bundles": "ng build --prod && ng run ppsg:server --bundleDependencies all", | |
"run": "npm run build:ssr && npm run serve:ssr", | |
"dev": "ng run ppsg:build:dev", | |
"backend": "ng run ppsg:server && npm run compile:server && node dist/server", | |
"dev:server": "nodemon -L --ignore dist/ -e js,json,ts,html,css,scss --delay 1000ms --exec \"npm run backend\"" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment