build: use swc for TypeScript compilation

This commit is contained in:
Johannes Loher 2022-04-21 22:43:16 +02:00
parent 4a6a396445
commit 13586c532c
3 changed files with 270 additions and 70 deletions

View file

@ -52,6 +52,7 @@
"test:ci": "jest --ci --reporters=default --reporters=jest-junit",
"format": "prettier --write \"./**/*.(ts|js|cjs|mjs|json|scss|yml)\"",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch",
"bump-version": "node ./tools/bump-version.js",
"convert-packs-to-json": "node ./tools/convert-packs-to-json.js",
"postinstall": "husky install",
@ -72,6 +73,7 @@
"@pixi/utils": "6.2.1",
"@rollup/plugin-typescript": "8.3.2",
"@seald-io/nedb": "3.0.0",
"@swc/core": "1.2.170",
"@types/fs-extra": "9.0.13",
"@types/jest": "27.4.1",
"@typescript-eslint/eslint-plugin": "5.20.0",
@ -92,7 +94,7 @@
"rimraf": "3.0.2",
"rollup": "2.70.2",
"rollup-plugin-styles": "4.0.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-swc3": "0.3.0",
"sass": "1.50.1",
"semver": "7.3.7",
"ts-jest": "27.1.4",