rectangle-overlap
Version:
Computes the area of the intersection of two rectangles.
48 lines (47 loc) • 1.54 kB
JSON
{
"name": "rectangle-overlap",
"version": "2.0.0",
"description": "Computes the area of the intersection of two rectangles.",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"check-workspace": "git diff --exit-code >/dev/null && git diff --cached --exit-code >/dev/null",
"build": "rm -rf dist/ && npm run compile && cp LICENSE README.md package.json dist/",
"compile": "tsc --project .",
"test": "npx tslint --project . && npx jest && npx stryker run",
"prepublishOnly": "echo 'Use npm run publish-package' && exit 1",
"publish-package": "npm run check-workspace && npm test && npm run build && git push && git push --tags && npm publish --access=public --ignore-scripts dist"
},
"repository": {
"type": "git",
"url": "https://github.com/lovasoa/rectangle-overlap.git"
},
"keywords": [
"rectangle",
"overlap",
"area",
"difference",
"geometry",
"intersection"
],
"author": "Ophir LOJKINE",
"license": "LGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/lovasoa/rectangle-overlap/issues"
},
"homepage": "https://github.com/lovasoa/rectangle-overlap",
"devDependencies": {
"@stryker-mutator/core": "^2.0.0",
"@stryker-mutator/html-reporter": "^2.0.0",
"@stryker-mutator/jest-runner": "^2.0.0",
"@stryker-mutator/typescript": "^2.0.0",
"@types/jest": "^24.0.15",
"jest": "^24.8.0",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"typescript": "^3.5.2"
},
"jest": {
"preset": "ts-jest"
}
}