Skip to content

Commit

Permalink
Update packages and rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarkelov committed Jan 7, 2019
1 parent e7ac2ff commit 7a2da1b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,37 +46,37 @@
"react": ">= 16.6.x"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^5.10.0",
"eslint": "^5.12.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.3.0",
"eslint-plugin-react": "^7.12.3",
"husky": "^1.3.1",
"jest": "^23.5.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3",
"prop-types": "^15.6.2",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"rollup": "^0.68.1",
"rollup-plugin-babel": "^4.1.0",
"rollup": "^1.0.2",
"rollup-plugin-babel": "^4.2.0",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^3.0.0"
"rollup-plugin-terser": "^4.0.1"
},
"keywords": [
"react",
Expand Down
5 changes: 2 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ const formats = ['cjs', 'esm', 'umd'];

const outputs = formats.map(format => ({
file: [
name,
path.join(__dirname, 'dist', name),
format,
NODE_ENV === 'production' ? 'production.min' : false,
'js',
]
.filter(Boolean)
.join('.'),
dir: path.resolve(__dirname, 'dist'),
format: format,
format,
sourcemap: NODE_ENV === 'production',
globals: {
react: 'React',
Expand Down

0 comments on commit 7a2da1b

Please sign in to comment.