diff --git a/packages/fxa-auth-client/.cjs.package.json b/packages/fxa-auth-client/.cjs.package.json deleted file mode 100644 index 69f62749943..00000000000 --- a/packages/fxa-auth-client/.cjs.package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "fxa-auth-client", - "type": "commonjs", - "exports": { - ".": "./server.js", - "./lib/client": "./client.js", - "./lib/crypto": "./lib/crypto.js", - "./lib/hawk": "./lib/hawk.js", - "./lib/recoveryKey": "./lib/recoveryKey.js", - "./lib/utils": "./lib/utils.js", - "./lib/*": "./lib/*.js" - } -} diff --git a/packages/fxa-auth-client/package.json b/packages/fxa-auth-client/package.json index cc4ca6222c7..30b1c85cced 100644 --- a/packages/fxa-auth-client/package.json +++ b/packages/fxa-auth-client/package.json @@ -34,8 +34,8 @@ }, "scripts": { "lint": "eslint . --ext .ts", - "postinstall": "(tsc --build tsconfig.browser.json && tsc --build) || true", - "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", + "postinstall": "(tsc --build tsconfig.browser.json && tsc --build && tsc --build tsconfig.cjs.json) || true", + "build": "tsc --build tsconfig.browser.json && tsc --build && tsc --build tsconfig.cjs.json", "compile": "tsc --noEmit", "ts-check": "tsc --noEmit", "test": "mocha -r esbuild-register test/*",