fix stubs glob in files of package.json

This commit is contained in:
Robin Malfait 2023-03-15 22:31:12 +01:00
parent 27cb947784
commit ac1738e748
No known key found for this signature in database
GPG key ID: 92F53D68B9041AFE
2 changed files with 5 additions and 14 deletions

View file

@ -40,7 +40,7 @@
"lib/*",
"peers/*",
"scripts/*.js",
"stubs/*.{js,ts,cjs}",
"stubs/*",
"nesting/*",
"types/**/*",
"*.d.ts",

View file

@ -38,7 +38,7 @@
"lib/*",
"peers/*",
"scripts/*.js",
"stubs/*.stub.js",
"stubs/*",
"nesting/*",
"types/**/*",
"*.d.ts",
@ -96,26 +96,17 @@
"resolve": "^1.22.1",
"sucrase": "^3.29.0"
},
"browserslist": [
"> 1%",
"not edge <= 18",
"not ie 11",
"not op_mini all"
],
"browserslist": ["> 1%", "not edge <= 18", "not ie 11", "not op_mini all"],
"jest": {
"testTimeout": 30000,
"setupFilesAfterEnv": [
"<rootDir>/jest/customMatchers.js"
],
"setupFilesAfterEnv": ["<rootDir>/jest/customMatchers.js"],
"testPathIgnorePatterns": [
"/node_modules/",
"/integrations/",
"/standalone-cli/",
"\\.test\\.skip\\.js$"
],
"transformIgnorePatterns": [
"node_modules/(?!lightningcss)"
],
"transformIgnorePatterns": ["node_modules/(?!lightningcss)"],
"transform": {
"\\.js$": "@swc/jest",
"\\.ts$": "@swc/jest"