-
Notifications
You must be signed in to change notification settings - Fork 542
/
package.json
104 lines (104 loc) · 3.62 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "@metamask/snaps-jest",
"version": "7.0.2",
"description": "A Jest preset for end-to-end testing MetaMask Snaps, including a Jest environment, and a set of Jest matchers.",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/types/index.d.ts"
},
"./jest-preset": "./jest-preset.js",
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"jest-preset.js"
],
"scripts": {
"test": "jest --passWithNoTests && yarn posttest",
"posttest": "jest-it-up",
"test:ci": "yarn test",
"lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx",
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies",
"lint:ci": "yarn lint",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:changelog": "../../scripts/validate-changelog.sh @metamask/snaps-jest",
"build": "tsup --clean && yarn build:types",
"build:types": "tsc --project tsconfig.build.json",
"clean": "rimraf '*.tsbuildinfo' 'dist'",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck",
"build:ci": "tsup --clean"
},
"dependencies": {
"@jest/environment": "^29.5.0",
"@jest/expect": "^29.5.0",
"@jest/globals": "^29.5.0",
"@metamask/base-controller": "^5.0.1",
"@metamask/eth-json-rpc-middleware": "^12.1.0",
"@metamask/json-rpc-engine": "^8.0.1",
"@metamask/json-rpc-middleware-stream": "^7.0.1",
"@metamask/key-tree": "^9.0.0",
"@metamask/permission-controller": "^9.0.2",
"@metamask/snaps-controllers": "workspace:^",
"@metamask/snaps-execution-environments": "workspace:^",
"@metamask/snaps-rpc-methods": "workspace:^",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/snaps-utils": "workspace:^",
"@metamask/utils": "^8.3.0",
"@reduxjs/toolkit": "^1.9.5",
"express": "^4.18.2",
"jest-environment-node": "^29.5.0",
"jest-matcher-utils": "^29.5.0",
"readable-stream": "^3.6.2",
"redux": "^4.2.1",
"redux-saga": "^1.2.3",
"superstruct": "^1.0.3"
},
"devDependencies": {
"@jest/types": "^29.6.3",
"@lavamoat/allow-scripts": "^3.0.3",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/eslint-config": "^12.1.0",
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@types/jest": "^27.5.1",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.0.2",
"jest-it-up": "^2.0.0",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^4.1.2",
"tsup": "^8.0.1",
"typescript": "~4.8.4"
},
"engines": {
"node": "^18.16 || >=20"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"packageManager": "yarn@3.4.1"
}