-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
86 lines (86 loc) · 2.31 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "three-to-cannon",
"version": "5.0.2",
"description": "Convert a THREE.Mesh to a CANNON.Shape.",
"type": "module",
"sideEffects": false,
"source": "./src/index.ts",
"types": "./dist/src/index.d.ts",
"main": "./dist/three-to-cannon.cjs",
"module": "./dist/three-to-cannon.esm.js",
"exports": {
"types": "./dist/src/index.d.ts",
"require": "./dist/three-to-cannon.cjs",
"default": "./dist/three-to-cannon.modern.js"
},
"scripts": {
"dist": "microbundle --format cjs,esm,modern,umd --no-compress --globals three=THREE --external three",
"watch": "microbundle watch --format cjs,esm,modern,umd --no-compress --globals three=THREE --external three",
"test": "ava --no-worker-threads test/*.test.ts",
"coverage": "c8 --reporter=lcov --reporter=text ava --no-worker-threads test/*.ts --tap",
"coverage:report": "c8 report --reporter=text-lcov > coverage/coverage.lcov",
"preversion": "rimraf dist/* && npm run dist && npm test",
"postversion": "git push && git push --tags && npm publish && yarn coverage:report",
"lint": "eslint src/* test/* --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/donmccurdy/three-to-cannon.git"
},
"keywords": [
"threejs",
"three",
"cannonjs",
"cannon",
"physics",
"simulation"
],
"author": "Don McCurdy <dm@donmccurdy.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/donmccurdy/three-to-cannon/issues"
},
"homepage": "https://github.com/donmccurdy/three-to-cannon#readme",
"peerDependencies": {
"cannon-es": "0.x.x",
"three": ">=0.125.x"
},
"dependencies": {
"@types/three": ">=0.160.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "8.14.0",
"@typescript-eslint/parser": "8.14.0",
"ava": "6.2.0",
"c8": "10.1.2",
"cannon-es": "0.20.0",
"eslint": "9.1.1",
"microbundle": "0.15.1",
"rimraf": "5.0.10",
"three": "0.160.0",
"tsx": "^4.7.0",
"typescript": "5.6.3"
},
"files": [
"dist/",
"lib/",
"index.js",
"README.md",
"LICENSE",
"package.json",
"package-lock.json"
],
"browserslist": [
"defaults",
"not IE 11",
"node >= 14"
],
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--import=tsx"
]
}
}