forked from alchemyplatform/aa-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.53 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
{
"name": "root",
"type": "module",
"private": true,
"workspaces": [
"packages/*",
"templates/*",
"examples/*"
],
"scripts": {
"build": "lerna run build --ignore=alchemy-daapp",
"build:examples": "lerna run build",
"clean": "lerna run clean",
"test": "lerna run test:run",
"test:e2e": "lerna run test:run-e2e --concurrency=1",
"lint:write": "eslint . --fix && prettier --write --ignore-unknown .",
"lint:check": "eslint . && prettier --check .",
"prepare": "husky install",
"version": "yarn build"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"eslint": "^8.39.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.27.5",
"husky": "^8.0.0",
"lerna": "^6.6.1",
"lint-staged": "^13.2.2",
"node-fetch": "^3.3.1",
"prettier": "^2.8.8",
"vitest": "^0.31.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": [
"react-app"
],
"env": {
"es2021": true,
"node": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"import/extensions": [
"error",
"ignorePackages"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "npx --no -- commitlint --edit ${1}"
}
},
"lint-staged": {
"**/src/*.{tsx,jsx,ts,js}": [
"eslint --fix",
"prettier --write --ignore-unknown"
]
}
}