package.json
3.6 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"_args": [
[
"protobufjs",
"/Users/AlexWang/ws/LiveClass"
]
],
"_cnpm_publish_time": 1452040541458,
"_from": "protobufjs@latest",
"_id": "protobufjs@5.0.1",
"_inCache": true,
"_installable": true,
"_location": "/protobufjs",
"_nodeVersion": "0.12.7",
"_npmUser": {
"email": "dcode@dcode.io",
"name": "dcode"
},
"_npmVersion": "2.11.3",
"_phantomChildren": {},
"_requested": {
"name": "protobufjs",
"raw": "protobufjs",
"rawSpec": "",
"scope": null,
"spec": "latest",
"type": "tag"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npm.taobao.org/protobufjs/download/protobufjs-5.0.1.tgz",
"_shasum": "589ecdda1a555fd69df4699adc142d36f133aa0b",
"_shrinkwrap": null,
"_spec": "protobufjs",
"_where": "/Users/AlexWang/ws/LiveClass",
"author": {
"email": "dcode@dcode.io",
"name": "Daniel Wirtz"
},
"bin": {
"pbjs": "./bin/pbjs"
},
"browser": {
"fs": false,
"path": false
},
"bugs": {
"url": "https://github.com/dcodeIO/protobuf.js/issues"
},
"contributors": [
{
"email": "yyfrankyy@gmail.com",
"name": "Frank Xu"
}
],
"dependencies": {
"ascli": "~1",
"bytebuffer": "~5",
"glob": "^5.0.10",
"yargs": "^3.10.0"
},
"description": "Protocol Buffers for JavaScript. Finally.",
"devDependencies": {
"closurecompiler": "~1",
"fixture-stdout": "^0.2.1",
"jsdoc": "~3.3.0-alpha10",
"metascript": ">=0.18 <1",
"testjs": "~1 >=1.0.4"
},
"directories": {},
"dist": {
"noattachment": false,
"shasum": "589ecdda1a555fd69df4699adc142d36f133aa0b",
"size": 467467,
"tarball": "http://registry.npm.taobao.org/protobufjs/download/protobufjs-5.0.1.tgz"
},
"engines": {
"node": ">=0.8"
},
"gitHead": "54f9d741bf6758f0c9af4639f1c50bdad6a83bd5",
"homepage": "https://github.com/dcodeIO/protobuf.js",
"keywords": [
"net",
"buffer",
"protobuf",
"serialization",
"bytebuffer",
"websocket",
"webrtc"
],
"license": "Apache-2.0",
"main": "./dist/protobuf.js",
"maintainers": [
{
"email": "dcode@dcode.io",
"name": "dcode"
}
],
"name": "protobufjs",
"optionalDependencies": {},
"publish_time": 1452040541458,
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/dcodeIO/protobuf.js.git"
},
"scripts": {
"build": "node scripts/build.js",
"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",
"descriptor2json": "node bin/pbjs src/google/protobuf/descriptor.proto --target=json > src/google/protobuf/descriptor.json",
"jsdoc": "node node_modules/jsdoc/jsdoc.js -c jsdoc.json",
"make": "npm run-script build && npm run-script compile && npm run-script descriptor2json && npm run-script compress && npm test && npm run-script jsdoc",
"prepublish": "npm test",
"test": "node bin/pbjs tests/complex.proto --target=json > tests/complex.json && node node_modules/testjs/bin/testjs tests/suite.js"
},
"version": "5.0.1"
}