forked from protobufjs/protobuf.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
61 lines (61 loc) · 2.19 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
{
"name": "protobufjs",
"version": "4.0.0",
"description": "Protocol Buffers for JavaScript. Finally.",
"author": "Daniel Wirtz <dcode@dcode.io>",
"contributors": [
"Frank Xu <yyfrankyy@gmail.com>"
],
"main": "dist/ProtoBuf.js",
"bin": {
"pbjs": "./bin/pbjs"
},
"repository": {
"type": "git",
"url": "https://github.com/dcodeIO/ProtoBuf.js.git"
},
"bugs": {
"url": "https://github.com/dcodeIO/ProtoBuf.js/issues"
},
"homepage": "https://github.com/dcodeIO/ProtoBuf.js",
"keywords": [
"net",
"buffer",
"protobuf",
"serialization",
"bytebuffer",
"websocket",
"webrtc"
],
"dependencies": {
"ascli": "~1",
"bytebuffer": "~4",
"glob": "^5.0.10",
"yargs": "^3.10.0"
},
"devDependencies": {
"testjs": "~1 >=1.0.4",
"fixture-stdout": "^0.2.1",
"metascript": ">=0.18 <1",
"closurecompiler": "~1",
"jsdoc": "~3.3.0-alpha10"
},
"license": "Apache-2.0",
"engines": {
"node": ">=0.8"
},
"scripts": {
"prepublish": "npm test",
"test": "node bin/pbjs tests/complex.proto --target=json > tests/complex.json && node node_modules/testjs/bin/testjs tests/suite.js",
"make": "npm run-script build && npm run-script compile && npm run-script descriptor2json && npm run-script compress && npm test && npm run-script jsdoc",
"build": "node scripts/build.js",
"descriptor2json": "node bin/pbjs src/google/protobuf/descriptor.proto --target=json > src/google/protobuf/descriptor.json",
"compile": "npm run-script compile-full && npm run-script compile-light",
"compile-full": "ccjs dist/ProtoBuf.js --create_source_map=dist/ProtoBuf.min.map --compilation_level=SIMPLE_OPTIMIZATIONS > dist/ProtoBuf.min.js",
"compile-light": "ccjs dist/ProtoBuf-light.js --create_source_map=dist/ProtoBuf-light.min.map --compilation_level=SIMPLE_OPTIMIZATIONS > dist/ProtoBuf-light.min.js",
"compress": "npm run-script compress-full && npm run-script compress-light",
"compress-full": "gzip -c -9 dist/ProtoBuf.min.js > dist/ProtoBuf.min.js.gz",
"compress-light": "gzip -c -9 dist/ProtoBuf-light.min.js > dist/ProtoBuf-light.min.js.gz",
"jsdoc": "node node_modules/jsdoc/jsdoc.js -c jsdoc.json"
}
}