Skip to content

Commit

Permalink
build: .d.ts for nat
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Mar 12, 2024
1 parent 0a5c555 commit ad92aab
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
},
"scripts": {
"build": "exit 0",
"build:types": "tsc --build tsconfig.build.json",
"clean:types": "git clean -f '*.d.ts*'",
"test": "ava test/**/test-*.js",
"lint-fix": "eslint --fix",
"lint-check": "eslint"
"lint": "tsc"
},
"repository": {
"type": "git",
Expand Down
12 changes: 12 additions & 0 deletions packages/nat/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true
},
"exclude": [
"test/"
]
}
9 changes: 9 additions & 0 deletions packages/nat/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.eslint-base.json",
"include": [
"*.js",
"*.ts",
"src/**/*.js",
"src/**/*.ts"
]
}

0 comments on commit ad92aab

Please sign in to comment.