Skip to content

Commit

Permalink
chore(config): update ide and ci configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-zg committed Aug 18, 2019
1 parent a10727e commit 46c0c61
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[COMMIT_EDITMSG]
max_line_length = 0
17 changes: 17 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.rts2_cache_cjs
.rts2_cache_esm
.rts2_cache_umd
node_modules
src
test
.editorconfig
.gitignore
.huskyrc.json
.npmignore
.nvmrc
.prettierignore
.prettierrc
.travis.yml
tsconfig.json
tslint.json
yarn.lock
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10.16.3
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: node_js

node_js:
- 10

before_script:
- echo "Start CI"

install:
- yarn install --check-files

script:
- yarn run build
- yarn run test:coverage:report -- --username $CODACY_USERNAME --projectName $CODACY_PROJECT_NAME

before_deploy:
- if [ ! -d dist ]; then yarn run build ; fi

deploy:
provider: npm
email: $NPM_AUTHOR_EMAIL
api_key: $NPM_TOKEN
skip_cleanup: true
on:
tags: true
44 changes: 44 additions & 0 deletions .versionrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
types: [
{
type: "chore",
section: "πŸ”§ Chore"
},
{
type: "docs",
section: "πŸ“– Documentations"
},
{
type: "perf",
section: "πŸ›‘ Performance Improvement"
},
{
type: "refactor",
section: "🚧 Refactor"
},
{
type: "style",
section: "🎨 Style"
},
{
type: "build",
section: "πŸ“¦ Build System"
},
{
type: "ci",
section: "πŸš‡ Continuous Integration"
},
{
type: "feat",
section: "πŸ–‹ Features"
},
{
type: "fix",
section: "πŸ› Bug Fixes"
},
{
type: "test",
section: "⚠️ Tests"
}
]
}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"breadcrumbs.enabled": true,
"editor.fontFamily": "Fira Code, 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.renderWhitespace": "all",
"editor.rulers": [80, 120],
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"window.zoomLevel": 0,
"workbench.activityBar.visible": true,
"workbench.sideBar.location": "right"
}

0 comments on commit 46c0c61

Please sign in to comment.