UNPKG

fuel-core

Version:

Essential javascript architecture for the Fuel side chain

97 lines (96 loc) 4.66 kB
{ "name": "fuel-core", "version": "0.1.8", "description": "Essential javascript architecture for the Fuel side chain", "main": "index.js", "scripts": { "pm2-sync-ropsten": "pm2 start npm --name 'fuel-sync-ropsten' -- run node-sync-ropsten", "pm2-sync-goerli": "pm2 start npm --name 'fuel-sync-goerli' -- run node-sync-goerli", "pm2-sync-rinkeby": "pm2 start npm --name 'fuel-sync-rinkeby' -- run node-sync-rinkeby", "pm2-faucet-ropsten": "pm2 start npm --name 'fuel-faucet-ropsten' -- run node-faucet-ropsten", "pm2-faucet-goerli": "pm2 start npm --name 'fuel-faucet-goerli' -- run node-faucet-goerli", "pm2-faucet-rinkeby": "pm2 start npm --name 'fuel-faucet-rinkeby' -- run node-faucet-rinkeby", "test": "NODE_ENV=testing INDENT=true chain_id=10 npm run test-all | ./node_modules/.bin/tap-mocha-reporter spec", "build-fuel": "COMPILE=True node ./contracts/Fuel.js", "build-utility": "COMPILE=True node ./contracts/FuelUtility.js", "build-dai": "COMPILE=True node ./contracts/FakeDai.js", "setup-swap-rinkeby": "chain_id=4 node ./config/swap.js", "deploy-fuel-ropsten": "chain_id=3 node ./contracts/deploy.js", "deploy-fuel-goerli": "chain_id=5 node ./contracts/deploy.js", "deploy-fuel-rinkeby": "chain_id=4 node ./contracts/deploy.js", "deploy-lambdas-ropsten": "NODE_ENV=production chain_id=3 now --prod -e NODE_ENV=production -e chain_id=3", "deploy-lambdas-goerli": "NODE_ENV=production chain_id=5 now --prod -e NODE_ENV=production -e chain_id=5", "deploy-lambdas-rinkeby": "NODE_ENV=production chain_id=4 now -e NODE_ENV=production -e chain_id=4", "test-all": "NODE_ENV=testing chain_id=10 node ./tests/test.Fuel.js", "test-node-sync": "NODE_ENV=testing chain_id=10 reset=1 providerServer=True node ./nodes/sync.test.js --max-old-space-size=8192", "test-node-faucet": "NODE_ENV=testing chain_id=10 providerServer=True node ./nodes/faucet.test.js", "test-sync-inspect": "NODE_ENV=testing chain_id=10 node --expose-gc --inspect=9224 ./nodes/sync.test.js", "test-sync-prof": "NODE_ENV=testing chain_id=10 providerServer=True node --prof ./nodes/sync.test.js", "node-ganache": "NODE_ENV=production chain_id=10 node ./nodes/ganache.node.js", "node-sync-ropsten": "NODE_ENV=production chain_id=3 node ./nodes/sync.node", "node-faucet-ropsten": "NODE_ENV=production chain_id=3 node ./nodes/faucet.node", "node-verifier-ropsten": "NODE_ENV=production chain_id=3 verifier=1 node ./nodes/sync.node", "node-sync-goerli": "NODE_ENV=production chain_id=5 node ./nodes/sync.node", "node-faucet-goerli": "NODE_ENV=production chain_id=5 node ./nodes/faucet.node", "node-verifier-goerli": "NODE_ENV=production chain_id=5 verifier=1 node ./nodes/sync.node", "node-sync-rinkeby": "NODE_ENV=production chain_id=4 node ./nodes/sync.node", "node-faucet-rinkeby": "NODE_ENV=production chain_id=4 node ./nodes/faucet.node", "node-verifier-rinkeby": "NODE_ENV=production chain_id=4 verifier=1 node ./nodes/sync.node", "test-browser": "parcel browser/index.html --https", "reset-ropsten": "chain_id=3 node config/reset.js", "reset-goerli": "chain_id=5 node config/reset.js", "reset-rinkeby": "chain_id=4 node config/reset.js", "accounts-ropsten": "chain_id=3 node config/accounts.js", "accounts-goerli": "chain_id=5 node config/accounts.js", "accounts-rinkeby": "chain_id=4 node config/accounts.js", "lambda-account": "micro --port 3004 lambdas/account.js", "flame": "node --prof-process --preprocess -j isolate*.log | flamebearer" }, "keywords": [ "fuel", "optimistic", "rollups", "ethereum", "side chain" ], "engines": { "node": "12.x" }, "author": "Nick Dodson <nick.dodson@fuel.sh>", "license": "Apache-2.0", "browserslist": [ "last 1 Chrome versions" ], "devDependencies": { "fs-readfile-promise": "^3.0.1", "ganache-core": "^2.9.1-beta.0", "solc": "^0.5.12", "tap-mocha-reporter": "^5.0.0", "write": "^2.0.0", "zora": "^3.0.3" }, "optionalDependencies": { "@sentry/node": "^5.10.2", "level": "^6.0.0", "leveldown": "^5.4.1", "pubnub": "^4.27.3", "rimraf": "^3.0.0" }, "dependencies": { "axios": "^0.19.1", "bn.js": "^5.1.1", "browser-or-node": "^1.2.1", "ethers": "^4.0.42", "ethjs-provider-http": "^0.1.6", "ethjs-rpc": "^0.2.0", "level-js": "^5.0.1", "levelup": "^4.3.2", "localstorage-down": "^0.6.7", "memdown": "^5.1.0", "micro": "^9.3.4", "micro-cors": "^0.1.1", "mysql": "^2.18.1", "mysql2": "^2.1.0", "stream-to-array": "^2.3.0" } }