Skip to content

Commit

Permalink
add package json metadata for better display on npmjs.org (#3981)
Browse files Browse the repository at this point in the history
* chore: add package json metadata (git url, issues, etc.)

* chore: update plop template

* chore: move bin/files up in package.json

* chore: fix unescaped email(s)

* Run 'fixpack' on all package.jsons
  • Loading branch information
DSchau authored and KyleAMathews committed Feb 13, 2018
1 parent 3739df7 commit 8ecfc20
Show file tree
Hide file tree
Showing 84 changed files with 1,515 additions and 863 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,28 @@
"engines": {
"yarn": "^1.2.1"
},
"eslintIgnore": [
"interfaces",
"**/__tests__/fixtures/"
],
"private": true,
"scripts": {
"bootstrap": "npm-run-all -s check-versions lerna-prepublish",
"prebootstrap": "yarn",
"check-versions": "babel-node scripts/check-versions.js",
"format": "npm-run-all -p format-packages format-cache-dir format-www format-examples format-scripts format-markdown",
"format-cache-dir": "prettier-eslint --write \"packages/gatsby/cache-dir/*.js\"",
"format-examples": "prettier-eslint --write \"examples/**/gatsby-node.js\" \"examples/**/gatsby-config.js\" \"examples/**/src/**/*.js\"",
"format-markdown": "prettier --write \"**/*.md\" --semi",
"format-packages": "prettier-eslint --write \"packages/*/src/**/*.js\"",
"format-scripts": "prettier-eslint --write \"scripts/**/*.js\"",
"format-markdown": "prettier --write \"**/*.md\" --semi",
"format-www": "prettier-eslint --write \"www/*.js\" \"www/src/**/*.js\"",
"jest": "jest",
"lerna": "lerna",
"lerna-prepublish": "lerna run prepublish",
"lint": "eslint --ext .js,.jsx packages/**/src",
"lint:flow": "babel-node scripts/flow-check.js",
"plop": "plop",
"prebootstrap": "yarn",
"publish": "lerna publish",
"publish-canary": "lerna publish --canary --yes",
"publish-next": "lerna publish --npm-tag=next",
Expand All @@ -70,9 +74,5 @@
},
"workspaces": [
"packages/*"
],
"eslintIgnore": [
"interfaces",
"**/__tests__/fixtures/"
]
}
30 changes: 19 additions & 11 deletions packages/gatsby-1-config-css-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
{
"name": "gatsby-1-config-css-modules",
"version": "1.0.8",
"description": "CSS Modules configuration for Gatsby v1 plugins",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
"gatsby"
],
"version": "1.0.8",
"author": "Ming Aldrich-Gan <mingaldrichgan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"babel-runtime": "^6.26.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-1-config-css-modules#readme",
"keywords": [
"gatsby"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore __tests__"
}
}
18 changes: 13 additions & 5 deletions packages/gatsby-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"bin": {
"gatsby": "lib/index.js"
},
"files": [
"lib"
],
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"babel-code-frame": "^6.26.0",
"babel-runtime": "^6.26.0",
Expand All @@ -32,15 +32,23 @@
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"files": [
"lib"
],
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-cli#readme",
"keywords": [
"gatsby"
],
"license": "MIT",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "babel src --out-dir lib --ignore __tests__",
"watch": "babel -w src --out-dir lib --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build"
"prepublish": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir lib --ignore __tests__"
},
"yargs": {
"boolean-negation": false
Expand Down
38 changes: 23 additions & 15 deletions packages/gatsby-dev-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"name": "gatsby-dev-cli",
"description": "CLI helpers for contributors working on Gatsby",
"version": "1.2.10",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bin": {
"gatsby-dev": "./dist/index.js"
},
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"chokidar": "^1.7.0",
Expand All @@ -8,26 +18,24 @@
"lodash": "^4.17.4",
"yargs": "^8.0.2"
},
"name": "gatsby-dev-cli",
"version": "1.2.10",
"description": "CLI helpers for contributors working on Gatsby",
"main": "index.js",
"devDependencies": {
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"bin": {
"gatsby-dev": "./dist/index.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "babel src --out-dir dist",
"watch": "babel -w src --out-dir dist",
"prepublish": "cross-env NODE_ENV=production npm run build"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli#readme",
"keywords": [
"gatsby"
],
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"license": "MIT"
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "babel src --out-dir dist",
"prepublish": "cross-env NODE_ENV=production npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "babel -w src --out-dir dist"
}
}
34 changes: 21 additions & 13 deletions packages/gatsby-image/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,34 @@
{
"name": "gatsby-image",
"version": "1.0.35",
"description": "Lazy-loading React image component with optional support for the blur-up effect.",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
"gatsby",
"gatsby-component",
"react-component"
],
"version": "1.0.35",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"prop-types": "^15.6.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image#readme",
"keywords": [
"gatsby",
"gatsby-component",
"react-component"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore __tests__"
}
}
46 changes: 27 additions & 19 deletions packages/gatsby-link/package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
{
"name": "gatsby-link",
"version": "1.6.36",
"description": "An enhanced Link component for Gatsby sites with support for resource prefetching",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build"
"version": "1.6.36",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@types/history": "^4.6.2",
"@types/react-router-dom": "^4.2.2",
"babel-runtime": "^6.26.0",
"prop-types": "^15.5.8",
"ric": "^1.3.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme",
"keywords": [
"gatsby",
"gatsby-component"
],
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"main": "index.js",
"peerDependencies": {
"gatsby": "^1.0.0"
},
"dependencies": {
"@types/history": "^4.6.2",
"@types/react-router-dom": "^4.2.2",
"babel-runtime": "^6.26.0",
"prop-types": "^15.5.8",
"ric": "^1.3.0"
}
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore __tests__"
},
"types": "index.d.ts"
}
26 changes: 17 additions & 9 deletions packages/gatsby-module-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
{
"name": "gatsby-module-loader",
"version": "1.0.9",
"description": "_Based on https://github.com/webpack/bundle-loader and https://github.com/NekR/async-module-loader_",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__",
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "cross-env NODE_ENV=production npm run build"
},
"version": "1.0.9",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"loader-utils": "^0.2.16"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-module-loader#readme",
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "babel -w src --out-dir . --ignore __tests__"
}
}
36 changes: 22 additions & 14 deletions packages/gatsby-plugin-aphrodite/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,34 @@
{
"name": "gatsby-plugin-aphrodite",
"version": "1.0.6",
"description": "Stub description for gatsby-plugin-aphrodite",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build"
"version": "1.0.6",
"author": "Kyle Mathews <matthews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"babel-runtime": "^6.26.0"
},
"keywords": [
"gatsby"
],
"author": "Kyle Mathews &lt;mathews.kyle@gmail.com&gt;",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.26.0",
"cross-env": "^5.0.5"
},
"dependencies": {
"babel-runtime": "^6.26.0"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-aphrodite#readme",
"keywords": [
"gatsby"
],
"license": "MIT",
"main": "index.js",
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore __tests__"
}
}
Loading

0 comments on commit 8ecfc20

Please sign in to comment.