Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 9e52e7b

Browse files
authored
Merge pull request #81 from netlify/chore/reorder-package-json
Reorder `package.json`
2 parents 63ee0ba + 68858bf commit 9e52e7b

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

package.json

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "netlify",
33
"description": "Netlify Node.js API client",
44
"version": "2.4.8",
5-
"author": "Netlify Inc.",
65
"ava": {
76
"files": [
87
"src/**/*.test.js"
@@ -16,20 +15,48 @@
1615
"!*.test.js*",
1716
"!*~"
1817
],
18+
"main": "src/index.js",
1919
"unpkg": "./dist/main.js",
2020
"umd:main": "./dist/main.js",
2121
"browser": {
2222
"./src/deploy/index.js": "./src/deploy/index.browser.js"
2323
},
24-
"bugs": {
25-
"url": "https://github.com/netlify/js-client/issues"
24+
"scripts": {
25+
"prepublishOnly": "run-s build && git push && git push --tags && gh-release",
26+
"ci": "run-s test build",
27+
"test": "run-s test:* test:dev:*",
28+
"test-ci": "run-s test:* test:ci:*",
29+
"test:lint": "eslint --ignore-path .gitignore --fix --cache --format=codeframe --max-warnings=0 \"src/**/*.js\" \"*.js\"",
30+
"test:prettier": "prettier --ignore-path .gitignore --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"",
31+
"test:dev:ava": "ava",
32+
"test:ci:ava": "nyc -r lcovonly -r text -r json ava",
33+
"build": "run-s build:*",
34+
"build:webpack": "webpack",
35+
"clean": "rimraf dist coverage",
36+
"version": "auto-changelog -p --template keepachangelog --breaking-pattern breaking && git add CHANGELOG.md"
2637
},
38+
"license": "MIT",
39+
"author": "Netlify Inc.",
2740
"contributors": [
2841
"Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
2942
"David Calavera <david@netlify.com> (https://twitter.com/calavera)",
3043
"David Wells <david.wells@netlify.com> (https://davidwells.io/)",
3144
"Bret Comnes <bcomnes@gmail.com> (https://bret.io)"
3245
],
46+
"homepage": "https://github.com/netlify/js-client",
47+
"repository": {
48+
"type": "git",
49+
"url": "https://github.com/netlify/js-client.git"
50+
},
51+
"bugs": {
52+
"url": "https://github.com/netlify/js-client/issues"
53+
},
54+
"keywords": [
55+
"api client",
56+
"js client",
57+
"netlify",
58+
"node client"
59+
],
3360
"dependencies": {
3461
"@netlify/open-api": "^0.9.0",
3562
"@netlify/zip-it-and-ship-it": "^0.3.1",
@@ -82,34 +109,5 @@
82109
},
83110
"engines": {
84111
"node": ">=8.3.0"
85-
},
86-
"homepage": "https://github.com/netlify/js-client",
87-
"keywords": [
88-
"api client",
89-
"js client",
90-
"netlify",
91-
"node client"
92-
],
93-
"license": "MIT",
94-
"main": "src/index.js",
95-
"optionalDependencies": {},
96-
"repository": {
97-
"type": "git",
98-
"url": "https://github.com/netlify/js-client.git"
99-
},
100-
"scripts": {
101-
"prepublishOnly": "run-s build && git push && git push --tags && gh-release",
102-
"ci": "run-s test build",
103-
"test": "run-s test:* test:dev:*",
104-
"test-ci": "run-s test:* test:ci:*",
105-
"test:lint": "eslint --ignore-path .gitignore --fix --cache --format=codeframe --max-warnings=0 \"src/**/*.js\" \"*.js\"",
106-
"test:prettier": "prettier --ignore-path .gitignore --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"",
107-
"test:dev:ava": "ava",
108-
"test:ci:ava": "nyc -r lcovonly -r text -r json ava",
109-
"build": "run-s build:*",
110-
"build:webpack": "webpack",
111-
"deptree": "depcruise --exclude '^node_modules' --output-type dot src | dot -T svg > site/dist/dependencygraph.svg",
112-
"clean": "rimraf dist coverage",
113-
"version": "auto-changelog -p --template keepachangelog --breaking-pattern breaking && git add CHANGELOG.md"
114112
}
115113
}

0 commit comments

Comments
 (0)