UNPKG

2.12 kBJSONView Raw
1{
2 "name": "pbf",
3 "version": "1.3.0",
4 "description": "a low-level, lightweight protocol buffers implementation in JavaScript",
5 "main": "index.js",
6 "scripts": {
7 "test": "eslint index.js buffer.js test/*.js bin/pbf && tape test/*.test.js | faucet",
8 "cov": "istanbul cover tape test/*.test.js && coveralls < ./coverage/lcov.info",
9 "build-min": "mkdirp dist && browserify index.js -s Pbf | uglifyjs -c warnings=false -m > dist/pbf.js",
10 "build-dev": "mkdirp dist && browserify index.js -d -s Pbf > dist/pbf-dev.js"
11 },
12 "bin": {
13 "pbf": "bin/pbf"
14 },
15 "repository": {
16 "type": "git",
17 "url": "git@github.com:mapbox/pbf.git"
18 },
19 "keywords": [
20 "protocol",
21 "buffer",
22 "pbf",
23 "protobuf",
24 "binary",
25 "format",
26 "serialization",
27 "encoder",
28 "decoder"
29 ],
30 "author": "Konstantin Kaefer",
31 "license": "BSD",
32 "bugs": {
33 "url": "https://github.com/mapbox/pbf/issues"
34 },
35 "homepage": "https://github.com/mapbox/pbf",
36 "dependencies": {
37 "ieee754": "~1.1.4",
38 "resolve-protobuf-schema": "^1.0.2"
39 },
40 "devDependencies": {
41 "benchmark": "^1.0.0",
42 "brfs": "1.2.0",
43 "coveralls": "~2.11.2",
44 "eslint": "^0.13.0",
45 "faucet": "0.0.1",
46 "istanbul": "~0.3.5",
47 "mkdirp": "^0.5.0",
48 "protocol-buffers": "^2.4.6",
49 "tape": "~3.0.3",
50 "uglify-js": "^2.4.16"
51 },
52 "eslintConfig": {
53 "rules": {
54 "no-use-before-define": [
55 2,
56 "nofunc"
57 ],
58 "camelcase": 2,
59 "space-after-function-name": 2,
60 "space-in-parens": 2,
61 "space-before-blocks": 2,
62 "space-after-keywords": 2,
63 "comma-style": 2,
64 "no-lonely-if": 2,
65 "no-else-return": 2,
66 "new-cap": 2,
67 "space-in-brackets": 2,
68 "quotes": [
69 2,
70 "single"
71 ],
72 "no-new": 2,
73 "no-empty": 0,
74 "key-spacing": 0,
75 "no-multi-spaces": 0,
76 "no-underscore-dangle": 0,
77 "no-shadow": 0,
78 "curly": 0,
79 "no-constant-condition": 0
80 },
81 "env": {
82 "node": true,
83 "browser": true
84 },
85 "globals": {
86 "Buffer": true
87 }
88 }
89}