File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33 "version" : " 0.0.0-semantically-released" ,
44 "description" : " Simple and complete DOM testing utilities that encourage good testing practices." ,
55 "main" : " dist/index.js" ,
6+ "umd:main" : " dist/dom-testing-library.umd.js" ,
7+ "source" : " src/index.js" ,
68 "typings" : " typings" ,
79 "keywords" : [
810 " testing" ,
2224 },
2325 "scripts" : {
2426 "add-contributor" : " kcd-scripts contributors add" ,
25- "build" : " kcd-scripts build" ,
27+ "build" : " kcd-scripts build && kcd-scripts build --bundle umd --no-clean " ,
2628 "lint" : " kcd-scripts lint" ,
2729 "test" : " kcd-scripts test" ,
2830 "test:update" : " npm test -- --updateSnapshot --coverage" ,
4547 "devDependencies" : {
4648 "dtslint" : " ^0.3.0" ,
4749 "jest-in-case" : " ^1.0.2" ,
48- "kcd-scripts" : " ^0.37.0"
50+ "kcd-scripts" : " ^0.37.0" ,
51+ "microbundle" : " ^0.4.4"
4952 },
5053 "eslintConfig" : {
5154 "extends" : " ./node_modules/kcd-scripts/eslint.js" ,
Original file line number Diff line number Diff line change 1+ const rollupConfig = require ( 'kcd-scripts/dist/config/rollup.config' )
2+
3+ // the exports in this library should always be named for all formats.
4+ rollupConfig . output [ 0 ] . exports = 'named'
5+ module . exports = rollupConfig
You can’t perform that action at this time.
0 commit comments