Skip to content

Commit

Permalink
add publish script item in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
qwinsi committed Dec 8, 2024
1 parent 10d936f commit 7836b60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"build:browser": "bun build --entrypoints src/tex2typst.ts --outdir ./dist --target browser --entry-naming [dir]/[name].min.[ext] --minify",
"build:types": "tsc --project ./tsconfig.json",
"build": "npm run build:node && npm run build:browser && npm run build:types",
"test": "vitest run"
"test": "vitest run",
"publish": "npm run build && npm run test && npm publish"
},
"devDependencies": {
"@types/node": "^20.14.10",
Expand Down

0 comments on commit 7836b60

Please sign in to comment.