UNPKG

merkle-btree

Version:
84 lines (83 loc) 2.64 kB
{ "name": "merkle-btree", "version": "1.0.24", "description": "Content-addressed b-tree", "main": "cjs/index.js", "browser": "dist/merkleBtree.js", "module": "es/index.js", "jsxnext:main": "es/index.js", "files": [ "dist", "cjs", "es", "src" ], "watch": { "lint:build": { "patterns": "src", "extensions": "js", "quiet": true, "inherit": true } }, "config": { "ghooks": { "pre-commit": "npm run lint:build:test", "pre-push": "npm run lint:build:test" } }, "scripts": { "prepublish": "npm run build", "release": "release-it", "lint": "npm run lint:eslint && npm run lint:flow", "lint:test": "npm run lint && npm run test:coverage", "lint:eslint": "eslint src/*.js", "lint:flow": "flow --color always", "lint:build": "npm run lint && npm run build:cjs -s", "lint:build:test": "npm run lint:build && npm run test:coverage", "test": "clear && jest", "test:watch": "clear && jest --watch", "test:coverage": "jest --coverage ", "build": "clear && npm run lint:build:test && npm run build:es && npm run build:umd", "build:watch": "clear && npm-watch", "build:es": "rimraf es && cross-env BABEL_ENV=es babel src --out-dir es", "build:cjs": "rimraf cjs && cross-env BABEL_ENV=cjs babel src --out-dir cjs", "build:umd": "rimraf dist && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c" }, "keywords": [], "author": "Martti Malmi (martti.malmi@iki.fi)", "license": "MIT", "repository": "mmalmi/merkle-btree", "devDependencies": { "babel-cli": "^6.18.0", "babel-core": "^6.21.0", "babel-jest": "^18.0.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-flow-strip-types": "^6.21.0", "babel-preset-es2015": "^6.18.0", "babel-preset-es2015-rollup": "^3.0.0", "cross-env": "^3.1.3", "eslint": "^3.12.2", "eslint-config-devine": "^1.6.1", "eslint-plugin-babel": "^4.0.0", "express": "^4.14.0", "flow-bin": "^0.37.4", "ghooks": "^2.0.0", "gun": "^0.9.992", "ipfs": "^0.20.4", "jest": "^18.1.0", "npm-watch": "^0.1.7", "release-it": "^2.5.2", "rimraf": "^2.5.4", "rollup": "^0.40.0", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-commonjs": "^7.0.0", "rollup-plugin-includepaths": "^0.1.8", "rollup-plugin-node-builtins": "^2.0.0", "rollup-plugin-node-globals": "^1.1.0", "rollup-plugin-node-resolve": "^2.0.0", "rollup-plugin-uglify": "^1.0.1" }, "dependencies": {} }