feat: add shebang

This commit is contained in:
Innei
2022-02-23 15:46:36 +08:00
parent 106e3184e5
commit a973fbb964
3 changed files with 4 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
"prebuild": "rimraf dist",
"build": "nest build",
"dev": "npm run start",
"bundle": "rimraf out && yarn run build && cd dist/src && npx ncc build main.js -o ../../out -m",
"bundle": "rimraf out && yarn run build && cd dist/src && npx ncc build main.js -o ../../out -m && cd ../.. && chmod +x out/index.js",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "cross-env NODE_ENV=development nest start -w --path tsconfig.json",
"start:dev": "nest build --webpack --webpackPath webpack-hmr.config.js --watch",