Skip to content

Commit

Permalink
chore(examples): simplify "typescript" demo
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Oct 5, 2021
1 parent 8792e3b commit 44a437d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
8 changes: 3 additions & 5 deletions examples/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"private": true,
"scripts": {
"build": "tsc",
"test": "uvu -r ts-node/register tests"
"test": "uvu -r tsm tests"
},
"devDependencies": {
"ts-node": "8.10.2",
"typescript": "3.9.6",
"uvu": "^0.5.0"
"tsm": "^2.0.0",
"uvu": "^0.5.1"
}
}
23 changes: 9 additions & 14 deletions examples/typescript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
{
"ts-node": {
"transpileOnly": true,
"compilerOptions": {
"module": "commonjs"
},
"include": [
"tests/**/*"
]
},
"compilerOptions": {
"outDir": "build",
"strict": true,
"allowJs": true,
"target": "esnext",
"module": "esnext",
"noImplicitAny": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"alwaysStrict": true,
"module": "esnext",
"checkJs": true,
"noEmit": true
},
"include": [
"@types/**/*",
"src/**/*"
"src",
"tests"
],
"exclude": [
"node_modules"
Expand Down

0 comments on commit 44a437d

Please sign in to comment.