Skip to content

Commit

Permalink
Require Node.js 6
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 14, 2018
1 parent 70c3561 commit bca9b38
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 52 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* text=auto
*.js text eol=lf
* text=auto eol=lf
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js:
- '10'
- '8'
- '6'
- '4'
86 changes: 43 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{
"name": "superb",
"version": "2.0.0",
"description": "Get superb like words",
"license": "MIT",
"repository": "sindresorhus/superb",
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
"url": "sindresorhus.com"
},
"bin": "cli.js",
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js",
"cli.js",
"words.json"
],
"keywords": [
"cli-app",
"cli",
"bin",
"superb",
"awesome",
"word",
"words",
"list",
"array",
"random",
"rand"
],
"dependencies": {
"meow": "^3.7.0",
"unique-random-array": "^1.0.0"
},
"devDependencies": {
"ava": "*",
"xo": "*"
}
"name": "superb",
"version": "2.0.0",
"description": "Get superb like words",
"license": "MIT",
"repository": "sindresorhus/superb",
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
"url": "sindresorhus.com"
},
"bin": "cli.js",
"engines": {
"node": ">=6"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js",
"cli.js",
"words.json"
],
"keywords": [
"cli-app",
"cli",
"bin",
"superb",
"awesome",
"word",
"words",
"list",
"array",
"random",
"rand"
],
"dependencies": {
"meow": "^3.7.0",
"unique-random-array": "^1.0.0"
},
"devDependencies": {
"ava": "*",
"xo": "*"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Random [superb like word](words.json).

### superb.words

Type: `array`
Type: `Array`

All the words.

Expand Down
10 changes: 5 additions & 5 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
import m from '.';
import superb from '.';

test(t => {
t.true(m().length > 0);
t.true(Array.isArray(m.words));
t.true(m.words[3].length > 0);
test('main', t => {
t.true(superb().length > 0);
t.true(Array.isArray(superb.words));
t.true(superb.words[3].length > 0);
});

0 comments on commit bca9b38

Please sign in to comment.