|
16 | 16 | "scripts": { |
17 | 17 | "build": "mm-snap build", |
18 | 18 | "build:clean": "yarn clean && yarn build", |
| 19 | + "changelog:update": "../../../../scripts/update-changelog.sh @metamask/send-flow-example-snap", |
| 20 | + "changelog:validate": "../../../../scripts/validate-changelog.sh @metamask/send-flow-example-snap", |
19 | 21 | "clean": "rimraf \"dist\"", |
20 | | - "lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies", |
21 | | - "lint:changelog": "../../../../scripts/validate-changelog.sh @metamask/jsx-example-snap", |
| 22 | + "lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies", |
22 | 23 | "lint:ci": "yarn lint", |
| 24 | + "lint:dependencies": "depcheck", |
23 | 25 | "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", |
24 | 26 | "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", |
25 | 27 | "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", |
| 28 | + "publish:preview": "yarn npm publish --tag preview", |
26 | 29 | "start": "mm-snap watch", |
27 | 30 | "test": "yarn test:e2e", |
28 | | - "test:e2e": "jest", |
29 | | - "publish:preview": "yarn npm publish --tag preview", |
30 | | - "lint:dependencies": "depcheck" |
| 31 | + "test:e2e": "jest" |
31 | 32 | }, |
32 | 33 | "dependencies": { |
33 | 34 | "@metamask/rpc-errors": "^6.3.1", |
|
42 | 43 | "@metamask/eslint-config-nodejs": "^12.1.0", |
43 | 44 | "@metamask/eslint-config-typescript": "^12.1.0", |
44 | 45 | "@metamask/snaps-cli": "workspace:^", |
45 | | - "@metamask/snaps-controllers": "workspace:^", |
46 | 46 | "@metamask/snaps-jest": "workspace:^", |
47 | | - "@metamask/utils": "^9.2.1", |
48 | 47 | "@swc/core": "1.3.78", |
49 | 48 | "@swc/jest": "^0.2.26", |
50 | 49 | "@typescript-eslint/eslint-plugin": "^5.42.1", |
|
60 | 59 | "eslint-plugin-prettier": "^4.2.1", |
61 | 60 | "eslint-plugin-promise": "^6.1.1", |
62 | 61 | "jest": "^29.0.2", |
63 | | - "prettier": "^2.7.1", |
64 | | - "prettier-plugin-packagejson": "^2.2.11", |
| 62 | + "prettier": "^2.8.8", |
| 63 | + "prettier-plugin-packagejson": "^2.5.2", |
65 | 64 | "ts-node": "^10.9.1", |
66 | 65 | "typescript": "~5.3.3" |
67 | 66 | }, |
|
0 commit comments