Skip to content

Commit bacb9bd

Browse files
committed
Meta tweaks
1 parent b07996e commit bacb9bd

11 files changed

+56
-64
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[{package.json,*.yml}]
10+
[*.yml]
1111
indent_style = space
1212
indent_size = 2

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* text=auto
2+
*.js text eol=lf

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
yarn.lock

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: node_js
22
node_js:
3+
- '8'
34
- '6'
45
- '4'

example-all.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22
const logUpdate = require('log-update');
3-
const cliSpinners = require('./');
3+
const cliSpinners = require('.');
44

55
const spinners = Object.keys(cliSpinners);
66
let frame = 0;

example.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22
const logUpdate = require('log-update');
3-
const cliSpinners = require('./');
3+
const cliSpinners = require('.');
44

55
const spinner = cliSpinners[process.argv[2] || 'dots'];
66
let i = 0;

license

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
1-
The MIT License (MIT)
1+
MIT License
22

33
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
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:
116

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
148

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
9+
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.

package.json

+43-43
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
{
2-
"name": "cli-spinners",
3-
"version": "1.0.0",
4-
"description": "Spinners for use in the terminal",
5-
"license": "MIT",
6-
"repository": "sindresorhus/cli-spinners",
7-
"author": {
8-
"name": "Sindre Sorhus",
9-
"email": "sindresorhus@gmail.com",
10-
"url": "sindresorhus.com"
11-
},
12-
"engines": {
13-
"node": ">=4"
14-
},
15-
"scripts": {
16-
"test": "xo && ava",
17-
"asciicast": "asciinema rec --command='node example-all.js' --title='cli-spinner' --quiet"
18-
},
19-
"files": [
20-
"index.js",
21-
"spinners.json"
22-
],
23-
"keywords": [
24-
"cli",
25-
"spinner",
26-
"spinners",
27-
"terminal",
28-
"term",
29-
"console",
30-
"ascii",
31-
"unicode",
32-
"loading",
33-
"indicator",
34-
"progress",
35-
"busy",
36-
"wait",
37-
"idle",
38-
"json"
39-
],
40-
"devDependencies": {
41-
"ava": "*",
42-
"log-update": "^1.0.2",
43-
"xo": "*"
44-
}
2+
"name": "cli-spinners",
3+
"version": "1.0.0",
4+
"description": "Spinners for use in the terminal",
5+
"license": "MIT",
6+
"repository": "sindresorhus/cli-spinners",
7+
"author": {
8+
"name": "Sindre Sorhus",
9+
"email": "sindresorhus@gmail.com",
10+
"url": "sindresorhus.com"
11+
},
12+
"engines": {
13+
"node": ">=4"
14+
},
15+
"scripts": {
16+
"test": "xo && ava",
17+
"asciicast": "asciinema rec --command='node example-all.js' --title='cli-spinner' --quiet"
18+
},
19+
"files": [
20+
"index.js",
21+
"spinners.json"
22+
],
23+
"keywords": [
24+
"cli",
25+
"spinner",
26+
"spinners",
27+
"terminal",
28+
"term",
29+
"console",
30+
"ascii",
31+
"unicode",
32+
"loading",
33+
"indicator",
34+
"progress",
35+
"busy",
36+
"wait",
37+
"idle",
38+
"json"
39+
],
40+
"devDependencies": {
41+
"ava": "*",
42+
"log-update": "^2.1.0",
43+
"xo": "*"
44+
}
4545
}

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You probably want to use one of these spinners through the [`ora`](https://githu
1212
## Install
1313

1414
```
15-
$ npm install --save cli-spinners
15+
$ npm install cli-spinners
1616
```
1717

1818

test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava';
2-
import m from './';
2+
import m from '.';
33

44
test(t => {
55
t.is(typeof m, 'object');

0 commit comments

Comments
 (0)