forked from protobufjs/protobuf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.25 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
{
"name": "protobufjs",
"version": "5.0.1",
"description": "Protocol Buffers for JavaScript. Finally.",
"author": "Daniel Wirtz <[email protected]>",
"contributors": [
"Frank Xu <[email protected]>"
],
"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": "~5",
"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"
},
"browser": {
"fs": false,
"path": false
},
"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"
}
}