Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Semigradsky committed Jan 12, 2021
1 parent 174c44c commit a816049
Show file tree
Hide file tree
Showing 3 changed files with 2,041 additions and 9 deletions.
15 changes: 11 additions & 4 deletions .rollup.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
import babel from 'rollup-plugin-babel';
import babel from '@rollup/plugin-babel';

export default {
input: 'index.js',
output: [
{ file: 'index.cjs.js', format: 'cjs', sourcemap: true },
{ file: 'index.es.mjs', format: 'es', sourcemap: true }
{ file: 'index.cjs.js', format: 'cjs', sourcemap: true, exports: 'default' },
{ file: 'index.es.mjs', format: 'es', sourcemap: true, exports: 'default' }
],
plugins: [
babel({
babelHelpers: 'bundled',
plugins: [
'@babel/plugin-syntax-dynamic-import'
],
presets: [
['@babel/env', { modules: false, targets: { node: 6 } }]
['@babel/preset-env', {
corejs: 3,
loose: true,
modules: false,
targets: { node: 10 },
useBuiltIns: 'entry'
}]
]
})
]
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@
"node": ">=10.0.0"
},
"dependencies": {
"postcss-selector-parser": "^5.0.0-rc.3"
"postcss-selector-parser": "^6.0.4"
},
"devDependencies": {
"@babel/core": "^7.1.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"babel-eslint": "^9.0.0",
"eslint": "^5.6.0",
"@rollup/plugin-babel": "^5.2.1",
"babel-eslint": "^10.0.0",
"eslint": "^7.0.0",
"eslint-config-dev": "^2.0.0",
"postcss": "^8.1.2",
"postcss-tape": "^6.0.0",
"pre-commit": "^1.2.2",
"rollup": "^0.66.1",
"rollup-plugin-babel": "^4.0.3"
"rollup": "^2.0.0"
},
"peerDependencies": {
"postcss": "^8.1.2"
Expand Down
Loading

0 comments on commit a816049

Please sign in to comment.