nodejs 增加 npm start - xd21303/Notebook GitHub Wiki

修改package.json文件 找到scripts,增加start的内容,就可以npm start了。

  "scripts": {
    "dev": "webpack-dev-server --config webpack.dev.js",
    "start": "webpack-dev-server --config webpack.dev.js",
    "build": "webpack --config ./webpack.prod.js -p",
    "test": "jest --coverage",
    "prepare": "npm run build"
  }