File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " fxa-auth-client" ,
3
+ "type" : " commonjs" ,
4
+ "exports" : {
5
+ "." : " ./server.js" ,
6
+ "./lib/client" : " ./client.js" ,
7
+ "./lib/crypto" : " ./lib/crypto.js" ,
8
+ "./lib/hawk" : " ./lib/hawk.js" ,
9
+ "./lib/recoveryKey" : " ./lib/recoveryKey.js" ,
10
+ "./lib/utils" : " ./lib/utils.js" ,
11
+ "./lib/*" : " ./lib/*.js"
12
+ }
13
+ }
Original file line number Diff line number Diff line change 35
35
"scripts" : {
36
36
"lint" : " eslint . --ext .ts" ,
37
37
"postinstall" : " (tsc --build tsconfig.browser.json && tsc --build) || true" ,
38
- "build" : " tsc --build tsconfig.browser.json && tsc --build && tsc --build tsconfig.cjs.json && echo '{ \" type \" : \" commonjs \" }' > ./dist/server/cjs/packages/fxa-auth-client/package.json" ,
38
+ "build" : " tsc --build tsconfig.browser.json && tsc --build && tsc --build tsconfig.cjs.json && cp .cjs.package.json ./dist/server/cjs/packages/fxa-auth-client/package.json" ,
39
39
"compile" : " tsc --noEmit" ,
40
40
"ts-check" : " tsc --noEmit" ,
41
41
"test" : " mocha -r esbuild-register test/*" ,
You can’t perform that action at this time.
0 commit comments