Skip to content

Commit

Permalink
update files
Browse files Browse the repository at this point in the history
  • Loading branch information
robinweser committed Sep 28, 2021
1 parent de97679 commit 6534ed1
Show file tree
Hide file tree
Showing 8 changed files with 2,656 additions and 1,234 deletions.
4 changes: 0 additions & 4 deletions .jshintrc

This file was deleted.

17 changes: 8 additions & 9 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
trailingComma: "es5",
singleQuote: true,
bracketSpacing: true,
jsxBracketSameLine: true,
parser: "babylon",
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: false
"trailingComma": "es5",
"singleQuote": true,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false
}
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

21 changes: 10 additions & 11 deletions generateDefaultData.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
import generateData from './modules/generator'

const defaultBrowserSupport = {
chrome: 55,
android: 5,
firefox: 52,
ios_saf: 9,
safari: 9,
ie: 11,
edge: 12,
opera: 30,
chrome: 80,
android: 8,
firefox: 70,
ios_saf: 12,
safari: 12,
ie: 12,
edge: 18,
opera: 55,
op_mini: 12,
and_uc: 11,
and_chr: 55,
and_chr: 80,
}

generateData(defaultBrowserSupport, {
path: `${__dirname}/modules/data.js`,
plugins: false,
plugins: true,
})
25 changes: 11 additions & 14 deletions modules/generator/maps/pluginMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ export default {
safari: 10,
},
cursor: {
firefox: maximumVersion,
chrome: maximumVersion,
safari: maximumVersion,
opera: maximumVersion,
firefox: 24,
chrome: 37,
safari: 9,
opera: 24,
},
filter: {
ios_saf: maximumVersion,
ios_saf: 9.3,
safari: 9.1,
},
flex: {
Expand All @@ -50,7 +50,6 @@ export default {
safari: 6.2,
ios_saf: 6.2,
android: 4.4,
and_uc: maximumVersion,
},
gradient: {
firefox: 16,
Expand All @@ -60,7 +59,6 @@ export default {
opera: 12.1,
op_mini: 12.1,
android: 4.4,
and_uc: maximumVersion,
},
grid: {
edge: 16,
Expand All @@ -71,24 +69,23 @@ export default {
safari: maximumVersion,
opera: maximumVersion,
and_chr: maximumVersion,
and_uc: maximumVersion,
ios_saf: maximumVersion,
},
logical: {
chrome: 68,
safari: maximumVersion,
opera: maximumVersion,
safari: 12,
opera: 55,
and_chr: 66,
ios_saf: maximumVersion,
ios_saf: 12,
firefox: 40,
},
position: {
safari: maximumVersion,
ios_saf: maximumVersion,
safari: 12.1,
ios_saf: 12.4,
},
sizing: {
chrome: 46,
safari: maximumVersion,
safari: 10.1,
opera: 33,
and_chr: 53,
ios_saf: maximumVersion,
Expand Down
2 changes: 1 addition & 1 deletion modules/plugins/sizing.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ const values = {

export default function sizing(property: string, value: any): ?Array<any> {
if (properties.hasOwnProperty(property) && values.hasOwnProperty(value)) {
return prefixes.map(prefix => prefix + value)
return prefixes.map((prefix) => prefix + value)
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"caniuse-api": "^3.0.0",
"codeclimate-test-reporter": "^0.1.1",
"cross-env": "^5.2.0",
"eslint": "^3.14.0",
"eslint-config-airbnb": "^14.0.0",
Expand All @@ -73,7 +72,7 @@
"gitbook-plugin-github": "^2.0.0",
"gitbook-plugin-prism": "^2.4.0",
"jest": "^19.0.2",
"prettier": "^1.14.2",
"prettier": "^2.2.1",
"rimraf": "^2.6.2"
}
}
Loading

0 comments on commit 6534ed1

Please sign in to comment.