标记脚本没有pakage.json

时间:2018-09-03 12:35:13

标签: node.js package electron node-webkit nwjs

{
  "name": "nwjs-sdk-v0.32.3-win-x64",
  "version": "1.0.0",
  "description": "",
  "node-main": "./app.js",
  "main": "http://localhost:3000",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "node ./app.js"
  },
  "dependencies": {
    "cookie-parser": "~1.4.3",
    "debug": "~2.6.9",
    "ejs": "~2.5.7",
    "express": "~4.16.0",
    "http-errors": "~1.6.2",
    "morgan": "~1.9.0"
  }
}

tenho esse package.json queria执行者que estiver dentro de脚本autoamente ao abrir o NW.JS ou electronic ouatésmesmo ainiciar o servidor

0 个答案:

没有答案