Skip to content

Commit

Permalink
Update tsconfig config
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Feb 9, 2024
1 parent e2fb710 commit 76d31f7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"scripts": {
"clear": "rimraf 'dist' 'types' 'tsconfig.tsbuildinfo'",
"build": "yarn clear && yarn types && node scripts/build.js",
"types": "tsc --project tsconfig.build.json",
"types": "tsc",
"lint": "prettier --check . && eslint .",
"test:manifest": "custom-elements-manifest analyze --config ./test/cem.config.mjs --outdir test",
"test:generate": "./dist/cli.js test --outdir 'test/src/[framework]' -y",
Expand Down
9 changes: 9 additions & 0 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"paths": {
"plasma-test": ["./src/index.ts"]
}
},
"include": ["**/*"]
}
4 changes: 0 additions & 4 deletions tsconfig.build.json

This file was deleted.

9 changes: 3 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@
"emitDeclarationOnly": true,
"declarationDir": "types",
"strict": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"experimentalDecorators": true,
"paths": {
"plasma-test": ["./test/src/index.ts"]
}
"experimentalDecorators": true
},
"include": ["src/**/*", "test/**/*"]
"include": ["src/**/*"]
}

0 comments on commit 76d31f7

Please sign in to comment.