forked from onflow/flow-js-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.32 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@onflow/flow-js-testing",
"version": "0.5.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/fcl-config": "^0.0.1",
"@onflow/flow-cadut": "0.2.0-alpha.9",
"@onflow/types": "^1.0.5",
"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",
"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",
"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"
}
}