UNPKG

machinomy

Version:

Micropayments powered by Ethereum

113 lines (112 loc) 3.79 kB
{ "name": "machinomy", "version": "1.13.32", "description": "Micropayments powered by Ethereum", "author": "Sergey Ukustov <sergey.ukustov@machinomy.com>", "license": "Apache-2.0", "keywords": [ "micropayments", "ethereum", "state channels" ], "repository": { "type": "git", "url": "https://github.com/machinomy/machinomy.git" }, "scripts": { "build": "rm -rf ./lib/ && tsc --project tsconfig.json && rm -rf lib/storage/*/migrations/*.d.ts", "prepublish": "yarn lint && yarn build", "lint": "tslint --format stylish --project .", "migrate:postgresql": "db-migrate up --migrations-dir='./lib/storage/postgresql/migrations'", "migrate:sqlite": "db-migrate up --migrations-dir='./lib/storage/sqlite/migrations'", "migrate": "yarn migrate:postgresql && yarn migrate:sqlite", "integration_test": "yarn build && mocha integration_test/**/*.test.js", "test:all": "yarn test:nedb && yarn test:postgresql && yarn test:sqlite", "test:nedb": "DB_URL='nedb://' yarn test:pure", "test:postgresql": "DB_URL='postgresql://testuser:testpassword@127.0.0.1/testdb' yarn test:pure", "test:sqlite": "DB_URL='sqlite://./testdb.sqlite3' yarn test:pure", "test:pure": "mocha --compilers ts:ts-node/register ./**/*.test.ts", "test": "yarn test:sqlite && yarn test:nedb && yarn test:postgresql", "coverage": "yarn build && nyc --reporter=lcov yarn run test" }, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/", "migrations/", "examples/" ], "dependencies": { "@machinomy/contracts": "^4.1.5", "@machinomy/logger": "^0.0.5", "@machinomy/types-bn": "^0.0.3", "@machinomy/types-eth-sig-util": "^0.0.8", "@machinomy/types-truffle-contract": "^0.0.4", "@machinomy/types-web3": "^0.0.4", "@types/bignumber.js": "^4.0.2", "await-semaphore": "^0.1.3", "bignumber.js": "^4.1.0", "browser-or-node": "^1.0.2", "commander": "^2.9.0", "connection-string": "^0.5.3", "db-migrate": "^0.11.1", "db-migrate-pg": "^0.4.0", "db-migrate-sqlite3": "^0.3.x", "debug": "^3.1.0", "decko": "^1.2.0", "eth-sig-util": "^2.1.0", "ethereumjs-util": "^5.1.5", "fetch-ponyfill": "^6.0.0", "homedir": "https://github.com/ukstv/node-homedir", "nedb": "^1.8.0", "prompt": "^1.0.0", "request": "^2.76.0", "safe-buffer": "^5.1.2", "types-rlp": "^0.0.1", "uuid": "^3.2.1", "web3": "^0.20.1" }, "peerDependencies": { "pg": "^7.4.1", "sqlite3": "^4.0.4" }, "devDependencies": { "@machinomy/hdwallet-provider": "^1.1.0", "@machinomy/types-ethereumjs-util": "^0.0.12", "@types/body-parser": "^1.16.4", "@types/db-migrate": "https://github.com/machinomy/types-node-db-migrate", "@types/db-migrate-base": "^0.0.4", "@types/debug": "^0.0.30", "@types/ethereumjs-abi": "^0.6.1", "@types/expect": "^1.20.3", "@types/express": "^4.0.36", "@types/mocha": "^2.2.43", "@types/nedb": "^1.8.3", "@types/nock": "^8.2.1", "@types/node": "^10.0.0", "@types/pg": "^7.4.5", "@types/request": "^2.0.13", "@types/sinon": "^4.1.3", "@types/sqlite3": "^3.1.3", "@types/tmp": "^0.0.33", "@types/uuid": "^3.4.3", "body-parser": "^1.15.2", "coveralls": "^3.0.0", "db-migrate-plugin-typescript": "^2.0.0", "expect": "^22.3.0", "express": "^4.14.0", "ganache-cli": "^6.0.3", "istanbul": "^0.4.5", "mocha": "^5.0.0", "nock": "^9.0.9", "nyc": "^11.8.0", "pg": "^7.4.1", "sinon": "^4.1.5", "sqlite3": "^4.0.4", "tmp": "0.0.33", "tslint": "^5.10.0", "tslint-config-standard": "^7.0.0", "typescript": "^2.8.3" }, "gitHead": "ed82a1715141591937fb5e897f4691dd62f87004" }