fix: updated build to include a shebang
This commit is contained in:
14
package.json
14
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "browser-scripts-builder",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "",
|
||||
"main": "./lib/main.js",
|
||||
"module": "./lib/main.js",
|
||||
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"prettier": "prettier --write .",
|
||||
"build": "npm run prettier && tsc",
|
||||
"build": "npm run prettier && tsc && echo \"#!/usr/bin/env node\n$(cat lib/build.js)\" > lib/build.js",
|
||||
"test": "node ./test/test.mjs"
|
||||
},
|
||||
"repository": {
|
||||
@@ -19,15 +19,15 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"command-line-args": "^5.2.1",
|
||||
"esbuild": "^0.14.54",
|
||||
"prettier": "^2.8.4",
|
||||
"typescript": "^4.9.5"
|
||||
"command-line-args": "^5.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/command-line-args": "^5.2.0",
|
||||
"@types/node": "^17.0.45",
|
||||
"@types/prettier": "^2.7.2",
|
||||
"eslint": "^8.33.0"
|
||||
"eslint": "^8.33.0",
|
||||
"esbuild": "^0.14.54",
|
||||
"prettier": "^2.8.4",
|
||||
"typescript": "^4.9.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user