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 3
3
"version" : " 0.0.0-semantically-released" ,
4
4
"description" : " Simple and complete DOM testing utilities that encourage good testing practices." ,
5
5
"main" : " dist/index.js" ,
6
+ "umd:main" : " dist/dom-testing-library.umd.js" ,
7
+ "source" : " src/index.js" ,
6
8
"typings" : " typings" ,
7
9
"keywords" : [
8
10
" testing" ,
22
24
},
23
25
"scripts" : {
24
26
"add-contributor" : " kcd-scripts contributors add" ,
25
- "build" : " kcd-scripts build" ,
27
+ "build" : " kcd-scripts build && kcd-scripts build --bundle umd --no-clean " ,
26
28
"lint" : " kcd-scripts lint" ,
27
29
"test" : " kcd-scripts test" ,
28
30
"test:update" : " npm test -- --updateSnapshot --coverage" ,
45
47
"devDependencies" : {
46
48
"dtslint" : " ^0.3.0" ,
47
49
"jest-in-case" : " ^1.0.2" ,
48
- "kcd-scripts" : " ^0.37.0"
50
+ "kcd-scripts" : " ^0.37.0" ,
51
+ "microbundle" : " ^0.4.4"
49
52
},
50
53
"eslintConfig" : {
51
54
"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