-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 1.5 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
{
"name": "mantle-renderer",
"version": "1.6.3",
"description": "A Minecraft-focused WebGL powered 3D renderer built for both the browser and server.",
"main": "cjs/Index.js",
"type": "module",
"scripts": {
"rimraf": "./node_modules/rimraf/bin.js",
"clean": "npx rimraf cjs/ && npx rimraf esm/",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "npx tsc --module commonjs --outDir cjs/ && echo {\"type\": \"commonjs\"} > cjs/package.json",
"build:esm": "npx tsc --module es2022 --outDir esm/ && echo {\"type\": \"module\"} > esm/package.json",
"i": "npm install && npm --prefix dev-client install",
"check": "npx tsc --noEmit",
"push": "npm run build && npm publish",
"pack": "npm run build && npm pack",
"dev:client": "npm --prefix dev-client run dev",
"dev:server": "npx ts-node ./dev-server/main.ts",
"test:memory": "npx ts-node ./tests/memoryLeak/MemoryLeak.ts",
"test:xvfb": "xvfb-run -s \"-ac -screen 0 1280x1024x24\" npm run dev:server"
},
"exports": {
"require": "./cjs/Index.js",
"import": "./esm/Index.js"
},
"keywords": [
"Minecraft",
"3d",
"Renderer",
"Three"
],
"author": "eyezah, AuraSide",
"license": "MIT",
"devDependencies": {
"@types/gl": "^6.0.2",
"@types/three": "^0.152.0",
"chalk": "^5.2.0",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"dependencies": {
"canvas": "^2.11.2",
"gl": "^6.0.2",
"three": "^0.152.2"
}
}