-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚙️ Chore(enviroment): prepare package to npm, change git issue templa…
…tes and update packages
- Loading branch information
1 parent
eb1528e
commit 688883c
Showing
7 changed files
with
656 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,19 @@ | |
"name": "oh-my-error", | ||
"version": "0.1.1", | ||
"description": "A simple error handler for nodejs", | ||
"keywords": [ | ||
"error", | ||
"handler", | ||
"nodejs", | ||
"typescript" | ||
], | ||
"homepage": "https://github.com/INeedJobToStartWork/MyError#readme", | ||
"bugs": "https://github.com/INeedJobToStartWork/MyError/issues/new/choose", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/INeedJobToStartWork/MyError" | ||
}, | ||
"license": "MIT", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
|
@@ -24,21 +33,14 @@ | |
"dev": "pnpm tsup --config ./config/tsuprc/tsup.dev.ts", | ||
"format": "pnpm prettier . --write && pnpm prettier . --check", | ||
"preinstall": "husky install", | ||
"link-cli": "pnpm unlink --global && pnpm link --global", | ||
"link-cli:dev": "cd lib && pnpm unlink --global && pnpm link --global", | ||
"link-cli:prod": "cd dist && pnpm unlink --global && pnpm link --global", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"npm:postpack": "clean-package restore", | ||
"npm:prepack": "clean-package", | ||
"npm:publish": "npm publish", | ||
"pre": "npx lint-staged", | ||
"pre:husky": "git add . && npx lint-staged", | ||
"start": "node ./dist/index.cjs", | ||
"test": "pnpm vitest", | ||
"unlink-cli": "cd lib && pnpm unlink --global", | ||
"unlink-cli:dev": "cd lib && pnpm unlink --global", | ||
"unlink-cli:prod": "cd dist && pnpm unlink --global" | ||
"test": "pnpm vitest" | ||
}, | ||
"lint-staged": { | ||
"*": [ | ||
|
@@ -50,25 +52,25 @@ | |
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
"@stylistic/eslint-plugin": "^1.6.0", | ||
"@types/node": "^20.11.16", | ||
"@stylistic/eslint-plugin": "^1.6.3", | ||
"@types/node": "^20.11.24", | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"clean-package": "^2.2.0", | ||
"commitsmile": "^0.5.0", | ||
"esbuild-plugin-copy": "^2.1.1", | ||
"eslint-plugin-optimize-regex": "^1.2.1", | ||
"eslint-plugin-pii": "^1.0.2", | ||
"eslint-plugin-security": "^2.1.0", | ||
"eslint-plugin-security": "^2.1.1", | ||
"eslint-plugin-sort-keys-fix": "^1.1.2", | ||
"gen-esm-wrapper": "^1.1.3", | ||
"globals": "^13.24.0", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^15.2.2", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-packagejson": "^2.4.10", | ||
"prettier-plugin-packagejson": "^2.4.12", | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.2.2" | ||
"vitest": "^1.3.1" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
Oops, something went wrong.