UNPKG

@metamask/snaps-browserify-plugin

Version:

A Browserify plugin to build MetaMask Snaps with Browserify

106 lines 3.55 kB
{ "name": "@metamask/snaps-browserify-plugin", "version": "4.2.0", "description": "A Browserify plugin to build MetaMask Snaps with Browserify", "keywords": [ "MetaMask", "Snaps", "Ethereum", "Browserify", "Plugin" ], "homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-browserify-plugin#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-browserify-plugin", "changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-browserify-plugin", "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/snaps-utils": "^8.7.0", "convert-source-map": "^1.8.0", "readable-stream": "^3.6.2" }, "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", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@ts-bridge/cli": "^0.6.1", "@types/browserify": "^12.0.37", "@types/convert-source-map": "^1.5.2", "@types/jest": "^27.5.1", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^6.21.0", "browserify": "^17.0.0", "concat-stream": "^2.0.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", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", "prettier": "^2.8.8", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3" }, "engines": { "node": "^18.16 || >=20" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }