Skip to content

Commit

Permalink
🎉 Init
Browse files Browse the repository at this point in the history
  • Loading branch information
gluons committed Dec 16, 2018
1 parent d971023 commit 1a22c97
Show file tree
Hide file tree
Showing 5 changed files with 211 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
indent_style = tab
indent_size = 4
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[{*.{coffee,cson,yml,yaml,jade,pug,rb,gemspec},{package,bower}.json,Rakefile,Gemfile}]
indent_style = space
indent_size = 2
127 changes: 127 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@

# Created by https://www.gitignore.io/api/node,linux,windows
# Edit at https://www.gitignore.io/?templates=node,linux,windows

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

#DynamoDB Local files
.dynamodb/

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.gitignore.io/api/node,linux,windows

23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# tsconfig-gluons
[![License](https://img.shields.io/github/license/gluons/tsconfig-gluons.svg?style=flat-square)](./LICENSE)
[![npm version](https://img.shields.io/npm/v/tsconfig-gluons.svg?style=flat-square)](https://www.npmjs.com/package/tsconfig-gluons)

[gluons](https://github.com/gluons)' personal [TypeScript](https://www.typescriptlang.org/) config.

## Installation

```bash
npm install -D tsconfig-gluons
# Or
yarn add -D tsconfig-gluons
```

## Usage

Add below config your `tsconfig.json`.

```json
{
"extends": "tsconfig-gluons"
}
```
30 changes: 30 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "tsconfig-gluons",
"version": "1.0.0",
"description": "Gluons' personal TypeScript config.",
"main": "./tsconfig.json",
"files": [
"tsconfig.json"
],
"scripts": {},
"repository": {
"type": "git",
"url": "git+https://github.com/gluons/tsconfig-gluons.git"
},
"keywords": [
"❤️",
"typescript",
"ts",
"tsconfig",
"gluons"
],
"author": "Saran Tanpituckpong <sarunta@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gluons/tsconfig-gluons/issues"
},
"homepage": "https://github.com/gluons/tsconfig-gluons",
"peerDependencies": {
"typescript": ">=3.2"
}
}
16 changes: 16 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
"lib": [
"es2015"
],
"esModuleInterop": true,
"outDir": "dist",
"sourceMap": true,
"declaration": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}

0 comments on commit 1a22c97

Please sign in to comment.