forked from ai/size-limit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.3 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
{
"private": true,
"scripts": {
"bump": "./scripts/bump",
"release": "./scripts/each pnpx clean-publish",
"clean": "rm -Rf packages/*/node_modules/ node_modules/ node-warnings.logs out/ coverage/",
"test": "jest --coverage --forceExit && eslint . && sh scripts/max-listeners-check.sh"
},
"devDependencies": {
"@logux/eslint-config": "^47.2.0",
"@size-limit/dual-publish": "workspace:^7.0.8",
"@size-limit/esbuild": "workspace:^7.0.8",
"@size-limit/file": "workspace:^7.0.8",
"@size-limit/preset-app": "workspace:^7.0.8",
"@size-limit/preset-big-lib": "workspace:^7.0.8",
"@size-limit/preset-small-lib": "workspace:^7.0.8",
"@size-limit/time": "workspace:^7.0.8",
"@size-limit/webpack": "workspace:^7.0.8",
"@size-limit/webpack-why": "workspace:^7.0.8",
"clean-publish": "^4.0.0",
"cross-spawn": "^7.0.3",
"dual-publish": "^3.0.1",
"eslint": "^8.14.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.1.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.0.0",
"jest": "^27.5.1",
"print-snapshots": "^0.4.2",
"redux": "^4.2.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"
}
}