UNPKG

factom

Version:

Library to build applications on the Factom blockchain

89 lines (88 loc) 2.9 kB
{ "name": "factom", "version": "1.4.3", "description": "Library to build applications on the Factom blockchain", "main": "src/factom.js", "types": "factom.d.ts", "scripts": { "docs": "documentation build --github --sort-order alpha src/** -f md > docs/doc.md", "docs-html": "documentation build src/** --sort-order alpha -f html -o docs", "lint": "eslint \"{src,test}/**/*.js\"", "format": "prettier --write \"{src,test}/**/*.js\" README.md changelog.md factom.d.ts", "build": "webpack", "prepublishOnly": "npm run format && npm run lint && npm run build && npm run test && npm run docs", "test": "nyc --reporter=html --reporter=text mocha 'test/*.spec.js'", "coveralls": "nyc report --reporter=text-lcov | coveralls", "test:integration": "mocha test/*.integration.spec.js", "test:unit": "mocha test/*unit.spec.js" }, "repository": { "type": "git", "url": "git+https://github.com/PaulBernier/factomjs.git" }, "keywords": [ "factom", "blockchain", "factoid", "fct", "transaction", "entry-credit", "factom-cli" ], "author": "Paul Bernier", "license": "MIT", "bugs": { "url": "https://github.com/PaulBernier/factomjs/issues" }, "homepage": "https://github.com/PaulBernier/factomjs#readme", "dependencies": { "axios": "^0.24.0", "base-58": "0.0.1", "bluebird": "^3.7.2", "hash.js": "^1.1.7", "long": "^5.2.0", "retry": "^0.13.1", "tweetnacl": "^1.0.3" }, "devDependencies": { "@babel/core": "^7.16.0", "@babel/plugin-transform-async-to-generator": "^7.16.0", "@babel/plugin-transform-modules-commonjs": "^7.16.0", "@babel/plugin-transform-runtime": "^7.16.4", "@babel/preset-env": "^7.16.4", "@babel/runtime": "^7.16.3", "@commitlint/cli": "^15.0.0", "@commitlint/config-conventional": "^15.0.0", "babel-loader": "^8.2.3", "buffer": "^6.0.3", "chai": "^4.3.4", "coveralls": "^3.1.1", "documentation": "^13.2.5", "dotenv": "^10.0.0", "eslint": "^8.3.0", "https-browserify": "^1.0.0", "husky": "^7.0.4", "lint-staged": "^12.1.2", "mocha": "^9.1.3", "nyc": "^15.1.0", "prettier": "2.5.0", "sinon": "^12.0.1", "stream-http": "^3.2.0", "url": "^0.11.0", "webpack": "^5.64.4", "webpack-cli": "^4.9.1" }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "{src,test}/**/*.js": [ "eslint --fix", "prettier --write", "git add" ] } }