Skip to content

Commit

Permalink
build: 👷 add pre publish script to build the headless version of the lib
Browse files Browse the repository at this point in the history
  • Loading branch information
diecodev committed Apr 4, 2024
1 parent 261a1ad commit 4ab3a5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"fmt": "prettier --write .",
"fmt.check": "prettier --check .",
"lint": "eslint \"src/**/*.ts*\"",
"release": "bumpp --commit --tag --push && npm run build && npm publish",
"release": "bumpp --commit --tag --push && npm publish",
"prepublishOnly": "PKG=headless npm run build && PKG=raw npm run build",
"postpublish": "rm -rf headless index.d.ts index.qwik.cjs index.qwik.mjs toaster-styled.d.ts",
"start": "vite --open --mode ssr",
"test": "echo \"No test specified\" && exit 0",
Expand All @@ -82,4 +83,4 @@
"vite-plugin-dts": "3.8.1",
"vite-tsconfig-paths": "4.3.2"
}
}
}

0 comments on commit 4ab3a5c

Please sign in to comment.