/
package.json
80 lines (80 loc) · 2.79 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
{
"name": "@metamask/rollup-plugin-example-snap",
"version": "0.35.2-flask.1",
"description": "MetaMask example snap demonstrating how to use the Rollup plugin to bundle a snap.",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "(MIT-0 OR Apache-2.0)",
"sideEffects": false,
"main": "./dist/bundle.js",
"files": [
"dist/",
"images/icon.svg",
"snap.manifest.json"
],
"scripts": {
"build": "rollup --config",
"build:clean": "yarn clean && yarn build",
"clean": "rimraf \"dist\"",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog",
"lint:changelog": "yarn auto-changelog validate",
"lint:ci": "yarn lint",
"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\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore",
"test": "yarn test:e2e",
"test:e2e": "jest",
"start": "yarn build --watch",
"prepare-manifest:preview": "../../../../scripts/prepare-preview-manifest.sh",
"publish:preview": "yarn npm publish --tag preview"
},
"dependencies": {
"@metamask/rpc-errors": "^5.1.1",
"@metamask/snaps-types": "workspace:^"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.12",
"@babel/preset-typescript": "^7.20.12",
"@jest/globals": "^29.5.0",
"@lavamoat/allow-scripts": "^2.3.1",
"@metamask/auto-changelog": "^3.1.0",
"@metamask/eslint-config": "^11.0.0",
"@metamask/eslint-config-jest": "^11.0.0",
"@metamask/eslint-config-nodejs": "^11.0.1",
"@metamask/eslint-config-typescript": "^11.0.0",
"@metamask/snaps-jest": "workspace:^",
"@metamask/snaps-rollup-plugin": "workspace:^",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@swc/core": "^1.3.66",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"deepmerge": "^4.2.2",
"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-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"rollup": "^2.73.0",
"ts-node": "^10.9.1",
"typescript": "~4.8.4"
},
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}