Skip to content

Commit

Permalink
Update package.json to include the repository (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhzhou committed Nov 9, 2021
1 parent 09fea5e commit 259898c
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/docz-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "core/docz-core"
},
"scripts": {
"build": "yarn cross-env NODE_ENV=production rollup -c",
"dev": "yarn cross-env NODE_ENV=development yarn build -w",
Expand Down
5 changes: 5 additions & 0 deletions core/docz-rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"src/",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "core/docz-rollup"
},
"scripts": {
"fix": "yarn lint --fix",
"lint": "eslint . --ext .js",
Expand Down
5 changes: 5 additions & 0 deletions core/docz-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "core/docz-utils"
},
"scripts": {
"dev": "cross-env NODE_ENV=development yarn build -w",
"build": "trash lib && cross-env NODE_ENV=production rollup -c",
Expand Down
5 changes: 5 additions & 0 deletions core/docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "core/docz"
},
"scripts": {
"dev": "cross-env NODE_ENV=development yarn build -w",
"build": "cross-env NODE_ENV=production rollup -c",
Expand Down
5 changes: 5 additions & 0 deletions core/gatsby-theme-docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"gatsby-theme",
"docz"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "core/gatsby-theme-docz"
},
"scripts": {
"dev": "echo noop",
"fix": "yarn lint --fix",
Expand Down
5 changes: 5 additions & 0 deletions core/rehype-docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "core/rehype-docz"
},
"scripts": {
"dev": "cross-env NODE_ENV=development yarn build -w",
"build": "cross-env NODE_ENV=production rollup -c",
Expand Down
5 changes: 5 additions & 0 deletions core/remark-docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "core/remark-docz"
},
"scripts": {
"dev": "cross-env NODE_ENV=development yarn build -w",
"build": "cross-env NODE_ENV=production rollup -c",
Expand Down
5 changes: 5 additions & 0 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"name": "docz-example-basic",
"version": "2.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "examples/basic"
},
"scripts": {
"dev": "docz dev",
"build": "docz build",
Expand Down
5 changes: 5 additions & 0 deletions other-packages/babel-plugin-export-metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"src/",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "other-packages/babel-plugin-export-metadata"
},
"scripts": {
"fix": "yarn lint --fix",
"lint": "eslint . --ext .js",
Expand Down
5 changes: 5 additions & 0 deletions other-packages/eslint-config-docz-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"index.js",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "other-packages/eslint-config-docz-js"
},
"scripts": {
"fix": "run-s fix:*",
"fix:prettier": "prettier \"**/*.js\" --write"
Expand Down
5 changes: 5 additions & 0 deletions other-packages/eslint-config-docz-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"index.js",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "other-packages/eslint-config-docz-ts"
},
"scripts": {
"fix": "run-s fix:*",
"fix:prettier": "prettier \"**/*.js\" --write"
Expand Down
5 changes: 5 additions & 0 deletions other-packages/load-cfg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "other-packages/load-cfg"
},
"scripts": {
"dev": "cross-env NODE_ENV=development yarn build -w",
"build": "cross-env NODE_ENV=production rollup -c",
Expand Down
5 changes: 5 additions & 0 deletions other-packages/react-docgen-actual-name-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"package.json",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/doczjs/docz.git",
"directory": "other-packages/react-docgen-actual-name-handler"
},
"scripts": {
"dev": "cross-env NODE_ENV=development yarn build -w",
"build": "cross-env NODE_ENV=production rollup -c",
Expand Down

0 comments on commit 259898c

Please sign in to comment.