Skip to content

Commit 6e7fd11

Browse files
leibattdomoritzLeilani Battle
authored
updating packages: chai, rollup, terser, source-map-support (#455)
Co-authored-by: Dominik Moritz <[email protected]> Co-authored-by: Leilani Battle <[email protected]>
1 parent dfde7f0 commit 6e7fd11

File tree

3 files changed

+180
-119
lines changed

3 files changed

+180
-119
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,21 @@
5151
"homepage": "https://github.com/uwdata/compassql#readme",
5252
"devDependencies": {
5353
"@babel/core": "^7.2.2",
54-
"@types/chai": "^4.1.3",
54+
"@rollup/plugin-commonjs": "^16.0.0",
55+
"@rollup/plugin-json": "^4.1.0",
56+
"@rollup/plugin-node-resolve": "^10.0.0",
57+
"@types/chai": "^4.2.14",
5558
"@types/jest": "^22.2.3",
5659
"babel-jest": "^24.0.0",
5760
"babel-polyfill": "^6.26.0",
5861
"babel-preset-es2015": "^6.24.1",
59-
"chai": "^4.1.2",
62+
"chai": "^4.2.0",
6063
"concurrently": "^5.3.0",
6164
"jest": "^23.6.0",
62-
"rollup": "^1.1.0",
63-
"rollup-plugin-commonjs": "^9.2.0",
64-
"rollup-plugin-json": "^3.1.0",
65-
"rollup-plugin-node-resolve": "^4.0.0",
66-
"rollup-plugin-sourcemaps": "^0.4.2",
67-
"source-map-support": "^0.5.10",
68-
"terser": "^3.14.1",
65+
"rollup": "^2.32.1",
66+
"rollup-plugin-sourcemaps": "^0.6.3",
67+
"source-map-support": "^0.5.19",
68+
"terser": "^5.3.8",
6969
"ts-jest": "^23.10.5",
7070
"tslint": "~4.3.1",
7171
"typescript": "^3.4.5",

rollup.config.js

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import json from 'rollup-plugin-json';
2-
import nodeResolve from 'rollup-plugin-node-resolve';
3-
import commonjs from 'rollup-plugin-commonjs';
1+
import json from '@rollup/plugin-json';
2+
import nodeResolve from '@rollup/plugin-node-resolve';
3+
import commonjs from '@rollup/plugin-commonjs';
44
import sourcemaps from 'rollup-plugin-sourcemaps';
55

66
export default {
@@ -14,23 +14,7 @@ export default {
1414
plugins: [
1515
nodeResolve(),
1616
json(),
17-
commonjs({
18-
namedExports: {
19-
'datalib/src/util': [
20-
'isArray',
21-
'cmp',
22-
'keys',
23-
'duplicate',
24-
'extend',
25-
'isObject',
26-
'isBoolean',
27-
'toMap',
28-
'isString'
29-
],
30-
'datalib/src/stats.js': ['summary'],
31-
'datalib/src/import/type': ['inferAll']
32-
}
33-
}),
17+
commonjs(),
3418
sourcemaps()
3519
]
3620
};

0 commit comments

Comments
 (0)