Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Migrate to TypeScript #29

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
languages:
JavaScript: true
version: "2"
plugins:
tslint:
enabled: true
config: tslint.json
exclude_paths:
- "build/**"
- "demo/**"
- "dict/**"
- "example/**"
- "test/**"
- "gulpfile.js"
- "tools/**"
- "rollup.config.ts"
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#root = true

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

[*.md]
trim_trailing_whitespace = false
36 changes: 14 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,30 @@
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

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

# Coverage directory used by tools like istanbul
coverage
npm-debug.log

# Dependency directory
# Commenting this out is preferred by some people, see
# https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules
bower_components
components

# Users Environment Variables
.lock-wscript
# For VSCode
.vscode/

# IntelliJ
# For JetBrains IDEs
.idea
*.iml

# Gulp
gulp.1

# For GitHub Pages (gh-pages branch)
.publish
publish

# Others
# Thumbnails
.DS_Store
Thumbs.db

# Caches
.awcache/
.nyc_output/
.rpt2_cache/
coverage/
dist/
docs/
18 changes: 0 additions & 18 deletions .jshintrc

This file was deleted.

1 change: 0 additions & 1 deletion .node-version

This file was deleted.

23 changes: 13 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
language: node_js
branches:
only:
- master
- /^greenkeeper/.*$/
cache: npm
notifications:
email: false
node_js:
- 4.4.7

before_install:
- npm install -g gulp

- node
script:
- gulp test

after_script:
- gulp coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- bash <(curl -s https://codecov.io/bash)
- npm run test:prod && npm run build
after_success:
- npm run report-coverage
- npm run deploy-docs
- npm run semantic-release
47 changes: 0 additions & 47 deletions bower.json

This file was deleted.

Loading