@gg-web-engine/ammo 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -9,7 +9,13 @@
|
|
|
9
9
|
1) `npm install --save @gg-web-engine/ammo`
|
|
10
10
|
1) Add to your `tsconfig.json` in the record `compilerOptions.paths`:
|
|
11
11
|
```json lines
|
|
12
|
-
"mini-signals": ["./node_modules/mini-signals/index.js"]
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"mini-signals": ["./node_modules/mini-signals/index.js"]
|
|
13
|
+
```
|
|
14
|
+
1) Add to your `package.json`:
|
|
15
|
+
```json lines
|
|
16
|
+
"browser": {
|
|
17
|
+
"fs": false,
|
|
18
|
+
"os": false,
|
|
19
|
+
"path": false
|
|
20
|
+
}
|
|
15
21
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gg-web-engine/ammo",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.04",
|
|
4
4
|
"description": "An attempt to create open source game engine for browser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,12 +26,15 @@
|
|
|
26
26
|
"url": "https://github.com/AndyGura/gg-web-engine/issues"
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/AndyGura/gg-web-engine#readme",
|
|
29
|
+
"browser": {
|
|
30
|
+
"fs": false,
|
|
31
|
+
"os": false,
|
|
32
|
+
"path": false
|
|
33
|
+
},
|
|
29
34
|
"dependencies": {
|
|
30
|
-
"@gg-web-engine/core": "^0.0.
|
|
35
|
+
"@gg-web-engine/core": "^0.0.4",
|
|
31
36
|
"ammojs-typed": "^1.0.6",
|
|
32
|
-
"fs-web": "^1.0.1",
|
|
33
37
|
"mini-signals": "^1.2.0",
|
|
34
|
-
"path-browserify": "^1.0.1",
|
|
35
38
|
"rxjs": "~7.5.0"
|
|
36
39
|
},
|
|
37
40
|
"devDependencies": {
|