-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
54 lines (54 loc) · 1.64 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
{
"name": "collider2d",
"version": "1.1.1",
"description": "A 2D collision checker for modern JavaScript games.",
"main": "build/index.js",
"module": "collider2d.js",
"scripts": {
"rm:build": "rm -rf build",
"rm:bundle": "rm -rf collider2d.js",
"tsconfig": "tsc --init --declaration --allowSyntheticDefaultImports --target esnext --outDir build",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"build": "npm run rm:build && npm run build:types && npm run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir build --extensions \".ts,.tsx\" --source-maps inline",
"bundle": "npm run rm:bundle && rollup -c",
"bundle:watch": "rollup -c --watch",
"test": "mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/robertcorponoi/collider2d"
},
"keywords": [
"2d",
"game",
"collision",
"collider",
"polygon",
"circle",
"esm",
"module",
"sat"
],
"typings": "build/index.d.ts",
"author": "Robert Corponoi",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"chai": "^4.2.0",
"mocha": "^8.1.3",
"rollup": "^2.28.2",
"rollup-plugin-babel": "^4.4.0",
"typescript": "^4.0.3"
}
}