Skip to content

Commit

Permalink
feat(size): update kcd-scripts (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist authored and Kent C. Dodds committed Oct 11, 2018
1 parent 3bdf3fd commit da3863e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 31 deletions.
60 changes: 30 additions & 30 deletions .size-snapshot.json
@@ -1,54 +1,54 @@
{
"preact/dist/downshift.cjs.js": {
"bundled": 51594,
"minified": 22044,
"gzipped": 6382
"bundled": 50885,
"minified": 21771,
"gzipped": 6211
},
"preact/dist/downshift.umd.min.js": {
"bundled": 56003,
"minified": 18564,
"gzipped": 6179
"bundled": 56007,
"minified": 18568,
"gzipped": 6193
},
"dist/downshift.umd.min.js": {
"bundled": 60311,
"minified": 19765,
"gzipped": 6727
"bundled": 60315,
"minified": 19769,
"gzipped": 6743
},
"dist/downshift.cjs.js": {
"bundled": 53025,
"minified": 23194,
"gzipped": 6584
"bundled": 52316,
"minified": 22921,
"gzipped": 6409
},
"dist/downshift.umd.js": {
"bundled": 89564,
"minified": 29772,
"gzipped": 9598
"bundled": 89568,
"minified": 29776,
"gzipped": 9613
},
"preact/dist/downshift.esm.js": {
"bundled": 51314,
"minified": 21817,
"gzipped": 6315,
"bundled": 50541,
"minified": 21504,
"gzipped": 6147,
"treeshaked": {
"rollup": {
"code": 16085,
"import_statements": 78
"code": 15786,
"import_statements": 319
},
"webpack": {
"code": 17130
"code": 17016
}
}
},
"dist/downshift.esm.js": {
"bundled": 52725,
"minified": 22952,
"gzipped": 6516,
"bundled": 51952,
"minified": 22639,
"gzipped": 6344,
"treeshaked": {
"rollup": {
"code": 16095,
"import_statements": 96
"code": 15796,
"import_statements": 337
},
"webpack": {
"code": 17173
"code": 17061
}
}
},
Expand All @@ -58,8 +58,8 @@
"gzipped": 9728
},
"preact/dist/downshift.umd.js": {
"bundled": 60544,
"minified": 21164,
"gzipped": 6955
"bundled": 60548,
"minified": 21168,
"gzipped": 6969
}
}
7 changes: 7 additions & 0 deletions other/misc-tests/jest.config.js
@@ -1,6 +1,13 @@
const jestConfig = require('kcd-scripts/config').jest
const babelHelpersList = require('@babel/helpers').list

module.exports = Object.assign(jestConfig, {
roots: ['.'],
testEnvironment: 'jsdom',
moduleNameMapper: babelHelpersList.reduce((aliasMap, helper) => {
aliasMap[
`@babel/runtime/helpers/esm/${helper}`
] = `@babel/runtime/helpers/${helper}`
return aliasMap
}, {}),
})
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -61,10 +61,12 @@
"react": ">=0.14.9"
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"compute-scroll-into-view": "^1.0.9",
"prop-types": "^15.6.0"
},
"devDependencies": {
"@babel/helpers": "^7.1.2",
"@types/react": "^16.4.14",
"babel-plugin-macros": "^2.4.2",
"babel-preset-react-native": "^5.0.0",
Expand All @@ -77,7 +79,7 @@
"flow-bin": "^0.82.0",
"flow-coverage-report": "^0.6.0",
"jest-dom": "^2.0.2",
"kcd-scripts": "^0.44.0",
"kcd-scripts": "^0.45.0",
"npm-run-all": "^4.1.2",
"preact": "^8.2.6",
"preact-render-to-string": "^3.7.0",
Expand Down

0 comments on commit da3863e

Please sign in to comment.