All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
{
|
|
"name": "pbf",
|
|
"version": "3.2.1",
|
|
"description": "a low-level, lightweight protocol buffers implementation in JavaScript",
|
|
"main": "index.js",
|
|
"unpkg": "dist/pbf.js",
|
|
"jsdelivr": "dist/pbf.js",
|
|
"scripts": {
|
|
"bench": "node bench/bench.js",
|
|
"test": "eslint index.js compile.js test/*.js bench/bench-tiles.js bin/pbf && tap test/*.test.js && npm run build-min",
|
|
"cov": "tap test/*.test.js --cov --coverage-report=html",
|
|
"build-min": "mkdirp dist && browserify index.js -s Pbf | uglifyjs -c -m > dist/pbf.js",
|
|
"build-dev": "mkdirp dist && browserify index.js -d -s Pbf > dist/pbf-dev.js",
|
|
"prepublishOnly": "npm run build-dev && npm run build-min"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"dist",
|
|
"compile.js"
|
|
],
|
|
"bin": {
|
|
"pbf": "bin/pbf"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:mapbox/pbf.git"
|
|
},
|
|
"keywords": [
|
|
"protocol",
|
|
"buffer",
|
|
"pbf",
|
|
"protobuf",
|
|
"binary",
|
|
"format",
|
|
"serialization",
|
|
"encoder",
|
|
"decoder"
|
|
],
|
|
"author": "Konstantin Kaefer",
|
|
"license": "BSD-3-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/mapbox/pbf/issues"
|
|
},
|
|
"homepage": "https://github.com/mapbox/pbf",
|
|
"dependencies": {
|
|
"ieee754": "^1.1.12",
|
|
"resolve-protobuf-schema": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"benchmark": "^2.1.4",
|
|
"browserify": "^16.2.3",
|
|
"eslint": "^5.15.1",
|
|
"eslint-config-mourner": "^2.0.3",
|
|
"mkdirp": "^0.5.1",
|
|
"protobufjs": "^6.8.8",
|
|
"protocol-buffers": "^4.1.0",
|
|
"tap": "^12.6.0",
|
|
"tile-stats-runner": "^1.0.0",
|
|
"uglify-js": "^3.6.1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "mourner",
|
|
"rules": {
|
|
"space-before-function-paren": [
|
|
2,
|
|
"never"
|
|
],
|
|
"key-spacing": 0,
|
|
"no-empty": 0,
|
|
"global-require": 0,
|
|
"no-cond-assign": 0,
|
|
"indent": [
|
|
2,
|
|
4,
|
|
{
|
|
"flatTernaryExpressions": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|