UNPKG

@onflow/flow-js-testing

Version:

This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest

87 lines (86 loc) 2.4 kB
{ "name": "@onflow/flow-js-testing", "version": "0.6.0", "description": "This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest", "repository": { "type": "git", "url": "https://github.com/onflow/flow-js-testing" }, "bin": { "flow-js-testing": "./bin/index.js" }, "scripts": { "build": "microbundle --no-compress", "generate-code": "node_modules/.bin/flow-generate -i ./cadence -o ./src/generated", "lint": "eslint -c .eslintrc.js src", "check-headers": "sh ./check-headers.sh", "prettify": "prettier --write ./src", "start": "microbundle watch", "test": "jest --runInBand --coverage", "changeset": "changeset", "prerelease": "npm run build && npm run test", "release": "changeset publish" }, "keywords": [ "flow", "cadence", "testing" ], "source": "src/index.js", "main": "dist/index.js", "module": "dist/index.module.js", "unpkg": "dist/index.umd.js", "sideEffects": false, "author": "Maksim Daunarovich", "license": "Apache-2.0", "prettier": { "semi": false, "trailingComma": "es5", "bracketSpacing": false, "arrowParens": "avoid" }, "jest": { "collectCoverageFrom": [ "src/**/*.js", "!src/**/index.js", "!src/generated/**/*.js", "!src/cli/**/*.js", "!src/exports.js" ], "testPathIgnorePatterns": [ "<rootDir>/node_modules/" ], "testMatch": [ "**/(test)/**/?(*.)+(spec|test).[jt]s?(x)" ] }, "dependencies": { "@onflow/fcl": "1.3.2", "@onflow/flow-cadut": "^0.3.0-stable-cadence.1", "elliptic": "^6.5.4", "esm": "^3.2.25", "jest-environment-uint8array": "^1.0.0", "js-sha256": "^0.9.0", "js-sha3": "^0.8.0", "rimraf": "^3.0.2", "rlp": "^2.2.6", "semver": "^7.6.2", "yargs": "^17.0.1" }, "devDependencies": { "@babel/core": "^7.21.0", "@babel/preset-env": "^7.14.5", "@changesets/changelog-github": "^0.4.5", "@changesets/cli": "^2.23.0", "@onflow/flow-cadut-generator": "^0.1.1-stable-cadence.0", "babel-jest": "^27.0.2", "eslint": "^7.24.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-prettier": "^4.2.1", "jest": "^27.0.3", "jest-esm-transformer": "^1.0.0", "microbundle": "^0.13.0", "prettier": "^2.2.1" } }