forked from schteppe/cannon.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.21 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
{
"name": "dapao",
"version": "0.1.1-beta",
"description": "A lightweight 3D physics engine written in Typescript (Port of Cannon.js written in Javascript)",
"homepage": "https://github.com/TheRohans/DaPao",
"author": "Stefan Hedman <schteppe@gmail.com> (http://steffe.se)",
"contributors": [
"Rob Rohan <rob@therohans.com> (https://robrohan.com)"
],
"license": "MIT",
"keywords": [
"dapao",
"cannon.js",
"cannon",
"physics",
"engine",
"3d"
],
"scripts": {
"install:deps": "npm install --no-optional",
"test": "NODE_ENV=test npx jest ./src --coverage",
"__types": "NODE_ENV=production npx tsc",
"__compile": "NODE_ENV=production npx parcel build ./src/dapao.ts --no-source-maps --out-dir ./lib",
"__build": "npm run compile && npm run types",
"build": "NODE_ENV=production npx tsc"
},
"main": "./lib/types/dapao.js",
"types": "./lib/types/dapao.d.ts",
"engines": {
"node": "*"
},
"repository": {
"type": "git",
"url": "git@github.com:TheRohans/dapao.git"
},
"bugs": {
"url": "https://github.com/TheRohans/dapao/issues"
},
"devDependencies": {
"@types/jest": "^23.3.14",
"@types/node": "^13.13.15",
"eslint": "^5.16.0",
"eslint-config-google": "^0.13.0",
"glslify-bundle": "^5.1.1",
"glslify-deps": "^1.3.1",
"jest": "^25.4.0",
"parcel-bundler": "^1.12.4",
"ts-jest": "^25.5.1",
"typescript": "^3.9.7"
},
"eslintConfig": {
"extends": "google",
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"es6": true
},
"overrides": [
{
"files": [
"src/*.ts"
],
"excludedFiles": "*.test.ts"
}
],
"rules": {
"require-jsdoc": "off"
}
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"testMatch": [
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"moduleNameMapper": {
"\\.(glsl)$": "<rootDir>/__mocks__/glslMock.ts"
},
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"html",
"text",
"text-summary",
"lcov"
],
"globals": {
"ts-jest": {
"diagnostics": {
"ignoreCodes": "TS2307"
}
}
}
}
}