forked from ai/size-limit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.33 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
84
85
86
87
88
{
"private": true,
"scripts": {
"bump": "./scripts/bump",
"release": "./scripts/each pnpm clean-publish",
"clean": "rm -Rf packages/*/node_modules/ node_modules/ node-warnings.logs out/ coverage/",
"test": "jest --coverage && eslint . && sh scripts/max-listeners-check.sh"
},
"devDependencies": {
"@logux/eslint-config": "^47.2.0",
"@size-limit/dual-publish": "workspace:^8.0.0",
"@size-limit/esbuild": "workspace:^8.0.0",
"@size-limit/file": "workspace:^8.0.0",
"@size-limit/preset-app": "workspace:^8.0.0",
"@size-limit/preset-big-lib": "workspace:^8.0.0",
"@size-limit/preset-small-lib": "workspace:^8.0.0",
"@size-limit/time": "workspace:^8.0.0",
"@size-limit/webpack": "workspace:^8.0.0",
"@size-limit/webpack-why": "workspace:^8.0.0",
"clean-publish": "^4.0.1",
"cross-spawn": "^7.0.3",
"dual-publish": "^3.0.1",
"eslint": "^8.23.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.0.1",
"jest": "^28.1.3",
"print-snapshots": "^0.4.2",
"redux": "^4.2.0",
"size-limit-node-esbuild": "^0.1.0"
},
"eslintConfig": {
"extends": "@logux/eslint-config",
"rules": {
"n/global-require": "off",
"no-console": "off"
},
"overrides": [
{
"files": "*.test.js",
"rules": {
"n/no-extraneous-require": "off"
},
"globals": {
"describe": "readonly",
"it": "readonly",
"expect": "readonly",
"beforeAll": "readonly",
"beforeEach": "readonly",
"afterEach": "readonly",
"jest": "readonly"
}
},
{
"files": "packages/size-limit/run.js",
"rules": {
"consistent-return": "off"
}
}
]
},
"eslintIgnore": [
"node_modules",
"fixtures",
"**/errors.ts"
],
"jest": {
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"<rootDir>/fixtures"
],
"coverageThreshold": {
"global": {
"statements": 100
}
}
},
"prettier": {
"arrowParens": "avoid",
"jsxSingleQuote": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
}