phpdie
Version:
|| DIE('reason') Throws an error like PHP 's `OR DIE('REASON')`, Simple error throwing in a functional dev style.
75 lines (74 loc) • 1.75 kB
JSON
{
"name": "phpdie",
"version": "1.7.0",
"description": "|| DIE('reason') Throws an error like PHP 's `OR DIE('REASON')`, Simple error throwing in a functional dev style.",
"keywords": [
"throw",
"error",
"die",
"functional",
"php",
"pipe",
"or die",
"@snomiao/die"
],
"license": "MIT",
"author": "snomiao <snomiao@gmail.com>",
"type": "module",
"exports": {
"import": "./dist/index.js",
"types": "./index.ts"
},
"main": "dist/index.js",
"module": "index.ts",
"types": "./index.ts",
"files": [
"dist",
"*.ts"
],
"scripts": {
"build": "bun build index.ts --outdir=dist",
"prerelease": "bun run build && bun run test",
"release": "bunx standard-version && git push --follow-tags && npm publish",
"test": "bun test",
"prepare": "husky"
},
"devDependencies": {
"@amanda-mitchell/semantic-release-npm-multiple": "^3.16.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.1.0",
"@types/bun": "^1.2.18",
"@types/jest": "^29.5.12",
"husky": "^9.1.7",
"semantic-release": "^24.2.1",
"typescript": "^5.0.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"expect-type": "^0.19.0"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/changelog",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"publishCmd": "npm pkg set name=@snomiao/die"
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
}
}