Skip to content

Commit f15eb58

Browse files
committed
added new command to the package.json
1 parent 34c506e commit f15eb58

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

dts-bundle-generator.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// eslint-disable-next-line @typescript-eslint/no-var-requires
2-
const packageJson = require("./package.json");
3-
41
const getPackageName = () => {
5-
return packageJson.name;
2+
return "imgproxy-node";
63
};
74

85
const config = {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"test:coverage": "vitest --coverage",
2020
"lint": "eslint . --ext .ts",
2121
"format": "prettier . --write",
22-
"prepare": "husky install && husky set .husky/pre-commit 'npx lint-staged' && git add .husky/pre-commit"
22+
"prepare": "husky install && husky set .husky/pre-commit 'npx lint-staged' && git add .husky/pre-commit",
23+
"publish-patch": "npm version patch && git push && npm run build && npm publish --access public"
2324
},
2425
"devDependencies": {
2526
"@types/jsdom": "^21.1.1",

0 commit comments

Comments
 (0)