Skip to content

Commit

Permalink
Upgrade dependencies to try fixing install problem with fsevents/shar…
Browse files Browse the repository at this point in the history
…p/node-gyp
  • Loading branch information
bvaughn committed Apr 23, 2022
1 parent 5b37ad5 commit c06bd87
Show file tree
Hide file tree
Showing 4 changed files with 11,244 additions and 5,462 deletions.
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"name": "react-window",
"version": "1.8.7",
"description":
"React components for efficiently rendering large, scrollable lists and tabular data",
"author":
"Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)",
"description": "React components for efficiently rendering large, scrollable lists and tabular data",
"author": "Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)",
"contributors": [
"Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)"
],
Expand Down Expand Up @@ -36,7 +34,10 @@
],
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"files": ["dist", "src/*.js"],
"files": [
"dist",
"src/*.js"
],
"sideEffects": false,
"scripts": {
"flow": "flow check --max-warnings=0 src && flow check website",
Expand All @@ -46,8 +47,7 @@
"lint": "eslint '**/*.js'",
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build:flow":
"cp flow-template dist/index.cjs.js.flow && cp flow-template dist/index.esm.js.flow",
"build:flow": "cp flow-template dist/index.cjs.js.flow && cp flow-template dist/index.esm.js.flow",
"build:source": "rollup -c",
"build": "del dist && mkdir dist && yarn build:flow && yarn build:source",
"start": "rollup -c -w",
Expand All @@ -57,7 +57,10 @@
"website:run": "cd website && yarn start"
},
"lint-staged": {
"{website,src}/**/*.{js,json,css}": ["prettier --write", "git add"],
"{website,src}/**/*.{js,json,css}": [
"prettier --write",
"git add"
],
"**/*.js": "eslint --max-warnings 0"
},
"dependencies": {
Expand Down
29 changes: 20 additions & 9 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"scripts": {
"build": "node scripts/build.js",
"deploy": "now deploy ./build && now alias",
"postbuild":
"rm ./build/static/css/*.map && rm ./build/static/js/*.map && cp ./now.json ./build/",
"postbuild": "rm ./build/static/css/*.map && rm ./build/static/js/*.map && cp ./now.json ./build/",
"predeploy": "yarn build",
"start": "node scripts/start.js",
"test": "node scripts/test.js --env=jsdom"
Expand Down Expand Up @@ -69,8 +68,12 @@
"whatwg-fetch": "2.0.3"
},
"jest": {
"collectCoverageFrom": ["src/**/*.{js,jsx,mjs}"],
"setupFiles": ["<rootDir>/config/polyfills.js"],
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
Expand All @@ -80,10 +83,11 @@
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json)$)":
"<rootDir>/config/jest/fileTransform.js"
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": ["[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
Expand All @@ -98,7 +102,9 @@
]
},
"babel": {
"presets": ["react-app"]
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
Expand All @@ -113,6 +119,11 @@
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [">1%", "last 4 versions", "Firefox ESR", "not ie < 11"]
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
}
}
Loading

0 comments on commit c06bd87

Please sign in to comment.