-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
68 lines (68 loc) · 2.15 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
{
"name": "js-angusj-clipper",
"version": "1.3.1",
"description": "Polygon and line clipping and offsetting library for Javascript / Typescript - a port of Angus Johnson's clipper to WebAssembly / Asm.JS",
"main": "universal/index.js",
"typings": "universal/index.d.ts",
"scripts": {
"_pull-docker-image": "docker pull emscripten/emsdk",
"travis": "yarn lint && yarn build && yarn test",
"test": "jest -t unit",
"benchmark": "jest -t benchmark",
"lint": "eslint src",
"build": "yarn build:web && yarn build:universal",
"build:universal": "rimraf ./dist && rimraf ./universal && yarn build:ts && yarn build:asm && shx mv dist universal",
"build:web": "rimraf ./dist && rimraf ./web && yarn build:ts && yarn build:asm --env web && shx mv dist web",
"build:ts": "tsc -p .",
"build:asm": "yarn _pull-docker-image && ts-node build/compile-asm",
"prettier-all": "prettier --write ."
},
"files": [
"universal",
"web"
],
"repository": {
"type": "git",
"url": "git+https://github.com/xaviergonz/js-angusj-clipper.git"
},
"keywords": [
"polygon",
"clipping",
"offseting",
"boolean",
"geometry"
],
"author": "Javier Gonzalez Garces <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/xaviergonz/js-angusj-clipper/issues"
},
"homepage": "https://github.com/xaviergonz/js-angusj-clipper#readme",
"devDependencies": {
"@types/command-line-args": "^5.2.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.10",
"@types/shelljs": "^0.8.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"command-line-args": "^5.2.1",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
},
"prettier": {
"printWidth": 100,
"arrowParens": "always",
"endOfLine": "lf"
},
"packageManager": "[email protected]"
}