-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 1.85 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
81
82
83
{
"name": "eth-packages",
"license": "MIT",
"scripts": {
"format:check": "prettier --check .",
"lint": "eslint --cache .",
"test": "npx lerna run test --concurrency 1 --stream",
"test:changed": "npm run test -- --since master"
},
"dependencies": {
"lerna": "^7.0.2"
},
"devDependencies": {
"@types/chai-as-promised": "7.1.8",
"@types/mocha": "10.0.6",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"chai": "4.4.1",
"chai-as-promised": "7.1.1",
"eslint": "^8.43.0",
"eslint-config-bloq": "^4.0.2",
"husky": "^4.3.8",
"lint-staged": "^13.2.2",
"mocha": "10.4.0",
"prettier": "^3.2.5",
"sinon": "17.0.1"
},
"workspaces": [
"packages/*"
],
"eslintConfig": {
"extends": [
"bloq",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"ignorePatterns": "packages/*/dist/*",
"overrides": [
{
"files": [
"*.spec.js"
],
"extends": [
"bloq/mocha",
"prettier"
],
"globals": {
"after": "readonly",
"before": "readonly",
"describe": "readonly",
"it": "readonly"
},
"rules": {
"node/no-unpublished-require": "off"
}
}
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"root": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{css,js,json,md,ts,tsx,yml}": "prettier --write"
},
"prettier": {
"arrowParens": "avoid",
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none"
}
}