1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-05 05:17:40 +02:00

Add a shared tsconfig file (#609)

This commit is contained in:
Oscar Hinton 2022-01-17 13:21:20 +01:00 committed by GitHub
parent ddcfe23367
commit 12011bf4da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 56 deletions

View File

@ -1,18 +1,6 @@
{
"extends": "../shared/tsconfig",
"compilerOptions": {
"pretty": true,
"moduleResolution": "node",
"noImplicitAny": true,
"target": "ES6",
"module": "commonjs",
"lib": ["es5", "es6", "es7", "dom"],
"sourceMap": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declarationDir": "dist/types",
"outDir": "dist",
"paths": {
"jslib-common/*": ["../common/src/*"]
}

View File

@ -1,20 +1,5 @@
{
"compilerOptions": {
"pretty": true,
"moduleResolution": "node",
"noImplicitAny": true,
"target": "ES6",
"module": "commonjs",
"lib": ["es5", "es6", "es7", "dom"],
"sourceMap": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declarationDir": "dist/types",
"outDir": "dist",
"typeRoots": ["node_modules/@types"]
},
"extends": "../shared/tsconfig",
"include": ["src", "spec"],
"exclude": ["node_modules", "dist"]
}

View File

@ -1,18 +1,6 @@
{
"extends": "../shared/tsconfig",
"compilerOptions": {
"pretty": true,
"moduleResolution": "node",
"noImplicitAny": true,
"target": "ES6",
"module": "commonjs",
"lib": ["es5", "es6", "es7", "dom"],
"sourceMap": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declarationDir": "dist/types",
"outDir": "dist",
"paths": {
"jslib-common/*": ["../common/src/*"]
}

View File

@ -1,19 +1,6 @@
{
"extends": "../shared/tsconfig",
"compilerOptions": {
"pretty": true,
"moduleResolution": "node",
"noImplicitAny": true,
"target": "ES6",
"module": "commonjs",
"lib": ["es5", "es6", "es7", "dom"],
"sourceMap": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declarationDir": "dist/types",
"outDir": "dist",
"types": [],
"paths": {
"jslib-common/*": ["../common/src/*"]
}

15
shared/tsconfig.json Normal file
View File

@ -0,0 +1,15 @@
{
"compilerOptions": {
"pretty": true,
"moduleResolution": "node",
"noImplicitAny": true,
"target": "ES6",
"module": "commonjs",
"lib": ["es5", "es6", "es7", "dom"],
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"outDir": "dist"
}
}