-
Notifications
You must be signed in to change notification settings - Fork 238
/
package.json
102 lines (102 loc) · 2.79 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "planck",
"version": "1.0.6",
"description": "2D JavaScript/TypeScript physics engine for cross-platform HTML5 game development",
"homepage": "https://github.com/piqnt/planck.js",
"keywords": [
"box2d",
"html5",
"javascript",
"typescript",
"game",
"physics",
"engine",
"2d",
"mobile"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/piqnt/planck.js.git"
},
"author": "Ali Shakiba",
"contributors": [
"Erin Catto",
"Ali Shakiba",
"Oliver Zell"
],
"type": "commonjs",
"sideEffects": [
"./dist/planck-with-testbed.*"
],
"module": "dist/planck.mjs",
"main": "dist/planck.js",
"jsdelivr": "dist/planck.min.js",
"unpkg": "dist/planck.min.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./dist/planck.d.ts",
"import": "./dist/planck.mjs",
"default": "./dist/planck.js"
},
"./with-testbed": {
"types": "./dist/planck-with-testbed.d.ts",
"import": "./dist/planck-with-testbed.mjs",
"default": "./dist/planck-with-testbed.js"
},
"./dist/*": "./dist/*"
},
"engines": {
"node": ">=14.0"
},
"peerDependencies": {
"stage-js": "^1.0.0-alpha.5"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.13.9",
"@babel/preset-env": "^7.13.9",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^2.4.1",
"@types/chai": "^4.3.5",
"@types/estree": "^0.0.50",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"@vitest/coverage-v8": "^0.34.1",
"ajv": "^6.10.2",
"dtslint": "^3.6.9",
"eslint": "^8.1.0",
"esm": "^3.2.25",
"express": "^4.17.1",
"handlebars": "^4.7.6",
"rollup": "^2.77.4",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-license": "^2.3.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^1.3.10",
"sinon": "^15.2.0",
"tsd": "^0.28.1",
"typedoc": "^0.17.8",
"typedoc-plugin-markdown": "^2.3.1",
"typescript": "^4.0.0-beta",
"vite": "^4.4.7",
"vitest": "^0.34.1"
},
"scripts": {
"lint": "eslint './src/**/*.ts'",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:types": "tsd --typings=./dist/planck.d.ts && tsd --typings=./dist/planck-with-testbed.d.ts",
"preflight": "npm run lint && npm run test:types && npm run test",
"build": "rollup -c",
"watch": "rollup -c --watch",
"testbed": "npm run dev",
"dev": "vite",
"vite-build": "vite build",
"vite-preview": "vite preview",
"benchmark": "git log -n 1 && vite-node ./benchmark/node",
"typedoc": "typedoc --options typedoc.json"
}
}