Skip to content

Latest commit

 

History

History
33 lines (31 loc) · 882 Bytes

File metadata and controls

33 lines (31 loc) · 882 Bytes

NPM Start for Offline app

  • Change package.json file as follows
  • Run App npm start
  • For angular
"scripts": {
    "ng": "ng",
    "start": "node node_modules/.bin/ng serve",
    "build": "node node_modules/.bin/ng build",
    "test": "node node_modules/.bin/ng test",
    "lint": "node node_modules/.bin/ng lint",
    "e2e": "node node_modules/.bin/ng e2e"
  }
  • For React
"scripts": {
    "start": "node node_modules/.bin/react-scripts start",
    "build": "node node_modules/.bin/react-scripts build",
    "test": "node node_modules/.bin/react-scripts test",
    "eject": "node node_modules/.bin/react-scripts eject"
  }
  • For Vue
"scripts": {
    "start": "node node_modules/.bin/vue-cli-service serve",
    "build": "node node_modules/.bin/vue-cli-service build",
    "lint": "node node_modules/.bin/vue-cli-service lint"
  }