Skip to content

Commit

Permalink
Run repo version of tsc for build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Piatek committed Aug 8, 2023
1 parent 10a2350 commit 33c5990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"watch": "vitest watch",
"coverage": "vitest run --coverage",
"build": "npm run build:mjs && npm run build:cjs && npm run build:iife",
"build:mjs": "tsc --project tsconfig.mjs.json && cp res/package.mjs.json dist/mjs/package.json",
"build:cjs": "tsc --project tsconfig.cjs.json && cp res/package.cjs.json dist/cjs/package.json",
"build:iife": "rm -rf dist/iife && tsc --project tsconfig.iife.json && rollup dist/iife/index.js --file dist/iife/index.bundle.js --format iife --name Spaces -e ably -g ably:Ably",
"build:mjs": "npx tsc --project tsconfig.mjs.json && cp res/package.mjs.json dist/mjs/package.json",
"build:cjs": "npx tsc --project tsconfig.cjs.json && cp res/package.cjs.json dist/cjs/package.json",
"build:iife": "rm -rf dist/iife && npx tsc --project tsconfig.iife.json && rollup dist/iife/index.js --file dist/iife/index.bundle.js --format iife --name Spaces -e ably -g ably:Ably",
"prepare": "husky install"
},
"exports": {
Expand Down

0 comments on commit 33c5990

Please sign in to comment.