-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(commitzen): added commitzen and husky
- Loading branch information
Showing
4 changed files
with
1,669 additions
and
531 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
exec < /dev/tty && git cz --hook || true |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
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 |
---|---|---|
@@ -1,50 +1,66 @@ | ||
{ | ||
"name": "url-minify", | ||
"version": "2.2.13", | ||
"description": "Library to shorten url without any api keys", | ||
"scripts": { | ||
"format": "prettier --write \"src/**/*.ts\"", | ||
"minify": "uglifyjs dist/lib.js --compress --mangle -o dist/lib.min.js", | ||
"build": "rimraf dist && tsc -p tsconfig.build.json --declaration && npm run minify && rimraf dist/lib.js", | ||
"test": "jest" | ||
}, | ||
"keywords": [ | ||
"utils", | ||
"urls", | ||
"shortner", | ||
"minify", | ||
"url", | ||
"shortner", | ||
"node", | ||
"urlshortner", | ||
"shorturl", | ||
"url-shortner", | ||
"node-shorturl" | ||
], | ||
"author": "Rubin Bhandari <roobin.bhandari@gmail.com>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/rubiin/url-minify" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/rubiin/url-minify/issues" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.24.0" | ||
}, | ||
"main": "dist/lib.min.js", | ||
"devDependencies": { | ||
"@types/jest": "^27.0.3", | ||
"@types/node": "^16.11.9", | ||
"jest": "^27.3.1", | ||
"prettier": "^2.4.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.5.2", | ||
"uglify-js": "^3.14.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
"name": "url-minify", | ||
"version": "2.2.15", | ||
"description": "Library to shorten url without any api keys", | ||
"scripts": { | ||
"format": "prettier --write \"src/**/*.ts\"", | ||
"minify": "uglifyjs dist/lib.js --compress --mangle -o dist/lib.min.js", | ||
"build": "rimraf dist && tsc -p tsconfig.build.json --declaration && npm run minify && rimraf dist/lib.js", | ||
"test": "jest" | ||
}, | ||
"keywords": [ | ||
"utils", | ||
"urls", | ||
"shortner", | ||
"minify", | ||
"url", | ||
"shortner", | ||
"node", | ||
"urlshortner", | ||
"shorturl", | ||
"url-shortner", | ||
"node-shorturl" | ||
], | ||
"author": "Rubin Bhandari <roobin.bhandari@gmail.com>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/rubiin/url-minify" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/rubiin/url-minify/issues" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.26.0" | ||
}, | ||
"main": "dist/lib.min.js", | ||
"devDependencies": { | ||
"@types/jest": "^27.4.0", | ||
"@types/node": "^17.0.18", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^7.0.4", | ||
"jest": "^27.5.1", | ||
"lint-staged": "^12.3.4", | ||
"prettier": "^2.5.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.5.5", | ||
"uglify-js": "^3.15.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,ts,tsx}": [ | ||
"prettier --write" | ||
], | ||
"*.{json,md,scss,yaml,yml}": [ | ||
"prettier --write" | ||
] | ||
} | ||
} |
Oops, something went wrong.