Browse Source

feat: Listen to 0.0.0.0

master
Konstantinos Kamaropoulos 5 years ago
parent
commit
e745889b7d
  1. 2
      package.json

2
package.json

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"build": "npm run env -s && ng build --prod", "build": "npm run env -s && ng build --prod",
"start": "npm run env -s && ng serve --proxy-config proxy.conf.js", "start": "npm run env -s && ng serve --proxy-config proxy.conf.js --host 0.0.0.0",
"serve:sw": "npm run build -s && npx http-server ./dist -p 4200", "serve:sw": "npm run build -s && npx http-server ./dist -p 4200",
"lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc", "lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc",
"test": "npm run env -s && ng test", "test": "npm run env -s && ng test",

Loading…
Cancel
Save