-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
98 lines (98 loc) · 4.33 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
{
"name": "@colyseus/schema",
"version": "2.0.36",
"description": "Binary state serializer with delta encoding for games",
"bin": {
"schema-codegen": "./bin/schema-codegen"
},
"scripts": {
"build": "tsc && rollup -c rollup.config.mjs",
"watch": "tsc -w",
"test": "mocha --require ts-node/register test/*.test.ts test/**/*.test.ts",
"coverage": "nyc mocha --require ts-node/register --require source-map-support/register --recursive test/**Test.ts",
"generate-test-1": "bin/schema-codegen test-external/PrimitiveTypes.ts --namespace SchemaTest.PrimitiveTypes --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/PrimitiveTypes",
"generate-test-2": "bin/schema-codegen test-external/ChildSchemaTypes.ts --namespace SchemaTest.ChildSchemaTypes --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/ChildSchemaTypes",
"generate-test-3": "bin/schema-codegen test-external/ArraySchemaTypes.ts --namespace SchemaTest.ArraySchemaTypes --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/ArraySchemaTypes",
"generate-test-4": "bin/schema-codegen test-external/MapSchemaTypes.ts --namespace SchemaTest.MapSchemaTypes --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/MapSchemaTypes",
"generate-test-5": "bin/schema-codegen test-external/InheritedTypes.ts --namespace SchemaTest.InheritedTypes --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/InheritedTypes",
"generate-test-6": "bin/schema-codegen test-external/MapSchemaInt8.ts --namespace SchemaTest.MapSchemaInt8 --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/MapSchemaInt8",
"generate-test-7": "bin/schema-codegen test-external/BackwardsForwards.ts --namespace SchemaTest.BackwardsForwards --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/BackwardsForwards",
"generate-test-8": "bin/schema-codegen test-external/FilteredTypes.ts --namespace SchemaTest.FilteredTypes --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/FilteredTypes",
"generate-test-9": "bin/schema-codegen test-external/InstanceSharingTypes.ts --namespace SchemaTest.InstanceSharingTypes --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/InstanceSharingTypes",
"generate-test-10": "bin/schema-codegen test-external/Callbacks.ts --namespace SchemaTest.Callbacks --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/Callbacks",
"generate-test-11": "bin/schema-codegen test-external/MapSchemaMoveNullifyType.ts --namespace SchemaTest.MapSchemaMoveNullifyType --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/MapSchemaMoveNullifyType",
"generate-test-12": "bin/schema-codegen test-external/ArraySchemaClear --namespace SchemaTest.ArraySchemaClear --output ../colyseus-unity-sdk/Assets/Editor/ColyseusTests/Schema/ArraySchemaClear",
"prepublishOnly": "npm run build"
},
"files": [
"src",
"lib",
"build",
"bin"
],
"types": "lib/index.d.ts",
"main": "build/cjs/index.js",
"module": "build/esm/index.mjs",
"browser": "./build/umd/index.js",
"exports": {
".": {
"browser": "./build/umd/index.js",
"import": "./build/esm/index.mjs",
"require": "./build/cjs/index.js",
"types": "./lib/index.d.ts"
}
},
"repository": {
"url": "git://github.com/colyseus/schema.git",
"type": "git"
},
"keywords": [
"schema",
"binary",
"serialization",
"serializer",
"netcode"
],
"author": "Endel Dreyer",
"license": "MIT",
"devDependencies": {
"@msgpack/msgpack": "^1.9.1",
"@rollup/plugin-typescript": "^11.1.6",
"@types/benchmark": "^2.1.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.5",
"@types/node": "^14.0.13",
"@types/rimraf": "^2.0.3",
"@types/sinon": "^7.0.3",
"benchmark": "^2.1.4",
"flatbuffers": "^1.10.2",
"fossil-delta": "^1.0.2",
"glob": "^7.1.5",
"mocha": "^10.2.0",
"msgpackr": "^1.6.1",
"nanoid": "^3.1.10",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"rollup": "^4.18.0",
"sinon": "^7.2.2",
"source-map-support": "^0.5.13",
"ts-node": "^7.0.1",
"tslib": "^2.1.0",
"tsx": "^3.13.0",
"typescript": "^5.4.5"
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src",
"test"
],
"reporter": [
"html",
"lcov"
],
"all": true
}
}