forked from iotaledger/firefly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.54 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
{
"private": true,
"workspaces": [
"packages/mobile",
"packages/desktop",
"packages/shared"
],
"devDependencies": {
"@babel/eslint-parser": "^7.15.0",
"@iota/types": "^1.0.0-beta.9",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.57.1",
"@types/node": "^18.15.11",
"eslint": "^8.37.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-svelte3": "^3.4.1",
"husky": "^7.0.0",
"lint-staged": "^12.3.3",
"node-hid": "^2.1.2",
"patch-package": "^6.4.7",
"prettier": "^2.3.2",
"prettier-plugin-svelte": "^2.7.0",
"retypeapp": "^2.3.0"
},
"scripts": {
"check-strict": "yarn check-strict:desktop && yarn check-strict:shared",
"check-strict:desktop": "cd packages/desktop && tsc --project tsconfig.strict.json --pretty --noEmit",
"check-strict:mobile": "cd packages/mobile && tsc --project tsconfig.strict.json --pretty --noEmit",
"check-strict:shared": "cd packages/shared && tsc --project tsconfig.json --pretty --noEmit",
"check-types": "yarn check-types:shared && yarn check-types:desktop",
"check-types:desktop": "cd packages/desktop && tsc --pretty --noEmit",
"check-types:shared": "cd packages/shared && tsc --project tsconfig.base.json --pretty --noEmit",
"docs:start": "cd docs/ && retype watch",
"format": "yarn format:write",
"format:check": "prettier -c \"**/*.{ts,js,json,scss,css,svelte}\"",
"format:write": "prettier -w \"**/*.{ts,js,json,scss,css,svelte}\"",
"lint": "yarn lint:fix",
"lint:check": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"pre-commit": "yarn format-check && yarn lint",
"prepare": "husky install",
"postinstall": "yarn postinstall:patch && yarn postinstall:usb",
"postinstall:patch": "patch-package",
"postinstall:usb": "npm rebuild usb --build-from-source",
"test": "yarn test:shared",
"test:shared": "cd packages/shared && yarn test"
},
"resolutions": {
"ansi-regex": "5.0.1",
"glob-parent": " >=5.1.2",
"lodash": ">=4.17.21",
"nanoid": "^3.1.31",
"node-abi": "^3.8.0",
"nwsapi": "^2.2.1",
"prompts": "^2.4.2",
"selfsigned": "^2.0.1",
"shell-quote": "1.7.3"
},
"lint-staged": {
"*.{ts,js,svelte}": "eslint --cache --fix",
"*.{ts,js,json,scss,css,svelte}": "prettier --write"
}
}