chainscript
Version:
Client for chainscript.io
91 lines (90 loc) • 3.8 kB
JSON
{
"name": "chainscript",
"version": "0.35.3",
"description": "Client for chainscript.io",
"main": "lib/index.js",
"config": {
"chainscript_uuid": "chainscript:envelope:6c1bffc7-d18e-4cb6-b133-4f86a9dfb1ff"
},
"scripts": {
"build:lib": "babel src --out-dir lib",
"build:lib:watch": "babel src --out-dir lib --watch",
"build:umd": "webpack src/index.js dist/chainscript.js --config webpack.dev.config.js",
"build:umd:min": "webpack src/index.js dist/chainscript.min.js -p --config webpack.prod.config.js",
"build": "npm run build:lib && npm run build:umd && npm run build:umd:min",
"check": "npm run lint && npm run test",
"clean": "rimraf lib dist coverage",
"lint": "eslint src test",
"preversion": "npm run clean && npm run check",
"version": "npm run build",
"postversion": "npm run notarize && git add chainscript.json && git commit -m Notarize && git push && git push --tags && npm run clean",
"prepublish": "npm run clean && npm run build",
"test": "mocha --compilers js:babel/register --recursive --require should",
"test:watch": "npm test -- --watch",
"test:cov": "babel-node ./node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- --recursive --require should",
"genesis": "./bin/chainscript genesis --revision-auditing true > chainscript.json",
"notarize": "mv chainscript.json tmp.json && cat tmp.json | ./bin/cshashfiles -r files -- -u @ -U \"name:$npm_package_name\" -U \"author:$npm_package_author_name\" -U \"version:$npm_package_version\" -U \"homepage:$npm_package_homepage\" -U \"repository_url:$npm_package_repository_url\" -U \"license:$npm_package_license\" -S $npm_config_chainscript_js_wif -n > chainscript.json && rm tmp.json",
"verify": "cat chainscript.json | ./bin/csverifyfiles -r body.content.files --",
"env": "env",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build -g rackt/redux",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'Update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'Update book' && git push git@github.com:Chainscript/chainscript-js gh-pages --force"
},
"bin": {
"chainscript": "bin/chainscript",
"cshashfiles": "bin/cshashfiles",
"csverifyfiles": "bin/csverifyfiles",
"cswritetopdf": "bin/cswritetopdf",
"csreadfrompdf": "bin/csreadfrompdf",
"cshashpdf": "bin/cshashpdf",
"csverifypdf": "bin/csverifypdf"
},
"repository": {
"type": "git",
"url": "https://github.com/Chainscript/chainscript-js.git"
},
"keywords": [
"chainscript",
"blockchain",
"contract",
"bitcoin",
"client"
],
"devDependencies": {
"babel": "^5.8.23",
"babel-core": "^5.8.25",
"babel-eslint": "^4.1.3",
"babel-loader": "^5.3.2",
"eslint": "^1.5.1",
"eslint-config-airbnb": "0.0.8",
"gitbook-cli": "^0.3.6",
"gitbook-plugin-edit-link": "^1.4.1",
"isparta": "^3.0.4",
"mocha": "^2.3.3",
"rimraf": "^2.4.3",
"should": "^7.1.0",
"sinon": "^1.17.0",
"webpack": "^1.12.2"
},
"author": "Chainscript Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/Chainscript/chainscript-js/issues"
},
"homepage": "https://github.com/Chainscript/chainscript-js",
"dependencies": {
"bitcore": "^0.13.3",
"bitcore-message": "^0.12.0",
"bs58": "^3.0.0",
"commander": "^2.8.1",
"ignore": "^2.2.16",
"invert-hash": "0.0.0",
"json-hash": "^1.1.0",
"merge-deep": "^2.0.1",
"multihashes": "^0.1.3",
"object-path": "^0.9.2",
"superagent": "^1.4.0"
}
}