Skip to content

Commit 44abdf6

Browse files
fix: npm publish
For unknown reasons, npm publish can't handle the path. Fix this by changing directory.
1 parent ed81b0b commit 44abdf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"e2e": "ng e2e",
1111
"build:app": "ng build --configuration production",
1212
"build:lib": "rimraf dist && ng-packagr -p angular-reactive-validation/package.json && rimraf dist/angular-reactive-validation.tgz && cpx README.md dist/angular-reactive-validation",
13-
"publish": "npm publish dist/angular-reactive-validation"
13+
"publish": "cd dist/angular-reactive-validation && npm publish --dry-run && cd ../.."
1414
},
1515
"private": true,
1616
"dependencies": {

0 commit comments

Comments
 (0)