about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorMichael Deeb <michaeldeeb@me.com>2017-04-25 16:51:51 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-04-26 01:51:51 +0200
commite4c294432f75792e6d914acd768d6bb86b88c4df (patch)
tree01b49b861893cb2006d6fde6e70696507abe898a /package.json
parent3ebaeccec92fc6bab72a3400bbb84224a7b43d88 (diff)
Added the repository field and a script for after npm version (#2459)
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/package.json b/package.json
index a0e09be33..70304c529 100644
--- a/package.json
+++ b/package.json
@@ -2,12 +2,17 @@
   "name": "mastodon",
   "license": "AGPL-3.0",
   "scripts": {
+    "postversion": "git push --tags",
     "start": "babel-node ./streaming/index.js --presets es2015,stage-2",
     "storybook": "start-storybook -p 9001 -c storybook",
     "test": "npm run test:lint && npm run test:mocha",
     "test:lint": "eslint -c .eslintrc.json --ext=js --ext=jsx app/assets/javascripts/",
     "test:mocha": "mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.jsx"
   },
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/tootsuite/mastodon.git"
+  },
   "dependencies": {
     "@kadira/storybook": "^2.35.3",
     "axios": "^0.15.3",