diff --git a/docs/README.md b/docs/README.md index c0a7d1b..c4151e3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -16,7 +16,7 @@ ▸ `Const`**computeShadows**(`bounds`: Bounds, `walls`: Segment2[], `light`: Vec2): Vec2[][] -*Defined in [computeShadows.ts:39](https://github.com/MD4/shadowed/blob/417ce7c/src/computeShadows.ts#L39)* +*Defined in [computeShadows.ts:39](https://github.com/MD4/shadowed/blob/db32e2c/src/computeShadows.ts#L39)* Computes casted shadows by a light for a given set of walls within specified bounds. diff --git a/package.json b/package.json index 678cbd6..b976631 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,9 @@ "prepublishOnly": "pinst --disable && npm run doc && npm run build && npm run test", "postinstall": "husky install", "postpublish": "pinst --enable", - "demo": "npm run build && http-server -o demo" + "demo": "npm run build && http-server -o demo", + "preversion": "npm test", + "postversion": "git push && git push --tags" }, "repository": { "type": "git",