Skip to content

Commit

Permalink
Transform ts alias paths using tsc-alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredjj3 committed Jan 17, 2025
1 parent 6c095d9 commit 7d2d65d
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 3 deletions.
143 changes: 143 additions & 0 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"license": "MIT",
"scripts": {
"build": "rimraf dist && npm run build:types && npm run build:cjs && npm run build:esm",
"build:cjs": "npm run tsc -- --project tsconfig.package.json --outDir dist/cjs --module commonjs",
"build:esm": "npm run tsc -- --project tsconfig.package.json --outDir dist/esm --module esnext",
"build:types": "npm run tsc -- --project tsconfig.package.json --outDir dist/@types --emitDeclarationOnly",
"build:cjs": "npm run tsc -- --project tsconfig.package.json --outDir dist/cjs --module commonjs && tsc-alias -p tsconfig.package.json --outDir dist/cjs",
"build:esm": "npm run tsc -- --project tsconfig.package.json --outDir dist/esm --module esnext && tsc-alias -p tsconfig.package.json --outDir dist/esm",
"build:types": "npm run tsc -- --project tsconfig.package.json --outDir dist/@types --emitDeclarationOnly && tsc-alias -p tsconfig.package.json --outDir dist/@types",
"build:image": "docker build . --tag vexml:latest",
"build:site": "vite --config site/vite.config.js build",
"debug": "node --inspect-brk ./node_modules/.bin/jest --runInBand",
Expand Down Expand Up @@ -80,6 +80,7 @@
"react-dom": "^19.0.0",
"rimraf": "5.0.10",
"ts-loader": "^9.2.8",
"tsc-alias": "^1.8.10",
"typescript": "5.7.2",
"typescript-eslint": "^8.20.0",
"vexflow-fonts": "^1.0.6",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"baseUrl": "./",
"target": "ESNext",
"moduleResolution": "node",
"strict": false,
Expand Down

0 comments on commit 7d2d65d

Please sign in to comment.