mui-flex-layout
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"extends": ["plugin:react/recommended", "plugin:prettier/recommended"], | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"browser": true | ||
"node": true | ||
}, | ||
"parser": "babel-eslint", | ||
"extends": [ | ||
"sharongrossman/react", | ||
"plugin:prettier/recommended" | ||
], | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "latest" | ||
} | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
"react/jsx-boolean-value": [ | ||
"error", | ||
"never" | ||
], | ||
"react/jsx-closing-bracket-location": "error", | ||
"react/jsx-curly-spacing": "error", | ||
"react/jsx-equals-spacing": "error", | ||
"react/jsx-first-prop-new-line": [ | ||
"error", | ||
"multiline" | ||
], | ||
"react/jsx-indent-props": [ | ||
"error", | ||
2 | ||
], | ||
"react/jsx-indent": [ | ||
"error", | ||
2 | ||
], | ||
"react/jsx-key": "error", | ||
"react/jsx-no-duplicate-props": "error", | ||
"react/jsx-no-target-blank": "error", | ||
"react/jsx-no-undef": "error", | ||
"react/jsx-no-literals": "error", | ||
"react/jsx-no-comment-textnodes": "error", | ||
"react/jsx-pascal-case": "error", | ||
"react/jsx-uses-react": "error", | ||
"react/jsx-uses-vars": "error", | ||
"react/jsx-wrap-multilines": "error", | ||
"react/no-danger-with-children": "error", | ||
"react/no-find-dom-node": "error", | ||
"react/no-deprecated": "error", | ||
"react/no-did-mount-set-state": "error", | ||
"react/no-did-update-set-state": "error", | ||
"react/no-direct-mutation-state": "error", | ||
"react/no-is-mounted": "error", | ||
"react/no-multi-comp": "error", | ||
"react/no-render-return-value": "error", | ||
"react/no-string-refs": "error", | ||
"react/no-unknown-property": "error", | ||
"react/prefer-es6-class": ["error", "always"], | ||
"react/prefer-stateless-function": "error", | ||
"react/react-in-jsx-scope": "error", | ||
"react/require-render-return": "error", | ||
"react/self-closing-comp": "error", | ||
"react/display-name": "off", | ||
"react/forbid-component-props": "off", | ||
"react/forbid-prop-types": "off", | ||
"react/jsx-filename-extension": "off", | ||
"react/jsx-handler-names": "off", | ||
"react/jsx-max-props-per-line": "off", | ||
"react/jsx-no-bind": "error", | ||
"react/jsx-sort-props": "off", | ||
"react/no-children-prop": "error", | ||
"react/no-comment-textnodes": "off", | ||
"react/no-danger": "off", | ||
"react/no-set-state": "off", | ||
"react/no-unescaped-entities": "error", | ||
"react/no-unused-prop-types": "off", | ||
"react/prop-types": "off", | ||
"react/require-extension": "off", | ||
"react/require-optimization": "off", | ||
"react/sort-comp": "off", | ||
"react/sort-prop-types": "off", | ||
"react/style-prop-object": "error", | ||
"react/wrap-multilines": "off", | ||
"react/jsx-tag-spacing": "error", | ||
"react/no-array-index-key": "error", | ||
"react/require-default-props": "off", | ||
"react/forbid-elements": "off", | ||
"react/forbid-foreign-prop-types": "off", | ||
"react/void-dom-elements-no-children": "error", | ||
"react/default-props-match-prop-types": "error", | ||
"react/jsx-closing-tag-location": "error", | ||
"react/no-redundant-should-component-update": "error", | ||
"react/no-will-update-set-state": "error", | ||
"react/boolean-prop-naming": "off", | ||
"react/jsx-curly-brace-presence": "off", | ||
"react/no-typos": "error", | ||
"react/no-unused-state": "error", | ||
"react/button-has-type": "error", | ||
"react/destructuring-assignment": "error", | ||
"react/jsx-one-expression-per-line": "off", | ||
"react/no-access-state-in-setstate": "error", | ||
"react/forbid-dom-props": "off", | ||
"react/jsx-child-element-spacing": "off", | ||
"react/jsx-max-depth": "off", | ||
"react/jsx-sort-default-props": "off", | ||
"react/no-this-in-sfc": "error", | ||
"react/no-unsafe": "error", | ||
"react/jsx-props-no-multi-spaces": "error", | ||
"react/jsx-fragments": ["error", "syntax"] | ||
"sourceType": "module" | ||
} | ||
} |
{ | ||
"name": "mui-flex-layout", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "lib/index.js", | ||
@@ -14,4 +14,11 @@ "module": "lib/index.es.js", | ||
"lint": "eslint src --fix", | ||
"prepublish": "npm run build" | ||
"prepublish": "yarn build" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"mui", | ||
"material-ui", | ||
"flex", | ||
"flexbox" | ||
], | ||
"dependencies": {}, | ||
@@ -26,6 +33,6 @@ "devDependencies": { | ||
"@material-ui/core": "^4.3.3", | ||
"@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"babel-eslint": "^10.0.3", | ||
"eslint": "^6.3.0", | ||
"eslint-config-prettier": "^6.1.0", | ||
"eslint-config-sharongrossman": "^0.0.2", | ||
"eslint-plugin-import": "^2.18.2", | ||
@@ -32,0 +39,0 @@ "eslint-plugin-prettier": "^3.1.0", |
@@ -1,34 +0,29 @@ | ||
import babel from 'rollup-plugin-babel' | ||
import commonjs from 'rollup-plugin-commonjs' | ||
import resolve from 'rollup-plugin-node-resolve' | ||
import babel from 'rollup-plugin-babel'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
import pkg from './package.json' | ||
import pkg from './package.json'; | ||
export default { | ||
input: 'src/index.js', | ||
output: [ | ||
{ | ||
file: pkg.main, | ||
format: 'cjs', | ||
exports: 'named' | ||
}, | ||
{ | ||
file: pkg.module, | ||
format: 'es', | ||
exports: 'named' | ||
} | ||
], | ||
external: [ | ||
'react', | ||
'react-dom', | ||
'prop-types', | ||
'@material-ui/core' | ||
], | ||
plugins: [ | ||
babel({ | ||
exclude: 'node_modules/**' | ||
}), | ||
resolve(), | ||
commonjs() | ||
] | ||
} | ||
input: 'src/index.js', | ||
output: [ | ||
{ | ||
file: pkg.main, | ||
format: 'cjs', | ||
exports: 'named', | ||
}, | ||
{ | ||
file: pkg.module, | ||
format: 'es', | ||
exports: 'named', | ||
}, | ||
], | ||
external: ['react', 'react-dom', '@material-ui/core'], | ||
plugins: [ | ||
babel({ | ||
exclude: 'node_modules/**', | ||
}), | ||
resolve(), | ||
commonjs(), | ||
], | ||
}; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ export { default as Row } from './Row'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
11464
239