File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 8
8
" Peggy Rayzis <peggy@meteor.com>"
9
9
],
10
10
"license" : " MIT" ,
11
- "main" : " ./lib/index.js" ,
11
+ "main" : " ./lib/cjs/ index.js" ,
12
12
"module" : " ./lib/index.js" ,
13
13
"jsnext:main" : " ./lib/index.js" ,
14
14
"typings" : " ./lib/index.d.ts" ,
20
20
"bugs" : " https://github.com/apollographql/apollo-cache-persist/issues" ,
21
21
"scripts" : {
22
22
"build:browser" : " browserify ./lib/bundle.umd.js -o=./lib/bundle.js && npm run minify:browser" ,
23
- "build" : " tsc -p ." ,
23
+ "build" : " tsc -p . && tsc -p ./tsconfig.cjs.json " ,
24
24
"bundle" : " rollup -c" ,
25
25
"clean" : " rimraf lib/* && rimraf coverage/*" ,
26
26
"coverage:upload" : " codecov" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "outDir" : " lib/cjs" ,
5
+ "module" : " commonjs"
6
+ }
7
+ }
You can’t perform that action at this time.
0 commit comments