Skip to content

Commit 01810e9

Browse files
committed
add version and postversion npm scripts
1 parent 28aa6c8 commit 01810e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
"test": "npm run test-jasmine && npm test-image",
3434
"start-test_dashboard": "node devtools/test_dashboard/server.js",
3535
"start-image_viewer": "node devtools/image_viewer/server.js",
36-
"baseline": "./tasks/baseline.sh"
36+
"baseline": "./tasks/baseline.sh",
37+
"version": "npm run build && git add -A dist",
38+
"postversion": "git push && git push --tags"
3739
},
3840
"dependencies": {
3941
"3d-view": "^2.0.0",

0 commit comments

Comments
 (0)