Skip to content

Commit

Permalink
fix: update build script
Browse files Browse the repository at this point in the history
closes #224
  • Loading branch information
pd4d10 committed Jan 29, 2023
1 parent 34c931f commit 5a0181d
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 412 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"packages/*"
],
"scripts": {
"build": "rm -rf packages/*/tsconfig.tsbuildinfo && tsc --build && node scripts/build.mjs",
"build": "pnpm clean && node scripts/build.mjs && tsc --build",
"clean": "rm -rf packages/*/tsconfig.tsbuildinfo && rm -rf packages/*/dist",
"dev": "pnpm --filter playground dev",
"format": "prettier --write '**/*.{ts,tsx,json,md,svelte}' && sort-package-json package.json 'packages/*/package.json'",
"postinstall": "node scripts/postinstall.mjs && pnpm format && sort-json packages/*/locales/*.json",
Expand Down Expand Up @@ -49,8 +50,8 @@
"svelte-preprocess": "^5.0.0",
"svelte2tsx": "^0.6.0",
"svgo": "^3.0.2",
"tsdv": "^0.8.0",
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vitest": "^0.26.3"
},
"packageManager": "pnpm@7.21.0",
Expand Down
Loading

0 comments on commit 5a0181d

Please sign in to comment.