forked from jacek-goblin/check2d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.95 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.95 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "detect-collisions",
"version": "8.0.1",
"description": "Fast TypeScript library for detecting collisions between bodies: Points, Lines, Boxes, Polygons (Concave too), Ellipses and Circles. Also RayCasting. All bodies can have offset, rotation, scale, bounding box padding, can be static (non moving) or be trigger bodies (non colliding).",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"benchmark": "npm run build && node src/demo/benchmark.js",
"bench": "npm run build && node ./dist/bench/index.js",
"dev": "npm run build && webpack serve --port 4200",
"build:demo": "webpack",
"prebuild:docs": "rimraf docs",
"build:docs": "typedoc --customCss typedoc.css",
"postbuild:docs": "npm run docs-from-master && cp -r dist/demo docs",
"docs": "npm run build:docs && chef-express docs --debug",
"docs-from-master": "for f in `find docs -name *.html`; do sed -i '' -r 's_/blob/[^/]+/_/blob/master/_g' $f; done",
"demo": "npm run build && npm run build:demo && npm start",
"start": "chef-express dist/demo --debug",
"test": "jest --silent --verbose --forceExit",
"format": "prettier --write ./src",
"lint": "tslint --project tsconfig.json 'src/**/*.ts' --fix",
"test-and-build": "npm run test && npm run format && npm run build",
"build-for-github": "npm run build:demo && npm run build:docs",
"precommit": "npm run lint && npm run test-and-build && npm run build-for-github"
},
"repository": "git://github.com/Prozi/detect-collisions.git",
"files": [
"src/*.*",
"src/bodies/*.*",
"dist/*.*",
"dist/bodies/*.*"
],
"keywords": [
"javascript",
"typescript",
"library",
"computational-geometry",
"alghoritm",
"computational-geometry-alghoritm",
"collisions",
"collision-checking",
"concave",
"rotation",
"angle",
"separating-axis-theorem",
"bounding-volume-hierarchy",
"Circle",
"Polygon",
"Box",
"Ellipse",
"Line",
"Point"
],
"author": "Jacek Pietal",
"license": "MIT",
"bugs": {
"url": "https://github.com/Prozi/detect-collisions/issues"
},
"homepage": "https://prozi.github.io/detect-collisions/",
"dependencies": {
"@types/rbush": "^3.0.0",
"@types/sat": "^0.0.31",
"poly-decomp": "^0.3.0",
"rbush": "^3.0.1",
"sat": "^0.9.0"
},
"devDependencies": {
"chef-express": "^1.4.0",
"html-webpack-plugin": "^5.5.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"pixi-shim": "^2.4.0",
"prettier": "^2.8.7",
"random-seed": "^0.3.0",
"rimraf": "^5.0.0",
"tinybench": "^2.4.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"tslint": "^6.1.3",
"typedoc": "0.24.4",
"typescript": "~5.0",
"webpack": "^5.80.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.3"
},
"resolutions": {
"minimist": "^1.2.6",
"terser": "^5.14.2",
"json5": "^2.2.2"
}
}