Skip to content

Commit 034ac7f

Browse files
authored
Merge pull request #5 from namics/feature/ts-config
feature/ts-config
2 parents b87d46e + c0bbe93 commit 034ac7f

File tree

5 files changed

+92
-0
lines changed

5 files changed

+92
-0
lines changed

codequality/ts-config/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# OS
2+
.DS_Store
3+
Thumbs.db
4+
5+
# IDE
6+
.idea
7+
.vscode
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
lerna-debug.log

codequality/ts-config/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018-present Namics AG
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

codequality/ts-config/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Shared typescript config [![npm](https://img.shields.io/npm/v/@namics/ts-config.svg)](https://www.npmjs.com/package/@namics/ts-config)
2+
3+
> Shared configuration for Typescript
4+
5+
## Usage
6+
7+
`npm i -D typescript @namics/ts-config`
8+
9+
**tsconfig.json**
10+
11+
```json
12+
{
13+
"extends": "./node_modules/@namics/ts-config/tsconfig.json"
14+
}
15+
```
16+
17+
## License
18+
[MIT License](./LICENSE)

codequality/ts-config/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "@namics/ts-config",
3+
"description": "Shared configuration for Typescript",
4+
"version": "0.1.0",
5+
"repository": "https://github.com/namics/frontend-defaults",
6+
"main": "./tsconfig.json",
7+
"license": "MIT",
8+
"author": "Namics AG",
9+
"contributors": [
10+
"Simon Mollweide <[email protected]>"
11+
],
12+
"private": false,
13+
"engines": {
14+
"node": ">=8"
15+
},
16+
"files": ["README.md", "LICENSE", "tsconfig.json"],
17+
"peerDependencies": {
18+
"typescript": "3.x"
19+
}
20+
}

codequality/ts-config/tsconfig.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"compilerOptions": {
3+
"allowSyntheticDefaultImports": true,
4+
"allowUnreachableCode": false,
5+
"jsx": "react",
6+
"sourceMap": true,
7+
"target": "es5",
8+
"module": "esnext",
9+
"moduleResolution": "node",
10+
"emitDecoratorMetadata": true,
11+
"experimentalDecorators": true,
12+
"declaration": true,
13+
"noImplicitAny": false,
14+
"noImplicitReturns": true,
15+
"strictNullChecks": true,
16+
"importHelpers": true,
17+
"lib": ["es2015", "es2016", "es2017", "es2018", "dom"]
18+
},
19+
"exclude": ["dist", "build", "node_modules"]
20+
}

0 commit comments

Comments
 (0)