Skip to content

Commit

Permalink
feat(browser): add browserslist for packages who uses it
Browse files Browse the repository at this point in the history
- for example autoprefixer can use that to know which prefixer are required for the browsers we selected
- also update requirement for newer LTS versions of NodeJS and NPM
  • Loading branch information
ghiscoding committed Mar 22, 2020
1 parent 26c4cc2 commit fc69908
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lerna": "^3.20.2"
},
"engines": {
"node": ">=10.16.0",
"npm": ">=6.1.0"
"node": ">=12.13.1",
"npm": ">=6.12.1"
}
}
12 changes: 10 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@
"test": "node_modules/.bin/jest --runInBand --coverage --config ../../test/jest.config.js",
"test:watch": "node_modules/.bin/jest --config ../../test/jest.config.js --watch"
},
"browserslist": [
"last 2 version",
"> 1%",
"maintained node versions",
"not dead",
"OperaMini",
"IE 11"
],
"dependencies": {
"dompurify": "^2.0.8",
"flatpickr": "^4.6.3",
Expand Down Expand Up @@ -80,7 +88,7 @@
"typescript": "^3.8.3"
},
"engines": {
"node": ">=10.16.0",
"npm": ">=6.1.0"
"node": ">=12.13.1",
"npm": ">=6.12.1"
}
}
12 changes: 10 additions & 2 deletions packages/vanilla-bundle-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@
"author": "Ghislain B.",
"license": "MIT",
"engines": {
"node": ">=10.16.0",
"npm": ">=6.1.0"
"node": ">=12.13.1",
"npm": ">=6.12.1"
},
"main": "src/slickgrid-universal/index",
"browserslist": [
"last 2 version",
"> 1%",
"maintained node versions",
"not dead",
"OperaMini",
"IE 11"
],
"dependencies": {
"@slickgrid-universal/common": "^0.0.2",
"@slickgrid-universal/vanilla-bundle": "^0.0.2",
Expand Down
12 changes: 10 additions & 2 deletions packages/vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,17 @@
"author": "Ghislain B.",
"license": "MIT",
"engines": {
"node": ">=10.16.0",
"npm": ">=6.1.0"
"node": ">=12.13.1",
"npm": ">=6.12.1"
},
"browserslist": [
"last 2 version",
"> 1%",
"maintained node versions",
"not dead",
"OperaMini",
"IE 11"
],
"dependencies": {
"@slickgrid-universal/common": "^0.0.2",
"slickgrid": "^2.4.19"
Expand Down

0 comments on commit fc69908

Please sign in to comment.