UNPKG

nanocurrency

Version:

A toolkit for the Nano cryptocurrency, allowing you to derive keys, generate seeds, hashes, signatures, proofs of work and blocks.

75 lines (74 loc) 2.82 kB
{ "name": "nanocurrency", "description": "A toolkit for the Nano cryptocurrency, allowing you to derive keys, generate seeds, hashes, signatures, proofs of work and blocks.", "version": "2.5.0", "author": { "name": "Marvin ROGER", "email": "dev@marvinroger.fr", "url": "https://www.marvinroger.fr" }, "browser": { "path": false, "fs": false, "crypto": false, "util": false, "./dist/nanocurrency.cjs.js": "./dist/nanocurrency.umd.js" }, "bugs": "https://github.com/marvinroger/nanocurrency-js/issues", "dependencies": { "bignumber.js": "^9.0.0", "blakejs": "^1.1.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", "@types/node": "^13.7.7", "cross-env": "^7.0.0", "cross-os": "^1.2.2", "cross-var": "^1.1.0", "puppeteer": "^2.1.1", "rimraf": "^3.0.2", "rollup": "^1.6.0", "rollup-plugin-auto-external": "3.0.0-alpha.0", "rollup-plugin-license": "^0.13.0", "rollup-plugin-terser": "^5.2.0", "rollup-plugin-typescript2": "^0.26.0" }, "files": [ "dist/" ], "homepage": "https://github.com/marvinroger/nanocurrency-js/tree/master/packages/nanocurrency", "keywords": [ "crypto", "currency", "nano", "pow", "raiblocks" ], "license": "GPL-3.0", "main": "dist/nanocurrency.cjs.js", "module": "dist/nanocurrency.esm.js", "types": "dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/marvinroger/nanocurrency-js.git" }, "scripts": { "build:dev": "yarn build:dev:assembly && yarn build:dev:js", "build:dev:js": "rimraf dist/ && cross-env NODE_ENV=development rollup -c", "build:dev:assembly": "cross-env EMCC_ARGS=\"\" cross-os build:assembly__cross", "build:assembly__common": "cross-var docker run --rm -v $PWD:/src trzeci/emscripten:sdk-tag-1.38.29-64bit emcc -o assembly.js $EMCC_ARGS -s MODULARIZE=1 -s SINGLE_FILE=1 -s \"EXTRA_EXPORTED_RUNTIME_METHODS=[\\\"cwrap\\\"]\" src/assembly/functions.c src/assembly/blake2/ref/blake2b-ref.c", "build:assembly__cross": { "darwin": "cross-env PWD=\"$(pwd)\" yarn build:assembly__common", "linux": "cross-env PWD=\"$(pwd)\" yarn build:assembly__common", "win32": "cross-env PWD=\"%cd%\" yarn build:assembly__common" }, "build:prod": "yarn build:prod:assembly && yarn build:prod:js", "build:prod:js": "rimraf dist/ && cross-env NODE_ENV=production rollup -c", "build:prod:assembly": "cross-env EMCC_ARGS=\"-s FILESYSTEM=0 -O3 --closure 1 --llvm-lto 3\" cross-os build:assembly__cross", "generate-docs": "fusee generate-docs", "lint": "fusee lint", "test": "fusee test", "prepublishOnly": "yarn build:prod && yarn test && yarn lint && yarn generate-docs" } }