Skip to content

Commit f8785aa

Browse files
committed
updated package.json
1 parent 3ecef09 commit f8785aa

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"build:prod": "ng build --prod --base-href https://nileshpatel17.github.io/ng-multiselect-dropdown/",
1818
"clear:lib": "rimraf dist-lib",
1919
"copyfiles": "copyfiles -u 1 ./dist-lib/**/*.* node_modules/ng-multiselect-dropdown",
20-
"build:lib": "yarn clear:lib && ng-packagr -p ng-package.json",
21-
"postbuild:lib": "yarn copyfiles",
22-
"prepublish": "yarn build:prod",
20+
"build:lib": "npm run clear:lib && ng-packagr -p ng-package.json",
21+
"postbuild:lib": "npm run copyfiles",
22+
"prepublish": "npm run build:prod",
2323
"publish": "ngh --no-silent false --name=\"nileshpatel17\" --email=\"nilesh.nvs@hotmail.com\"",
2424
"deploy": "ng build --prod --bh /ng-multiselect-dropdown/ && angular-cli-ghpages --no-silent --repo=https://github.com/NileshPatel17/ng-multiselect-dropdown.git --name=\"Nilesh Patel\" --email=nilesh.nvs@hotmail.com",
2525
"deployOnly": "angular-cli-ghpages --no-silent --repo=https://github.com/NileshPatel17/ng-multiselect-dropdown.git --name=\"Nilesh Patel\" --email=nilesh.nvs@hotmail.com"

publish-package.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
1. yarn build:lib
44
2. navigate to dist-lib folder
5-
3. login to npm registry (npm login)
6-
4. yarn publish
7-
5. yarn deployOnly
5+
3. mark private to false
6+
4. login to npm registry (npm login)
7+
5. yarn publish
8+
6. yarn deployOnly
89

910
## Angular Multiselect Dropdown
1011

0 commit comments

Comments
 (0)