Skip to content

Commit c64f728

Browse files
committed
fix: add publishconfig and repository info for npm package publish
1 parent 9347f66 commit c64f728

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

cra-template-brightsign-app/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
],
99
"author": "Diego Benitez <dbenitez@brightsign.biz>",
1010
"license": "SEE LICENSE IN License.txt",
11+
"repository": {
12+
"url": "https://github.com/brightsign/dev-cookbook.git",
13+
"type": "git",
14+
"directory": "cra-template-brightsign-app/"
15+
},
16+
"publishConfig": {
17+
"registry": "https://registry.npmjs.org"
18+
},
1119
"scripts": {
1220
"test": "jest --config jest.config.js template/src/",
1321
"format:check": "prettier . --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",

cra-template-brightsign-dashboard/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
],
99
"author": "Diego Benitez <dbenitez@brightsign.biz>",
1010
"license": "SEE LICENSE IN License.txt",
11+
"repository": {
12+
"url": "https://github.com/brightsign/dev-cookbook.git",
13+
"type": "git",
14+
"directory": "cra-template-brightsign-dashboard/"
15+
},
16+
"publishConfig": {
17+
"registry": "https://registry.npmjs.org"
18+
},
1119
"scripts": {
1220
"test": "jest --config jest.config.js template/src/",
1321
"format:check": "prettier . --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",

example-node-simple-server/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
"lint": "eslint --no-error-on-unmatched-pattern --config ../.eslintrc template/src/**/*.{js,jsx}",
1313
"publish-package": "npm publish"
1414
},
15+
"repository": {
16+
"url": "https://github.com/brightsign/dev-cookbook.git",
17+
"type": "git",
18+
"directory": "example-node-simple-server/"
19+
},
20+
"publishConfig": {
21+
"registry": "https://registry.npmjs.org"
22+
},
1523
"keywords": [],
1624
"author": "",
1725
"license": "ISC",

template-html5-app/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
"test": "jest --config jest.config.js src/",
2020
"publish": "npm publish"
2121
},
22+
"repository": {
23+
"url": "https://github.com/brightsign/dev-cookbook.git",
24+
"type": "git",
25+
"directory": "template-html5-app/"
26+
},
27+
"publishConfig": {
28+
"registry": "https://registry.npmjs.org"
29+
},
2230
"author": "BrightSign LLC",
2331
"license": "ISC",
2432
"dependencies": {

0 commit comments

Comments
 (0)