my-awesome-npm-package-with-bunjs
Version:
To install dependencies:
66 lines (65 loc) • 2.59 kB
JSON
{
"name": "my-awesome-npm-package-with-bunjs",
"module": "src/index.ts",
"type": "module",
"version": "5.0.2",
"files": [
"dist/"
],
"keywords": [
"bunjs",
"npm-package"
],
"homepage": "https://github.com/codeBelt/my-awesome-npm-package-with-bunjs#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/codeBelt/my-awesome-npm-package-with-bunjs.git"
},
"bugs": {
"url": "https://github.com/codeBelt/my-awesome-npm-package-with-bunjs/issues"
},
"scripts": {
"---------- Login ------------------------------------------------------": "",
"login": "bunx npm login",
"whoami": "bun pm whoami",
"---------- Dev --------------------------------------------------------": "",
"build": "bun build ./src/index.ts --outdir ./dist --format esm && bun build ./src/index.ts --outdir ./dist --format cjs",
"prebuild": "bun run checkall",
"build:watch": "bun build ./src/index.ts --outdir ./dist --format esm --watch",
"link": "bun link",
"unlink": "bun unlink",
"---------- Version ----------------------------------------------------": "",
"version:patch": "bunx bumpp patch --no-push",
"version:minor": "bunx bumpp minor --no-push",
"version:major": "bunx bumpp major --no-push",
"version:beta": "bunx bumpp preminor --preid beta --no-push",
"version:alpha": "bunx bumpp preminor --preid alpha --no-push",
"version:rc": "bunx bumpp preminor --preid rc --no-push",
"---------- Publish ----------------------------------------------------": "",
"dryRun": "bunx np --preview",
"npmPublish": "bun publish",
"prepublishOnly": "bun run build",
"release": "bunx np",
"---------- Lint -------------------------------------------------------": "",
"lint": "bunx --bun biome format",
"lint:fix": "bunx --bun biome format --write",
"ts": "tsc --noEmit",
"ts:watch": "npm run ts -- --watch",
"---------- Test -------------------------------------------------------": "",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"---------- Helper -----------------------------------------------------": "",
"checkall": "bun run lint:fix && bun run test && bun run ts",
"deps": "bunx npm-upgrade && bun install",
"deps:outdated": "bun outdated",
"-----------------------------------------------------------------------": ""
},
"devDependencies": {
"@biomejs/biome": "2.1.2",
"@types/bun": "1.2.19"
},
"peerDependencies": {
"typescript": "5.8.3"
}
}