Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickreimer committed Jun 13, 2024
1 parent 7e9dd19 commit 03000bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"types": "types/index.d.ts",
"scripts": {
"build": "npm run build:types && npm run build:cjs && npm run build:esm",
"build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=dist/fathom-script.js",
"build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=dist/fathom-script.esm.js",
"build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=dist/fathom-client.js",
"build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=dist/fathom-client.esm.js",
"build:types": "tsc --emitDeclarationOnly",
"lint": "npx tsc --noEmit && npx prettier src -c",
"prepare": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @jest-environment jsdom
*/

const Fathom = require('../dist/fathom-script');
const Fathom = require('../dist/fathom-client');

const fathomStub = () => {
return {
Expand Down

0 comments on commit 03000bf

Please sign in to comment.