Skip to content

Commit

Permalink
Merge pull request #45 from brightsign/diegobrsign/publish
Browse files Browse the repository at this point in the history
fix: add publishconfig and repository info for npm package publish
  • Loading branch information
diegobrsign authored Jun 11, 2024
2 parents 321ea47 + c64f728 commit 7d8a1b6
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 7d8a1b6

Please sign in to comment.