1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

chore: extends base tsconfig ()

This commit is contained in:
neverland 2021-11-23 10:14:54 +08:00 committed by GitHub
parent e12be89d7c
commit 2e7fafeba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 44 deletions
packages
create-vant-cli-app
vant-area-data
vant-cli
vant-markdown-vetur
vant-popperjs
vant-use
vant
tsconfig.json

@ -1,13 +1,10 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ES2019", "target": "ES2019",
"outDir": "./lib", "outDir": "./lib",
"module": "commonjs", "module": "commonjs",
"strict": true, "declaration": true
"declaration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"lib": ["esnext"]
}, },
"include": ["src/**/*"] "include": ["src/**/*"]
} }

@ -1,13 +1,9 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ES2019", "target": "ES2019",
"outDir": "./lib", "outDir": "./lib",
"module": "ES2015", "declaration": true
"strict": true,
"declaration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"lib": ["esnext"]
}, },
"include": ["src/**/*"] "include": ["src/**/*"]
} }

@ -1,14 +1,9 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ES2019", "target": "ES2019",
"outDir": "./lib", "outDir": "./lib",
"module": "ESNext", "declaration": true
"strict": true,
"declaration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution":"Node",
"lib": ["esnext", "dom"]
}, },
"include": ["src/**/*"] "include": ["src/**/*"]
} }

@ -1,13 +1,10 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ES2019", "target": "ES2019",
"outDir": "./lib", "outDir": "./lib",
"module": "commonjs", "module": "commonjs",
"strict": true, "declaration": true
"declaration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"lib": ["esnext"]
}, },
"include": ["src/**/*"] "include": ["src/**/*"]
} }

@ -1,12 +1,8 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ES2015",
"outDir": "./dist", "outDir": "./dist",
"module": "ESNext", "declaration": true
"strict": true,
"declaration": true,
"skipLibCheck": true,
"moduleResolution": "Node",
}, },
"include": ["src/**/*"] "include": ["src/**/*"]
} }

@ -1,12 +1,8 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ES2015",
"outDir": "./dist", "outDir": "./dist",
"module": "ESNext", "declaration": true
"strict": true,
"declaration": true,
"skipLibCheck": true,
"moduleResolution": "Node",
}, },
"include": ["src/**/*"] "include": ["src/**/*"]
} }

@ -1,15 +1,8 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"baseUrl": ".",
"jsx": "preserve",
"target": "ES2015",
"module": "ES2015",
"strict": true,
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "noImplicitThis": true
"noImplicitThis": true,
"esModuleInterop": true,
"moduleResolution": "node"
}, },
"include": ["src/**/*", "docs/**/*", "test/**/*"] "include": ["src/**/*", "docs/**/*", "test/**/*"]
} }

13
tsconfig.json Normal file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"baseUrl": ".",
"jsx": "preserve",
"strict": true,
"target": "ES2015",
"module": "ESNext",
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "Node",
"lib": ["esnext", "dom"]
}
}