Skip to content

Commit

Permalink
refacor & update
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Sep 29, 2015
1 parent 2ac2f0a commit 34cac45
Show file tree
Hide file tree
Showing 18 changed files with 305 additions and 433 deletions.
1 change: 0 additions & 1 deletion .coveralls.yml

This file was deleted.

26 changes: 9 additions & 17 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,34 +1,26 @@
# .editorconfig <https://github.com/tunnckoCore/dotfiles>
#
# Copyright (c) 2014 Charlike Mike Reagent, contributors.
# Copyright (c) 2015 Charlike Mike Reagent, contributors.
# Released under the MIT license.
#

root = true

[*]
indent_style = space
charset = utf-8
end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace = false

[*.{json,cson,yml,yaml,md,jade,css,stylus}]
indent_size = 2
indent_style = space

[*.{js,php}]
indent_size = 2
[*.js]
insert_final_newline = true
trim_trailing_whitespace = true

[*.{php,html}]
[*.php]
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[Makefile]
indent_size = 2
indent_style = tab

[.*rc]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
49 changes: 0 additions & 49 deletions .gitattributes

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# .gitignore <https://github.com/tunnckoCore/dotfiles>
#
# Copyright (c) 2014 Charlike Mike Reagent, contributors.
# Copyright (c) 2015 Charlike Mike Reagent, contributors.
# Released under the MIT license.
#

Expand All @@ -21,6 +21,7 @@ nbproject
cache
temp
tmp
native-or-another

# Packages #
# ##########
Expand Down Expand Up @@ -53,3 +54,4 @@ Desktop.ini
npm-debug.log
.directory
._*
lcov.info
116 changes: 0 additions & 116 deletions .jscsrc

This file was deleted.

23 changes: 0 additions & 23 deletions .jshintignore

This file was deleted.

37 changes: 0 additions & 37 deletions .jshintrc

This file was deleted.

29 changes: 20 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
sudo: false
language: "node_js"
sudo: false

node_js:
- "iojs"
- "0.10"
- "0.11"
- "0.12"
matrix:
allow_failures:
- node_js: "0.10"
fast_finish: true
script: "npm run-script test-travis"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls"
- "4"

notifications:
email:
on_success: never
on_failure: never

before_script:
- npm install standard
- standard

script:
- npm install istanbul-harmony
- node --harmony node_modules/.bin/istanbul cover test.js

after_success:
- npm install coveralls
- cat coverage/lcov.info | coveralls
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


## v2.0.0 - 2014-12-21
- Release v2.0.0 / npm@v2.0.0
- change the purpose of library
- now exports deferred object

## v1.0.0 - 2015-10-28
- Release v1.0.0 / npm@v1.0.0
- initial release

## 0.0.0 - 2014-10-28
- Initial commit
32 changes: 32 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Contributing Guidelines

Contributions are always welcome!

**Before spending lots of time on something, ask for feedback on your idea first!**

Please search issues and pull requests before adding something new to avoid duplicating efforts and conversations.


## Installing

Fork and clone the repo, then `npm install` to install all dependencies and `npm test` to ensure all is okey before you start anything.


## Testing

Tests are run with `npm test`. Please ensure all tests are passing before submitting a pull request (unless you're creating a failing test to increase test coverage or show a problem).

## Code Style

[![standard][standard-image]][standard-url]

This repository uses [`standard`][standard-url] to maintain code style and consistency, and to avoid style arguments. You are encouraged to install it globally. `npm test` runs `standard` so you don't have to!

```
npm i standard -g
```

It is intentional to don't have `standard`, `istanbul` and `coveralls` in the devDependencies. Travis will handle all that stuffs. That approach will save bandwidth also installing and development time.

[standard-image]: https://cdn.rawgit.com/feross/standard/master/badge.svg
[standard-url]: https://github.com/feross/standard

0 comments on commit 34cac45

Please sign in to comment.