UNPKG

@iexec/iexec-oracle-factory-wrapper

Version:
88 lines (87 loc) 3.55 kB
{ "name": "@iexec/iexec-oracle-factory-wrapper", "version": "2.6.0", "description": "A wrapper for creating API based oracles for ethereum on the top of iExec", "types": "dist/index.d.ts", "type": "module", "main": "./dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "node": "./dist/index.js", "default": "./dist/index.js" } }, "scripts": { "build": "rm -rf dist && tsc --project tsconfig.build.json && npm run generate-doc", "check-types": "tsc --noEmit", "lint": "eslint .", "lint:fix": "eslint . --fix", "format": "prettier --write \"(src|tests)/**/*.ts\"", "check-format": "prettier --check \"(src|tests)/**/*.ts|tests/**/*.ts\"", "generate-doc": "./node_modules/typedoc/bin/typedoc --tsconfig tsconfig.json --disableSources", "stop-test-stack": "cd tests && docker compose --project-name oracle-factory-sdk down --volumes --remove-orphans", "start-test-stack": "cd tests && npm run stop-test-stack && node scripts/prepare-test-env.js && docker compose --project-name oracle-factory-sdk pull && docker compose --project-name oracle-factory-sdk up -d && npm run test:prepare", "test:prepare": "node tests/scripts/prepare-bellecour-fork-for-tests.js", "test": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/**/*.test.ts\" --forceExit -b", "test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/**/*.test.ts\" --forceExit --coverage", "test:unit": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/unit/**/*.test.ts\" --forceExit -b", "test:unit:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/unit/**/*.unit.ts\" --forceExit --coverage", "test:e2e": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/**/*.test.ts\" --forceExit -b", "test:e2e:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --testMatch \"**/tests/**/*.test.ts\" --forceExit --coverage" }, "repository": { "type": "git", "url": "git+https://github.com/iExecBlockchainComputing/iexec-oracle-factory-wrapper.git" }, "keywords": [ "iExec", "ethereum", "oracles" ], "author": "iExec", "license": "Apache-2.0", "bugs": { "url": "https://github.com/iExecBlockchainComputing/iexec-oracle-factory-wrapper/issues" }, "homepage": "https://github.com/iExecBlockchainComputing/iexec-oracle-factory-wrapper#readme", "files": [ "dist/", "src/" ], "dependencies": { "big.js": "^6.2.1", "buffer": "^6.0.3", "cids": "^1.1.9", "cross-fetch": "^4.0.0", "debug": "^4.3.4", "ethers": "^6.13.2", "iexec": "^8.13.1", "jsonpath": "^1.1.1", "kubo-rpc-client": "^3.0.2", "yup": "^1.3.3" }, "devDependencies": { "@jest/globals": "^29.7.0", "@swc/core": "^1.4.1", "@swc/jest": "^0.2.36", "@types/jest": "^29.5.12", "@types/node": "^20.11.16", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.56.0", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^27.8.0", "eslint-plugin-sonarjs": "^0.23.0", "jest": "^29.7.0", "prettier": "^3.2.5", "ts-node": "^10.9.2", "typedoc": "^0.26.2", "typedoc-plugin-markdown": "^4.1.0", "typedoc-plugin-missing-exports": "^3.0.0", "typedoc-plugin-rename-defaults": "^0.7.1", "typescript": "^5.5.2" } }