UNPKG

@firefly-dex/v2-periphery

Version:

🎚 Peripheral smart contracts for interacting with Firefly V2

53 lines (52 loc) • 1.72 kB
{ "name": "@firefly-dex/v2-periphery", "version": "1.1.3", "description": "🎚 Peripheral smart contracts for interacting with Firefly V2", "engines": { "node": ">=10" }, "homepage": "https://fireflydex.io", "repository": { "type": "git", "url": "https://github.com/firefly-dex/firefly-monorepo" }, "files": [ "build", "contracts" ], "dependencies": { "@firefly-dex/core-v2": "1.1.3", "@firefly-dex/lib": "4.0.1-alpha", "dotenv": "^16.4.5", "truffle-flattener": "^1.6.0" }, "devDependencies": { "@types/chai": "^4.2.6", "@types/mocha": "^5.2.7", "chai": "^4.2.0", "ethereum-waffle": "^2.4.1", "ethereumjs-util": "^6.2.0", "mocha": "^6.2.2", "ncp": "^2.0.0", "prettier": "^1.19.1", "rimraf": "^3.0.0", "solc": "0.6.6", "ts-node": "^8.5.4", "typescript": "^3.7.3" }, "scripts": { "lint": "yarn prettier ./test/*.ts --check", "lint:fix": "yarn prettier ./test/*.ts --write", "clean": "rimraf ./build/", "copy-v1-artifacts": "ncp ./buildV1 ./build", "precompile": "yarn clean", "deploy-manta": "yarn compile && node deploy/deployV2PeripheryManta.js", "compile": "waffle .waffle.json", "postcompile": "yarn copy-v1-artifacts", "flatten": "truffle-flattener contracts/FireflyV2Router02.sol", "check-init-hash": "grep -q 'e18d506bdf6c26150a9f9b08a8db1387f637b3156f5f2153ac6590f081824647' contracts/libraries/FireflyV2Library.sol || { echo '🚨 TO RUN TESTS, SET INIT HASH TO e18d506bdf6c26150a9f9b08a8db1387f637b3156f5f2153ac6590f081824647 🚨'; exit 1; }", "pretest": "yarn check-init-hash && yarn compile", "test": "mocha" }, "license": "GPL-3.0-or-later" }