Skip to content

Commit

Permalink
fix(ci): adjust build script
Browse files Browse the repository at this point in the history
  • Loading branch information
penovicp committed Nov 23, 2022
1 parent 3e0c912 commit 880ef27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"types": "dist/index.d.ts",
"scripts": {
"prepare": "npm run build && husky install",
"build": "tsup && npm run build:esm && npm run build:iife",
"build": "tsup && npm run build:esm && npm run build:iife && npm run build:dts",
"build:esm": "tsup --clean false --format esm --platform node",
"build:iife": "tsup --clean false --format iife --platform browser",
"build:dts": "tsup --clean false --dts-only",
"pretest": "npm run lint",
"test": "jest",
"posttest": "npm run format",
Expand Down Expand Up @@ -64,7 +65,7 @@
"lint-staged": "^13.0.1",
"prettier": "^2.7.0",
"prettier-plugin-import-sort": "^0.0.7",
"tsup": "^6.3.0",
"tsup": "~6.3.0",
"typedoc": "^0.22.17",
"typescript": "^4.7.3"
},
Expand Down
1 change: 0 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { defineConfig } from 'tsup';

export default defineConfig({
entry: ['src/index.ts'],
dts: true,
sourcemap: true,
clean: true,
format: ['cjs'],
Expand Down

0 comments on commit 880ef27

Please sign in to comment.