mirror of https://github.com/aminya/setup-cpp
fix: move tsconfig
This commit is contained in:
parent
15879e9212
commit
8ed361c47e
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"]
|
||||||
}
|
}
|
Loading…
Reference in New Issue