Skip to content

Commit 54c8a04

Browse files
committed
Meta tweaks
1 parent 5aa1f94 commit 54c8a04

File tree

7 files changed

+61
-86
lines changed

7 files changed

+61
-86
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

.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

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 <[email protected]> (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

+52-67
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,54 @@
11
{
2-
"name": "np",
3-
"version": "2.17.0",
4-
"description": "A better `npm publish`",
5-
"license": "MIT",
6-
"repository": "sindresorhus/np",
7-
"author": {
8-
"name": "Sindre Sorhus",
9-
"email": "[email protected]",
10-
"url": "sindresorhus.com"
11-
},
12-
"maintainers": [
13-
{
14-
"name": "Sam Verschueren",
15-
"email": "[email protected]",
16-
"url": "github.com/SamVerschueren"
17-
}
18-
],
19-
"bin": "cli.js",
20-
"engines": {
21-
"node": ">=4"
22-
},
23-
"scripts": {
24-
"test": "xo && ava"
25-
},
26-
"files": [
27-
"index.js",
28-
"cli.js",
29-
"lib"
30-
],
31-
"keywords": [
32-
"cli-app",
33-
"cli",
34-
"npm",
35-
"publish",
36-
"git",
37-
"push",
38-
"version",
39-
"bump",
40-
"commit"
41-
],
42-
"dependencies": {
43-
"any-observable": "^0.2.0",
44-
"chalk": "^1.1.3",
45-
"del": "^2.2.0",
46-
"execa": "^0.6.3",
47-
"has-yarn": "^1.0.0",
48-
"inquirer": "^3.0.6",
49-
"listr": "^0.11.0",
50-
"listr-input": "^0.1.1",
51-
"log-symbols": "^1.0.2",
52-
"meow": "^3.7.0",
53-
"p-tap": "^1.0.0",
54-
"p-timeout": "^1.2.0",
55-
"read-pkg-up": "^2.0.0",
56-
"rxjs": "5.4.3",
57-
"semver": "^5.2.0",
58-
"split": "^1.0.0",
59-
"stream-to-observable": "^0.2.0",
60-
"update-notifier": "^2.1.0"
61-
},
62-
"devDependencies": {
63-
"ava": "*",
64-
"xo": "*"
65-
},
66-
"xo": {
67-
"esnext": true
68-
}
2+
"name": "np",
3+
"version": "2.17.0",
4+
"description": "A better `npm publish`",
5+
"license": "MIT",
6+
"repository": "sindresorhus/np",
7+
"bin": "cli.js",
8+
"engines": {
9+
"node": ">=4"
10+
},
11+
"scripts": {
12+
"test": "xo && ava"
13+
},
14+
"files": [
15+
"index.js",
16+
"cli.js",
17+
"lib"
18+
],
19+
"keywords": [
20+
"cli-app",
21+
"cli",
22+
"npm",
23+
"publish",
24+
"git",
25+
"push",
26+
"version",
27+
"bump",
28+
"commit"
29+
],
30+
"dependencies": {
31+
"any-observable": "^0.2.0",
32+
"chalk": "^1.1.3",
33+
"del": "^2.2.0",
34+
"execa": "^0.6.3",
35+
"has-yarn": "^1.0.0",
36+
"inquirer": "^3.0.6",
37+
"listr": "^0.11.0",
38+
"listr-input": "^0.1.1",
39+
"log-symbols": "^1.0.2",
40+
"meow": "^3.7.0",
41+
"p-tap": "^1.0.0",
42+
"p-timeout": "^1.2.0",
43+
"read-pkg-up": "^2.0.0",
44+
"rxjs": "5.4.3",
45+
"semver": "^5.2.0",
46+
"split": "^1.0.0",
47+
"stream-to-observable": "^0.2.0",
48+
"update-notifier": "^2.1.0"
49+
},
50+
"devDependencies": {
51+
"ava": "*",
52+
"xo": "*"
53+
}
6954
}

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ If you're running macOS Sierra or higher and previously stored your Git SSH-key
158158

159159
## License
160160

161-
MIT © [Sindre Sorhus](https://sindresorhus.com)
161+
MIT

test.js renamed to test/index.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('version is invalid', async t => {
55
const message = 'Version should be either patch, minor, major, prepatch, preminor, premajor, prerelease, or a valid semver version.';

0 commit comments

Comments
 (0)