Skip to content

Commit 0562008

Browse files
committed
Merge branch 'hotfix/fix-stuff'
2 parents 62d9239 + 33696f8 commit 0562008

File tree

3 files changed

+8
-21
lines changed

3 files changed

+8
-21
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ Note that _Rollup_ and _Webpack_ should handle tree-shaking without extra-effort
177177
- [ ]: allow conversion between an arbitrary number of systems in the same measure family (eg. metric ↔ imperial ↔ ... ↔ \[nth-system\] ↔ metric).
178178
- [ ]: generate documentation (right now typedoc throws cryptic errors).
179179

180+
### Development
181+
182+
If you want to help remember to run the command `npm run setup:dev`.
183+
It will install all dependencies and `husky` so that code will get tested and linted before every commit.
184+
180185
## License
181186

182187
Copyright (c) 2021 Marco Cesi, <https://iamsquare.it>

package-lock.json

Lines changed: 1 addition & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iamsquare/convert-units",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Convert between quantities in different units",
55
"author": "Marco Cesi <[email protected]> (https://iamsquare.it)",
66
"keywords": [
@@ -29,7 +29,6 @@
2929
"is-ci": "^3.0.0",
3030
"jest": "^27.0.1",
3131
"lint-staged": "^11.0.0",
32-
"pinst": "^2.1.6",
3332
"prettier": "2.3.0",
3433
"rimraf": "^3.0.2",
3534
"ts-jest": "^27.0.1",
@@ -65,8 +64,6 @@
6564
"test": "jest",
6665
"test:coverage": "npm run test -- --coverage",
6766
"test:watch": "npm run test -- --watch",
68-
"postinstall": "is-ci || husky install",
69-
"prepublishOnly": "pinst --disable",
70-
"postpublish": "pinst --enable"
67+
"setup:dev": "npm ci && husky install"
7168
}
7269
}

0 commit comments

Comments
 (0)