package.json (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
{
"name": "arg-parser",
"module": "src/index.ts",
"type": "module",
"packageManager": "bun@1.1.13^",
"devDependencies": {
"@types/bun": "latest",
"oxfmt": "^0.49.0",
"oxlint": "^1.64.0"
},
"peerDependencies": {
"typescript": "^5"
},
"files": [
"dist"
],
"exports": {
".": "./dist/index.js"
},
"scripts": {
"build:types": "tsc --emitDeclarationOnly",
"build:js": "bun build ./src/index.ts --outdir ./dist --minify --target bun",
"build": "bun run build:types && bun run build:js",
"prepublishOnly": "bun run build",
"fmt": "bunx oxfmt fmt src/",
"lint": "bunx oxlint lint src/"
}
}
|