-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
72 lines (72 loc) · 1.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "polyclip-ts",
"description": "Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.",
"version": "0.16.8",
"author": {
"name": "Luiz Felipe Machado Barboza"
},
"license": "MIT",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
"jsdelivr": "dist/polyclip-ts.umd.min.js",
"unpkg": "dist/polyclip-ts.umd.min.js",
"types": "dist/esm/index.d.ts",
"exports": {
"umd": "./dist/polyclip-ts.umd.min.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"default": "./dist/cjs/index.cjs"
},
"files": [
"dist"
],
"keywords": [
"polygon",
"clipping",
"boolean",
"intersection",
"union",
"difference",
"xor",
"geometry",
"martinez"
],
"repository": {
"type": "git",
"url": "https://github.com/luizbarboza/polyclip-ts.git"
},
"scripts": {
"preversion": "npm run test",
"version": "npm run build && git add -A",
"postversion": "git push && git push --tags && npm publish",
"build": "rollup -c && tsup",
"test": "npm run test:typecheck && npm run test:lint && npm run test:jest",
"test:lint": "eslint src",
"test:typecheck": "tsc --noEmit",
"test:jest": "jest",
"bench": "node bench/bench.js"
},
"devDependencies": {
"@babel/preset-env": "^7.19.0",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-json": "4",
"@rollup/plugin-node-resolve": "13",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "^8.5.0",
"@types/node": "^18.8.5",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"benchmark": "^2.1.4",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"jest": "^27.5.1",
"jsts": "^2.12.1",
"martinez-polygon-clipping": "^0.7.1",
"tsup": "^8.3.5"
},
"dependencies": {
"bignumber.js": "^9.1.0",
"splaytree-ts": "^1.0.2"
}
}