-
Notifications
You must be signed in to change notification settings - Fork 569
/
Copy pathpackage.json
138 lines (138 loc) · 4.27 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@metamask/snaps-sdk",
"version": "6.14.0",
"description": "A library containing the core functionality for building MetaMask Snaps",
"keywords": [
"MetaMask",
"Snaps",
"Ethereum"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-sdk#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./jsx": {
"import": {
"types": "./dist/jsx/index.d.mts",
"default": "./dist/jsx/index.mjs"
},
"require": {
"types": "./dist/jsx/index.d.cts",
"default": "./dist/jsx/index.cjs"
}
},
"./jsx-runtime": {
"import": {
"types": "./dist/jsx/jsx-runtime.d.mts",
"default": "./dist/jsx/jsx-runtime.mjs"
},
"require": {
"types": "./dist/jsx/jsx-runtime.d.cts",
"default": "./dist/jsx/jsx-runtime.cjs"
}
},
"./jsx-dev-runtime": {
"import": {
"types": "./dist/jsx/jsx-dev-runtime.d.mts",
"default": "./dist/jsx/jsx-dev-runtime.mjs"
},
"require": {
"types": "./dist/jsx/jsx-dev-runtime.d.cts",
"default": "./dist/jsx/jsx-dev-runtime.cjs"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"files": [
"dist",
"jsx.js",
"jsx-dev-runtime.js",
"jsx-runtime.js",
"jsx.d.ts",
"jsx-dev-runtime.d.ts",
"jsx-runtime.d.ts"
],
"scripts": {
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
"changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-sdk",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-sdk",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
"publish:preview": "yarn npm publish --tag preview",
"since-latest-release": "../../scripts/since-latest-release.sh",
"test": "jest --reporters=jest-silent-reporter",
"test:clean": "jest --clearCache",
"test:post": "jest-it-up",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/key-tree": "^10.0.2",
"@metamask/providers": "^18.3.1",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/superstruct": "^3.1.0",
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.4",
"@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",
"@ts-bridge/cli": "^0.6.1",
"@types/jest": "^27.5.1",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"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": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"expect-type": "^0.17.3",
"jest": "^29.0.2",
"jest-fetch-mock": "^3.0.3",
"jest-it-up": "^2.0.0",
"jest-silent-reporter": "^0.6.0",
"prettier": "^2.8.8",
"prettier-plugin-packagejson": "^2.5.2",
"ts-jest": "^29.1.1",
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}