-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
104 lines (104 loc) · 6.92 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
103
104
{
"name": "babylon-mmd",
"version": "0.59.1",
"description": "babylon.js mmd loader and runtime",
"main": "esm/index.js",
"scripts": {
"postinstall": "ts-node postInstallScript.ts",
"start": "cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128,+atomics,+bulk-memory,+mutable-globals\" webpack serve --env development --env wasmInstance=mpd",
"start-js": " webpack serve --env development --env wasmInstance=js",
"watch": "cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128,+atomics,+bulk-memory,+mutable-globals\" webpack --watch --env development --env wasmInstance=mpd",
"build": "cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128,+atomics,+bulk-memory,+mutable-globals\" webpack --env production --env wasmInstance=mpd",
"build-wasm-sr": " cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/sr && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128\" wasm-pack build --target web --release --out-dir ../wasm/sr --out-name index -- --no-default-features && cd ../../../..",
"build-wasm-sd": " cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/sd && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128\" wasm-pack build --target web --debug --out-dir ../wasm/sd --out-name index -- --no-default-features --features \"console_error_panic_hook\" && cd ../../../..",
"build-wasm-mr": " cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/mr && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128,+atomics,+bulk-memory,+mutable-globals\" wasm-pack build --target web --release --out-dir ../wasm/mr --out-name index -- --no-default-features --features \"parallel\" && cd ../../../..",
"build-wasm-md": " cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/md && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128,+atomics,+bulk-memory,+mutable-globals\" wasm-pack build --target web --debug --out-dir ../wasm/md --out-name index -- --no-default-features --features \"console_error_panic_hook parallel\" && cd ../../../..",
"build-wasm-spr": "cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/spr && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128\" wasm-pack build --target web --release --out-dir ../wasm/spr --out-name index -- --no-default-features --features \"physics\" && cd ../../../..",
"build-wasm-spd": "cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/spd && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128\" wasm-pack build --target web --debug --out-dir ../wasm/spd --out-name index -- --no-default-features --features \"console_error_panic_hook physics\" && cd ../../../..",
"build-wasm-mpr": "cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/mpr && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128,+atomics,+bulk-memory,+mutable-globals\" wasm-pack build --target web --release --out-dir ../wasm/mpr --out-name index -- --no-default-features --features \"parallel physics\" && cd ../../../..",
"build-wasm-mpd": "cd src/Runtime/Optimized/wasm_src && rimraf ../wasm/mpd && cross-env RUSTFLAGS=\"-Ctarget-feature=+simd128,+atomics,+bulk-memory,+mutable-globals\" wasm-pack build --target web --debug --out-dir ../wasm/mpd --out-name index -- --no-default-features --features \"console_error_panic_hook parallel physics\" && cd ../../../..",
"build-wasm-all": "npm run build-wasm-sr && npm run build-wasm-sd && npm run build-wasm-mr && npm run build-wasm-md && npm run build-wasm-spr && npm run build-wasm-spd && npm run build-wasm-mpr && npm run build-wasm-mpd",
"build-esm": "tspc --project tsconfig.lib.json && copyfiles -u 3 src/Runtime/Optimized/wasm/** dist/esm/Runtime/Optimized/ && copyfiles -u 4 src/Runtime/Physics/External/ammo.wasm.* dist/esm/Runtime/Physics/External",
"build-umd": "webpack --env production --config webpack.lib.config.ts && webpack --env development --config webpack.lib.config.ts",
"build-lib": "rimraf dist && npm run build-wasm-all && npm run build-esm && npm run build-umd",
"publish-lib": "ts-node publishScript.ts && npm publish ./dist",
"lint": "eslint . --fix --cache"
},
"repository": {
"type": "git",
"url": "git+https://github.com/noname0310/babylon-mmd.git"
},
"author": "noname0310",
"license": "MIT",
"bugs": {
"url": "https://github.com/noname0310/babylon-mmd/issues"
},
"homepage": "https://github.com/noname0310/babylon-mmd#readme",
"devDependencies": {
"@babylonjs/havok": "^1.3.10",
"@babylonjs/inspector": "7.37.0",
"@babylonjs/loaders": "7.37.0",
"@babylonjs/materials": "7.37.0",
"@stylistic/eslint-plugin-js": "^2.11.0",
"@stylistic/eslint-plugin-ts": "^2.11.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@wasm-tool/wasm-pack-plugin": "^1.7.0",
"ammojs-typed": "^1.0.6",
"compression-webpack-plugin": "^11.1.0",
"copy-webpack-plugin": "^12.0.2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^9.16.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-webpack-plugin": "^4.2.0",
"file-loader": "^6.2.0",
"github-directory-downloader": "^1.3.6",
"html-loader": "^5.1.0",
"html-webpack-plugin": "^5.6.3",
"rimraf": "^6.0.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"typescript": "5.6.3",
"typescript-eslint": "^8.16.0",
"typescript-glslminify-transformer": "^0.0.3",
"typescript-transform-paths": "^3.5.2",
"wasm-pack": "^0.13.1",
"webpack": "^5.95.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
},
"keywords": [
"3D",
"javascript",
"html5",
"webgl",
"babylon.js",
"mmd"
],
"sideEffects": [
"**/Shaders/**",
"**/ShadersWGSL/**",
"**/mmdOutlineRenderer.*",
"**/pmdLoader.*",
"**/pmxLoader.*",
"**/bpmxLoader.*",
"**/mmdCompositeRuntimeCameraAnimation.*",
"**/mmdCompositeRuntimeModelAnimation.*",
"**/mmdRuntimeCameraAnimation.*",
"**/mmdRuntimeCameraAnimationGroup.*",
"**/mmdRuntimeModelAnimation.*",
"**/mmdRuntimeModelAnimationGroup.*",
"**/mmdWasmRuntimeModelAnimation.*",
"**/mmdPluginMaterial.*",
"**/mmdStandardMaterial.*",
"**/sdefMesh.*",
"**/bezierAnimation.*",
"**/mmdCamera.*",
"**/index.*"
],
"peerDependencies": {
"@babylonjs/core": "^7.37.0"
}
}