forked from protobufjs/protobuf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.18 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
{
"name": "protobufjs",
"version": "4.0.0-b2",
"description": "Protocol Buffers for JavaScript. Finally.",
"author": "Daniel Wirtz <[email protected]>",
"contributors": [
"Frank Xu <[email protected]>"
],
"main": "index.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"
},
"keywords": ["net", "buffer", "protobuf", "serialization", "bytebuffer", "websocket", "webrtc"],
"dependencies": {
"bytebuffer": "~3 >=3.5",
"ascli": "~1"
},
"devDependencies": {
"testjs": "~1 >=1.0.4",
"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-noparse",
"compile-full": "ccjs dist/ProtoBuf.js --create_source_map=dist/ProtoBuf.min.map --compilation_level=SIMPLE_OPTIMIZATIONS > dist/ProtoBuf.min.js",
"compile-noparse": "ccjs dist/ProtoBuf.noparse.js --create_source_map=dist/ProtoBuf.noparse.min.map --compilation_level=SIMPLE_OPTIMIZATIONS > dist/ProtoBuf.noparse.min.js",
"compress": "npm run-script compress-full && npm run-script compress-noparse",
"compress-full": "gzip -c -9 dist/ProtoBuf.min.js > dist/ProtoBuf.min.js.gz",
"compress-noparse": "gzip -c -9 dist/ProtoBuf.noparse.min.js > dist/ProtoBuf.noparse.min.js.gz",
"jsdoc": "node node_modules/jsdoc/jsdoc.js -c jsdoc.json"
}
}