forked from colyseus/colyseus.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.67 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
{
"name": "colyseus.js",
"version": "0.15.24",
"description": "Colyseus Multiplayer SDK for JavaScript/TypeScript",
"author": "Endel Dreyer",
"license": "MIT",
"scripts": {
"test": "mocha test/*.ts --require ts-node/register",
"build": "rollup -c rollup.config.js",
"build-dist-dts": "dts-bundle-generator --config dts-generator.json",
"build-ci": "tsc && npm run build && npm run build-dist-dts && npm run build-zip-dist",
"build-zip-dist": "zip --junk-paths colyseus-sdk dist/colyseus*",
"build-all": "tsc && npm run build && npm run build-dist-dts && npm run copy-cocos-creator-files && npm run copy-construct3-files",
"copy-construct3-files": "cp dist/colyseus.js ../colyseus-construct3/plugin/colyseus.js",
"copy-cocos-creator-files": "cp dist/colyseus-cocos-creator.js cocos-creator-3-extension/colyseus-sdk/runtime/colyseus.js && cp dist/colyseus.d.ts cocos-creator-3-extension/colyseus-sdk/runtime",
"watch": "tsc -w",
"tslint": "tslint --project .",
"prepublishOnly": "tsc && npm run build"
},
"funding": "https://github.com/sponsors/endel",
"files": [
"dist",
"build",
"lib",
"LICENSE",
"README.md"
],
"browser": "dist/colyseus.js",
"main": "build/cjs/index.js",
"module": "build/esm/index.mjs",
"typings": "lib/index.d.ts",
"exports": {
".": {
"browser": "./lib/index.js",
"import": "./build/esm/index.mjs",
"require": "./build/cjs/index.js",
"types": "./lib/index.d.ts"
},
"./package.json": "./package.json"
},
"decentralandLibrary": {
"main": "./dist/colyseus.js",
"typings": "./dist/colyseus.d.ts"
},
"keywords": [
"colyseus",
"multiplayer",
"netcode",
"realtime",
"networking",
"websockets"
],
"repository": {
"type": "git",
"url": "git://github.com/colyseus/colyseus.js.git"
},
"engines": {
"node": ">= 12.x"
},
"dependencies": {
"@colyseus/schema": "^2.0.4",
"httpie": "^2.0.0-next.13",
"tslib": "^2.1.0",
"ws": "^8.13.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-typescript": "^8.2.5",
"@types/chai": "^3.4.34",
"@types/mocha": "^2.2.44",
"@types/ws": "^7.4.0",
"benchmark": "^2.1.4",
"chai": "^3.5.0",
"dts-bundle-generator": "^6.9.0",
"install": "^0.12.2",
"mocha": "^5.1.1",
"nanoid": "^2.0.1",
"node-localstorage": "^1.3.1",
"npm": "^6.9.0",
"rollup": "^2.40.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"ts-loader": "^6.2.1",
"ts-node": "^6.0.3",
"tslint": "^5.9.1",
"typescript": "^4.3.5"
}
}