-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.23 KB
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
{
"name": "@metamask/sample-snap",
"version": "0.0.0",
"description": "The 'Hello, world!' of MetaMask Snaps, now written in TypeScript",
"keywords": [
"Ethereum",
"MetaMask"
],
"homepage": "https://github.com/MetaMask/internal-snaps/tree/main/packages/sample-snap#readme",
"bugs": {
"url": "https://github.com/MetaMask/internal-snaps/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/internal-snaps.git"
},
"files": [
"dist/",
"snap.manifest.json",
"images/",
"locales/"
],
"main": "./dist/bundle.js",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"allow-scripts": "yarn workspace root allow-scripts",
"build": "mm-snap build",
"build:clean": "yarn clean && yarn build",
"changelog:update": "../../scripts/update-changelog.sh @metamask/sample-snap",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/sample-snap",
"clean": "rimraf dist",
"lint": "yarn lint:eslint && yarn lint:misc --check",
"lint:eslint": "eslint . --cache --ext js,ts",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier '**/*.json' '**/*.md' '**/*.yml' '!.yarnrc.yml' --ignore-path ../../.gitignore --no-error-on-unmatched-pattern",
"prepublishOnly": "mm-snap manifest",
"serve": "mm-snap serve",
"start": "mm-snap watch",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
"test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
"test:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"since-latest-release": "../../scripts/since-latest-release.sh"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"@metamask/auto-changelog": "^6.1.0",
"@metamask/snaps-cli": "^8.3.0",
"@metamask/snaps-jest": "^9.8.0",
"@metamask/snaps-sdk": "^11.0.0",
"@types/react": "18.2.4",
"@types/react-dom": "18.2.4",
"eslint": "^9.39.1",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"typescript": "~5.8.3"
},
"engines": {
"node": ">=20"
}
}