forked from ai/size-limit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 3.08 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"private": true,
"scripts": {
"bump": "./scripts/bump",
"postinstall": "./scripts/each yarn",
"test": "jest --coverage --forceExit && eslint . && yaspeller *.md packages/*/*.md && sh scripts/max-listeners-check.sh"
},
"workspaces": [
"packages/preset-small-lib",
"packages/preset-big-lib",
"packages/preset-app",
"packages/dual-publish",
"packages/size-limit",
"packages/webpack",
"packages/time",
"packages/file"
],
"devDependencies": {
"@logux/eslint-config": "^42.3.0",
"@logux/sharec-config": "^0.8.5",
"cross-spawn": "^7.0.3",
"dual-publish": "^1.0.3",
"eslint": "^7.14.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-let": "^1.1.0",
"eslint-plugin-prettierx": "^0.14.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unicorn": "^23.0.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.2",
"print-snapshots": "^0.3.2",
"typescript": "^4.1.2",
"yaspeller": "^7.0.0"
},
"eslintConfig": {
"extends": "@logux/eslint-config",
"rules": {
"node/no-unsupported-features/es-syntax": "off",
"security/detect-non-literal-require": "off",
"security/detect-non-literal-regexp": "off",
"node/global-require": "off"
},
"overrides": [
{
"files": "*.test.js",
"rules": {
"node/no-extraneous-require": "off"
}
},
{
"files": "packages/*/test/**/*.js",
"rules": {
"node/no-unpublished-require": "off"
}
},
{
"files": "packages/size-limit/run.js",
"rules": {
"consistent-return": "off"
}
}
]
},
"eslintIgnore": [
"node_modules",
"packages/size-limit/test/fixtures",
"**/errors.ts"
],
"jest": {
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"<rootDir>/packages/size-limit/test/fixtures"
],
"coverageThreshold": {
"global": {
"statements": 100
}
}
},
"yaspeller": {
"lang": "en",
"ignoreCapitalization": true,
"ignoreText": [
" \\(by [^)]+\\)."
],
"dictionary": [
"linter",
"JS",
"polyfills",
"MobX",
"UI",
"Autoprefixer",
"PostCSS",
"Browserslist",
"EmojiMart",
"Logux",
"webpack’s",
"bundler",
"Vue",
"Rollup",
"CI",
"gzip",
"js",
"KB",
"nanoid",
"npm",
"Storeon",
"Travis",
"webpack",
"Versioning",
"JSDoc",
"Puppeter",
"estimo",
"bundlers",
"CLI",
"CRM",
"brotli",
"PnP",
"ES",
"GitHub"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.md": "yaspeller",
"*.js": "eslint --fix"
},
"sharec": {
"config": "@logux/sharec-config",
"version": "0.8.5"
}
}