Skip to content

Commit 7322001

Browse files
author
George Treviranus
committed
add npm publish tag to git-origin publish step
1 parent 5c6e994 commit 7322001

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "core-flux",
33
"version": "1.1.0",
44
"description": "Manage your own state.",
5-
"main": "lib/core-flux.cjs.min.js",
6-
"module": "lib/core-flux.es.min.js",
7-
"browser": "dist/core-flux.min.js",
5+
"main": "lib/core-flux.cjs.js",
6+
"module": "lib/core-flux.es.js",
7+
"browser": "dist/core-flux.js",
88
"type": "module",
99
"scripts": {
1010
"test": "jest",
@@ -13,7 +13,7 @@
1313
"build": "BABEL_ENV=build rollup -c",
1414
"build:publish": "BABEL_ENV=publish rollup -c",
1515
"lint": "eslint . --ext .js -c .eslintrc.json --ignore-path .eslintignore",
16-
"git:update-origin": "git add . && git commit -m 'update metadata & cdn tags' && git push && git push --tags",
16+
"git:update-origin": "git add . && git commit -m '[npm publish] update metadata & cdn tags' && git push && git push --tags",
1717
"prepublishOnly": "paopu && npm run git:update-origin",
1818
"preversion": "npm test",
1919
"postversion": "npm run build:publish"

0 commit comments

Comments
 (0)