Skip to content

Commit

Permalink
Switch to new build procedure (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
dungwinux committed May 10, 2019
1 parent c3f6a31 commit b5f9923
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,11 @@
"main": "src/index.js",
"bin": "build/index.js",
"scripts": {
"build": "del-cli build/ && minify src/ -d build/",
"build": "ncc build -m src/index.js",
"start": "node src/index.js",
"test": "mocha",
"dev": "nodemon src/index.js",
"pkg": "npm run build && pkg -o dist/wafter ."
},
"pkg": {
"scripts": [
"build/*.js",
"build/**/*.js"
],
"assets": [
"public/**/*",
"public/*"
]
"pkg": "npm run build && nexe -i dist/index.js -o dist/wafter && upx dist/wafter"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -63,7 +53,8 @@
"del-cli": "^1.1.0",
"eslint": "^5.11.0",
"mocha": "^5.2.0",
"nodemon": "^1.18.9",
"pkg": "^4.3.7"
"ncc": "^0.3.6",
"nexe": "^3.2.0",
"nodemon": "^1.18.9"
}
}

0 comments on commit b5f9923

Please sign in to comment.