UNPKG

libzim

Version:

Bindings to zimlib (read/write OpenZIM files)

68 lines (67 loc) 2.2 kB
{ "name": "libzim", "version": "1.0.0", "description": "Bindings to zimlib (read/write OpenZIM files)", "main": "lib/index", "scripts": { "configure": "node-pre-gyp configure", "build": "node-pre-gyp build", "debug-build": "node-pre-gyp --debug build", "rebuild": "node-pre-gyp rebuild", "debug-rebuild": "node-pre-gyp --debug rebuild", "mocha-check-es6": "if node -e 'process.exit(/v0[.]/.test(process.version) ? 0 : 1)' ; then npm run mocha-es5 ; else npm run mocha ; fi", "mocha-es5": "mocha test/sanity.js", "mocha": "mocha --harmony", "jscs-check-node": "if node -e 'process.exit(/v0[.]/.test(process.version) ? 0 : 1)' ; then echo Skipping jscs ; else npm run jscs ; fi", "jslint": "jshint . && npm run jscs-check-node", "jscs": "jscs .", "jscs-fix": "jscs --fix .", "cpplint": "scripts/cpplint.py --root=src src/*.h src/*.cc", "lint": "npm run jslint && npm run cpplint", "test": "npm run lint && npm run mocha-check-es6", "valgrind": "valgrind --trace-children=yes --leak-check=full node --gc_interval=1 node_modules/.bin/_mocha --timeout 0", "install": "node-pre-gyp install --fallback-to-build", "prepublishx": "npm-package-integrity", "gh-publish": "scripts/publish.js", "clean": "rm -rf node_modules lib/binding build" }, "bin": { "zimdump": "./bin/zimdump.js" }, "binary": { "module_name": "zim", "module_path": "./lib/binding/{node_abi}-{platform}-{arch}", "host": "https://github.com", "remote_path": "/cscott/node-libzim/releases/download/{version}/" }, "dependencies": { "nan": "^2.1.0", "node-pre-gyp": "^0.6.28", "yargs": "^4.7.1" }, "bundleDependencies": [ "node-pre-gyp" ], "devDependencies": { "jscs": "^3.0.4", "jshint": "^2.9.2", "mocha": "^2.5.3", "npm-package-integrity": "^1.1.1", "should": "^9.0.2" }, "repository": { "type": "git", "url": "cscott/node-libzim" }, "keywords": [ "zim", "libzim", "zimlib", "openzim" ], "author": "C. Scott Ananian <cscott@cscott.net>", "license": "GPL-2.0", "bugs": { "url": "https://github.com/cscott/node-libzim/issues" } }