Meta tweaks

This commit is contained in:
Sindre Sorhus 2017-07-02 03:43:15 +02:00
parent b456b7994e
commit 584ef7473b
8 changed files with 11 additions and 23 deletions

View File

@ -7,6 +7,6 @@ charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
[{package.json,*.yml}] [*.yml]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules node_modules
yarn.lock

1
.npmrc Normal file
View File

@ -0,0 +1 @@
package-lock=false

View File

@ -1,4 +1,5 @@
language: node_js language: node_js
node_js: node_js:
- '8'
- '6' - '6'
- '4' - '4'

20
license
View File

@ -1,21 +1,9 @@
The MIT License (MIT) MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 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.
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
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.

View File

@ -36,10 +36,7 @@
}, },
"devDependencies": { "devDependencies": {
"ava": "*", "ava": "*",
"delay": "^1.3.1", "delay": "^2.0.0",
"xo": "*" "xo": "*"
},
"xo": {
"esnext": true
} }
} }

View File

@ -6,7 +6,7 @@
## Install ## Install
``` ```
$ npm install --save p-timeout $ npm install p-timeout
``` ```

View File

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import delay from 'delay'; import delay from 'delay';
import m from './'; import m from '.';
const fixture = Symbol('fixture'); const fixture = Symbol('fixture');
const fixtureErr = new Error('fixture'); const fixtureErr = new Error('fixture');