Skip to content

Commit 4d8c086

Browse files
committed
chore(package): added required files to start developing
1 parent 030acb6 commit 4d8c086

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

src/tsconfig.lib.es5.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"extends": "./tsconfig.lib.json",
3+
"compilerOptions": {
4+
"target": "es5",
5+
"outDir": "../tmp/lib-es5/",
6+
"baseUrl": "",
7+
"types": []
8+
},
9+
"files": [
10+
"./index.ts"
11+
],
12+
"angularCompilerOptions": {
13+
"strictMetadataEmit": true,
14+
"skipTemplateCodegen": true,
15+
"genDir": "../tmp/lib-gen-dir/",
16+
"flatModuleOutFile": "google-maps-autocomplete.js",
17+
"flatModuleId": "@angular-material-extensions/google-maps-autocomplete",
18+
"annotateForClosureCompiler": true
19+
}
20+
}

src/tsconfig.lib.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../tmp/lib-es2015/",
5+
"target": "es2015",
6+
"rootDir": "./",
7+
"baseUrl": "",
8+
"types": [ "node"]
9+
},
10+
"files": [
11+
"./index.ts"
12+
],
13+
"angularCompilerOptions": {
14+
"strictMetadataEmit": true,
15+
"skipTemplateCodegen": true,
16+
"genDir": "../tmp/lib-gen-dir/",
17+
"flatModuleOutFile": "google-maps-autocomplete.js",
18+
"flatModuleId": "@angular-material-extensions/google-maps-autocomplete",
19+
"annotateForClosureCompiler": true
20+
}
21+
}

src/tsconfig.spec.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "",
5+
"module": "commonjs",
6+
"declaration": false,
7+
"emitDecoratorMetadata": true,
8+
"typeRoots": [
9+
"../node_modules/@types"
10+
]
11+
},
12+
"awesomeTypescriptLoaderOptions": {
13+
"useWebpackText": true
14+
}
15+
}

0 commit comments

Comments
 (0)