diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..448e13e --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +lib/__tests__/scripts/syntax.js diff --git a/.eslintrc.json b/.eslintrc.json index de0f1ae..bcee297 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,8 +1,12 @@ { "env": { + "es6": true, "node": true }, "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": 6 + }, "rules": { "no-console": 0 } diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..636937e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: node_js + +node_js: + - 4 + - 6 + - 8 + - 9 + +cache: + directories: + - node_modules + - $(npm config get prefix)/bin + - $(npm config get prefix)/lib/node_modules + - $HOME/.npm diff --git a/README.md b/README.md index 171479c..1166016 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,11 @@ It's preferable to install it globally through [`npm`](https://www.npmjs.com/pac npm install -g git-release-notes +It's also possible to use `git-release-notes` as a node module. Check the usage on [usage as a module](#Usage_as_a_module) + ### Usage -The basic usage is +The basic usage from the command line is cd git-release-notes ..