Revert "remove tsconfig production"

This reverts commit 31589f5f14.
This commit is contained in:
Tyler Shipe 2021-09-10 12:37:13 -04:00
parent c5cb1cf3e4
commit deec480dc4
3 changed files with 21 additions and 4 deletions

View File

@ -16,7 +16,7 @@
"node": ">=10"
},
"scripts": {
"build": "tsc",
"build": "tsc --project ./tsconfig.production.json",
"start": "ts-node src/tests.ts",
"clean": "rm -rf lib",
"prepare": "yarn clean && yarn build",

17
tsconfig.production.json Normal file
View File

@ -0,0 +1,17 @@
{
"extends": "@tsconfig/node10/tsconfig.json",
"compilerOptions": {
"outDir": "./lib",
"allowJs": true,
"checkJs": true,
"declaration": true,
"declarationMap": true,
"noImplicitAny": false,
"resolveJsonModule": true,
"sourceMap": true,
"jsx": "react"
},
"include": ["./src/**/*"],
"exclude": ["./src/**/*.test.js", "node_modules", "**/node_modules"]
}

View File

@ -675,9 +675,9 @@
tweetnacl "^1.0.0"
"@tsconfig/node10@^1.0.0":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.8.tgz#c1e4e80d6f964fbecb3359c43bd48b40f7cadad9"
integrity sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==
version "1.0.7"
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.7.tgz#1eb1de36c73478a2479cc661ef5af1c16d86d606"
integrity sha512-aBvUmXLQbayM4w3A8TrjwrXs4DZ8iduJnuJLLRGdkWlyakCf1q6uHZJBzXoRA/huAEknG5tcUyQxN3A+In5euQ==
"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7":
version "7.1.14"