forked from MetaMask/snaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.76 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": "root",
"version": "0.28.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps-monorepo.git"
},
"workspaces": [
"packages/*"
],
"scripts": {
"setup": "yarn install",
"postinstall": "simple-git-hooks",
"publish:all": "./scripts/publish-all.sh",
"link-packages": "./scripts/link-packages.sh",
"lint:eslint": "eslint . --cache --ext js,ts",
"lint:misc": "prettier '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' '**/*.html' --ignore-path .gitignore",
"lint:changelogs": "yarn workspaces foreach --parallel --verbose run lint:changelog",
"lint:tsconfig": "node scripts/verify-tsconfig.mjs",
"lint": "yarn lint:tsconfig && yarn lint:eslint && yarn lint:misc --check",
"lint:fix": "yarn lint:tsconfig && yarn lint:eslint --fix && yarn lint:misc --write",
"build": "yarn build:tsc && yarn build:post-tsc",
"build:clean": "yarn clean && yarn build",
"build:tsc": "tsc --build tsconfig.build.json",
"build:post-tsc": "yarn workspaces foreach --parallel --topological --verbose run build:post-tsc",
"clean": "yarn workspaces foreach --parallel --verbose run clean",
"test": "yarn workspaces foreach --parallel --verbose run test",
"test:ci": "yarn workspace @metamask/snaps-execution-environments run build:test && yarn workspaces foreach --parallel --verbose run test:ci"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged && yarn dedupe --check"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
],
"!(CHANGELOG).{json,yml,md}": [
"prettier --write"
]
},
"devDependencies": {
"@lavamoat/allow-scripts": "^2.0.3",
"@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",
"@types/jest": "^27.5.1",
"@types/node": "^14.14.25",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"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",
"lint-staged": "^12.4.1",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.7.0",
"ts-jest": "^29.0.0",
"typescript": "~4.8.4"
},
"engines": {
"node": ">=16.0.0"
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"simple-git-hooks": false,
"$root$": false
}
},
"packageManager": "[email protected]"
}