diff --git a/.editorconfig b/.editorconfig index 408d870..818e072 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,3 @@ -# http://editorconfig.org root = true [*] @@ -9,14 +8,6 @@ indent_size = 2 trim_trailing_whitespace = true insert_final_newline = true -[*.md] +[{**/{actual,fixtures,expected,templates}/**,*.md}] trim_trailing_whitespace = false -insert_final_newline = false - -[**/{actual,fixtures,expected}/**] -trim_trailing_whitespace = false -insert_final_newline = false - -[**/templates/**] -trim_trailing_whitespace = false -insert_final_newline = false +insert_final_newline = false \ No newline at end of file diff --git a/.gitignore b/.gitignore index 80a228c..e7e11ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,29 @@ +# always ignore files *.DS_Store *.sublime-* -_gh_pages -bower_components + +# test related, or directories generated by tests +test/actual +actual +coverage +.nyc* + +# npm node_modules npm-debug.log -actual -test/actual + +# yarn +yarn.lock +yarn-error.log + +# misc +_gh_pages +_draft +_drafts +bower_components +vendor temp tmp TODO.md -vendor -.idea +package-lock.json benchmark -coverage diff --git a/.travis.yml b/.travis.yml index cb1d261..58e0a44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,16 @@ sudo: false +os: + - linux + - osx language: node_js node_js: + - node + - '8' + - '7' + - '6' - '5' - '4' - '0.12' - '0.10' matrix: fast_finish: true - allow_failures: - - node_js: '0.10' - - node_js: '0.12' diff --git a/LICENSE b/LICENSE index 1e49edf..c0d7f13 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-2016, Jon Schlinkert. +Copyright (c) 2015-2017, Jon Schlinkert. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE. \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..824b44e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,29 @@ +# Test against this version of Node.js +environment: + matrix: + # node.js + - nodejs_version: "8.0" + - nodejs_version: "7.0" + - nodejs_version: "6.0" + - nodejs_version: "5.0" + - nodejs_version: "4.0" + - nodejs_version: "0.12" + - nodejs_version: "0.10" + +# Install scripts. (runs after repo cloning) +install: + # Get the latest stable version of Node.js or io.js + - ps: Install-Product node $env:nodejs_version + # install modules + - npm install + +# Post-install test scripts. +test_script: + # Output useful info for debugging. + - node --version + - npm --version + # run tests + - npm test + +# Don't actually build. +build: off diff --git a/index.js b/index.js index e696a47..621340f 100644 --- a/index.js +++ b/index.js @@ -1,8 +1,8 @@ /*! * array-sort * - * Copyright (c) 2015, Jon Schlinkert. - * Licensed under the MIT License. + * Copyright (c) 2015-2017, Jon Schlinkert. + * Released under the MIT License. */ 'use strict'; diff --git a/package.json b/package.json index 18dbbfa..5e4a1fd 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,10 @@ "version": "0.1.2", "homepage": "https://github.com/jonschlinkert/array-sort", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", + "contributors": [ + "Jon Schlinkert (http://twitter.com/jonschlinkert)", + "Kevin Ward (https://github.com/wkevina)" + ], "repository": "jonschlinkert/array-sort", "bugs": { "url": "https://github.com/jonschlinkert/array-sort/issues"