@metamask/snaps-simulation
Version:
A simulation framework for MetaMask Snaps, enabling headless testing of Snaps in a controlled environment
105 lines • 3.54 kB
JSON
{
"name": "@metamask/snaps-simulation",
"version": "3.4.1",
"description": "A simulation framework for MetaMask Snaps, enabling headless testing of Snaps in a controlled environment",
"keywords": [
"MetaMask",
"Snaps",
"Ethereum"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-simulation#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"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"files": [
"dist"
],
"scripts": {
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
"changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-simulation",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-simulation",
"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",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier --no-error-on-unmatched-pattern --log-level 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/base-controller": "^8.0.1",
"@metamask/eth-json-rpc-middleware": "^17.0.1",
"@metamask/json-rpc-engine": "^10.0.2",
"@metamask/json-rpc-middleware-stream": "^8.0.7",
"@metamask/key-tree": "^10.1.1",
"@metamask/permission-controller": "^11.0.6",
"@metamask/phishing-controller": "^13.1.0",
"@metamask/snaps-controllers": "^14.2.1",
"@metamask/snaps-execution-environments": "^10.2.1",
"@metamask/snaps-rpc-methods": "^13.5.0",
"@metamask/snaps-sdk": "^9.3.0",
"@metamask/snaps-utils": "^11.4.0",
"@metamask/superstruct": "^3.2.1",
"@metamask/utils": "^11.4.2",
"@reduxjs/toolkit": "^1.9.5",
"fast-deep-equal": "^3.1.3",
"immer": "^9.0.21",
"mime": "^3.0.0",
"readable-stream": "^3.6.2",
"redux-saga": "^1.2.3"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.3.4",
"@metamask/auto-changelog": "^5.0.2",
"@ts-bridge/cli": "^0.6.1",
"@types/express": "^5.0.1",
"@types/jest": "^27.5.1",
"@types/mime": "^3.0.0",
"@types/readable-stream": "^4.0.15",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^9.11.0",
"express": "^5.1.0",
"jest": "^29.0.2",
"jest-it-up": "^2.0.0",
"jest-silent-reporter": "^0.6.0",
"prettier": "^3.3.3",
"ts-jest": "^29.1.1",
"typescript": "~5.3.3"
},
"engines": {
"node": "^20 || >=22"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}