fix: move tsconfig

This commit is contained in:
Amin Yahyaabadi 2021-09-14 03:13:29 -05:00
parent 15879e9212
commit 8ed361c47e
3 changed files with 5 additions and 4 deletions

View File

@ -14,8 +14,8 @@
"prepare": "npm run build", "prepare": "npm run build",
"test.format": "prettier . --check", "test.format": "prettier . --check",
"test.lint": "eslint .", "test.lint": "eslint .",
"test.tsc": "tsc -p src/tsconfig.json --noEmit",
"test": "run-p test.format test.lint test.tsc" "test": "run-p test.format test.lint test.tsc"
"test.tsc": "tsc --noEmit",
}, },
"engines": { "engines": {
"node": ">=12.x" "node": ">=12.x"

View File

@ -6,6 +6,7 @@ import semverLte from "semver/functions/lte"
import semverCoerce from "semver/functions/coerce" import semverCoerce from "semver/functions/coerce"
import * as hasha from "hasha" import * as hasha from "hasha"
import { tmpdir } from "os" import { tmpdir } from "os"
import { URL } from "url"
interface PackageInfo { interface PackageInfo {
url: string url: string

View File

@ -16,7 +16,6 @@
"inlineSources": true, "inlineSources": true,
"preserveSymlinks": true, "preserveSymlinks": true,
"removeComments": false, "removeComments": false,
"jsx": "react",
"lib": ["ES2018", "dom"], "lib": ["ES2018", "dom"],
"target": "ES2018", "target": "ES2018",
"allowJs": true, "allowJs": true,
@ -25,7 +24,8 @@
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": false, "importHelpers": false,
"outDir": "../dist" "outDir": "./dist"
}, },
"compileOnSave": false "compileOnSave": false,
"include": ["./src"]
} }