Skip to content

Commit af5f1de

Browse files
author
Irene Alvarado
committed
Add husky precommit and bump version
1 parent ad59614 commit af5f1de

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

package-lock.json

Lines changed: 21 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flat",
3-
"version": "1.2.1",
3+
"version": "2.0.0",
44
"description": "The GitHub action which powers data fetching for Flat",
55
"main": "index.js",
66
"scripts": {
@@ -9,7 +9,8 @@
99
"package-post": "ncc build --target es2020 lib/post.js -o dist/post",
1010
"dist": "npm run build && npm run package && npm run package-post",
1111
"format": "prettier --write **/*.ts",
12-
"test": "jest"
12+
"test": "jest",
13+
"prepare": "husky install"
1314
},
1415
"repository": {
1516
"type": "git",
@@ -41,10 +42,11 @@
4142
"@types/jest": "^26.0.20",
4243
"@types/node": "^14.14.37",
4344
"@vercel/ncc": "^0.27.0",
45+
"husky": "^6.0.0",
4446
"jest": "^26.6.3",
4547
"jest-circus": "^26.6.3",
4648
"prettier": "^2.2.1",
4749
"ts-jest": "^26.5.2",
4850
"typescript": "^4.1.5"
4951
}
50-
}
52+
}

0 commit comments

Comments
 (0)