Add a shared tsconfig file (#609)
This commit is contained in:
parent
ddcfe23367
commit
12011bf4da
|
@ -1,18 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"extends": "../shared/tsconfig",
|
||||||
"compilerOptions": {
|
"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": {
|
"paths": {
|
||||||
"jslib-common/*": ["../common/src/*"]
|
"jslib-common/*": ["../common/src/*"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,5 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"extends": "../shared/tsconfig",
|
||||||
"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"]
|
|
||||||
},
|
|
||||||
"include": ["src", "spec"],
|
"include": ["src", "spec"],
|
||||||
"exclude": ["node_modules", "dist"]
|
"exclude": ["node_modules", "dist"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"extends": "../shared/tsconfig",
|
||||||
"compilerOptions": {
|
"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": {
|
"paths": {
|
||||||
"jslib-common/*": ["../common/src/*"]
|
"jslib-common/*": ["../common/src/*"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,6 @@
|
||||||
{
|
{
|
||||||
|
"extends": "../shared/tsconfig",
|
||||||
"compilerOptions": {
|
"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": {
|
"paths": {
|
||||||
"jslib-common/*": ["../common/src/*"]
|
"jslib-common/*": ["../common/src/*"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue