Skip to content

Commit

Permalink
chore(packages): add repository directory to package (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
smackfu authored Apr 4, 2024
1 parent b7263df commit 00c989e
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 7 deletions.
6 changes: 5 additions & 1 deletion packages/parrot-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
],
"main": "lib",
"license": "Apache-2.0",
"repository": "americanexpress/parrot",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/parrot.git",
"directory": "packages/parrot-core"
},
"scripts": {
"clean": "rimraf lib",
"prebuild": "npm run clean",
Expand Down
6 changes: 5 additions & 1 deletion packages/parrot-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
"deploy:extension": "node scripts/deploy-to-webstore.js"
},
"license": "Apache-2.0",
"repository": "americanexpress/parrot",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/parrot.git",
"directory": "packages/parrot-devtools"
},
"dependencies": {
"prop-types": "^15.8.1",
"react": "^16.14.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/parrot-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
],
"main": "lib",
"license": "Apache-2.0",
"repository": "americanexpress/parrot",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/parrot.git",
"directory": "packages/parrot-fetch"
},
"scripts": {
"clean": "rimraf lib",
"prebuild": "npm run clean",
Expand Down
6 changes: 5 additions & 1 deletion packages/parrot-friendly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
],
"main": "lib",
"license": "Apache-2.0",
"repository": "americanexpress/parrot",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/parrot.git",
"directory": "packages/parrot-friendly"
},
"scripts": {
"clean": "rimraf lib",
"prebuild": "npm run clean",
Expand Down
6 changes: 5 additions & 1 deletion packages/parrot-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"description": "A helper library to create GraphQL Parrot mocks.",
"main": "src/index.js",
"license": "Apache-2.0",
"repository": "americanexpress/parrot",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/parrot.git",
"directory": "packages/parrot-graphql"
},
"dependencies": {
"@graphql-tools/mock": "^8.7.20",
"graphql": "^15.8.0"
Expand Down
6 changes: 5 additions & 1 deletion packages/parrot-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
],
"main": "lib",
"license": "Apache-2.0",
"repository": "americanexpress/parrot",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/parrot.git",
"directory": "packages/parrot-middleware"
},
"scripts": {
"clean": "rimraf lib",
"prebuild": "npm run clean",
Expand Down
6 changes: 5 additions & 1 deletion packages/parrot-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"lib"
],
"license": "Apache-2.0",
"repository": "americanexpress/parrot",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/parrot.git",
"directory": "packages/parrot-server"
},
"bin": {
"parrot-server": "./lib/index.js"
},
Expand Down

0 comments on commit 00c989e

Please sign in to comment.