Skip to content

Commit d88afd0

Browse files
author
Markus Günther
committed
Build: Add config for npm publish
1 parent 4db9f02 commit d88afd0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"test": "jest",
6666
"test:watch": "npm test -- --watch",
6767
"travis-deploy-once": "travis-deploy-once",
68-
"semantic-release": "semantic-release",
68+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
6969
"commit": "git-cz"
7070
},
7171
"license": "MIT",
@@ -85,5 +85,8 @@
8585
"commitizen": {
8686
"path": "./node_modules/cz-adapter-eslint"
8787
}
88+
},
89+
"publishConfig": {
90+
"access": "public"
8891
}
8992
}

0 commit comments

Comments
 (0)