Get npm run dev to work again

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-03-29 16:38:41 -04:00
1 parent a5d458bd97
commit bd3d05d049
28 files changed
+87 -62

No files matched your search

+5 -2
View File
@@ -5,7 +5,9 @@
"license": "MIT",
"scripts": {
"clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist"
"build": "swc ./src/index.ts -d ./dist",
"postbuild": "run-script-os",
"postbuild:nix": "chmod u+x ./dist/index.js"
},
"type": "module",
"bin": "./dist/index.js",
@@ -26,6 +28,7 @@
"@swc/core": "^1.3.37",
"@types/node": "^16.18.11",
"@types/semver": "^7.3.13",
"rimraf": "^4.1.2"
"rimraf": "^4.1.2",
"run-script-os": "^1.1.6"
}
}