Skip to content

Commit

Permalink
fix: add publishconfig and repository info for npm package publish
Browse files Browse the repository at this point in the history
  • Loading branch information
diegobrsign committed Jun 11, 2024
1 parent 9347f66 commit c64f728
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cra-template-brightsign-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
],
"author": "Diego Benitez <[email protected]>",
"license": "SEE LICENSE IN License.txt",
"repository": {
"url": "https://github.com/brightsign/dev-cookbook.git",
"type": "git",
"directory": "cra-template-brightsign-app/"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"test": "jest --config jest.config.js template/src/",
"format:check": "prettier . --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",
Expand Down
8 changes: 8 additions & 0 deletions cra-template-brightsign-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
],
"author": "Diego Benitez <[email protected]>",
"license": "SEE LICENSE IN License.txt",
"repository": {
"url": "https://github.com/brightsign/dev-cookbook.git",
"type": "git",
"directory": "cra-template-brightsign-dashboard/"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"test": "jest --config jest.config.js template/src/",
"format:check": "prettier . --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",
Expand Down
8 changes: 8 additions & 0 deletions example-node-simple-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
"lint": "eslint --no-error-on-unmatched-pattern --config ../.eslintrc template/src/**/*.{js,jsx}",
"publish-package": "npm publish"
},
"repository": {
"url": "https://github.com/brightsign/dev-cookbook.git",
"type": "git",
"directory": "example-node-simple-server/"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"keywords": [],
"author": "",
"license": "ISC",
Expand Down
8 changes: 8 additions & 0 deletions template-html5-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
"test": "jest --config jest.config.js src/",
"publish": "npm publish"
},
"repository": {
"url": "https://github.com/brightsign/dev-cookbook.git",
"type": "git",
"directory": "template-html5-app/"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"author": "BrightSign LLC",
"license": "ISC",
"dependencies": {
Expand Down

0 comments on commit c64f728

Please sign in to comment.