Added the repository field and a script for after npm version (#2459)

This commit is contained in:
Michael Deeb 2017-04-25 16:51:51 -07:00 committed by Eugen Rochko
parent 3ebaeccec9
commit e4c294432f
1 changed files with 5 additions and 0 deletions

View File

@ -2,12 +2,17 @@
"name": "mastodon", "name": "mastodon",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"scripts": { "scripts": {
"postversion": "git push --tags",
"start": "babel-node ./streaming/index.js --presets es2015,stage-2", "start": "babel-node ./streaming/index.js --presets es2015,stage-2",
"storybook": "start-storybook -p 9001 -c storybook", "storybook": "start-storybook -p 9001 -c storybook",
"test": "npm run test:lint && npm run test:mocha", "test": "npm run test:lint && npm run test:mocha",
"test:lint": "eslint -c .eslintrc.json --ext=js --ext=jsx app/assets/javascripts/", "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" "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": { "dependencies": {
"@kadira/storybook": "^2.35.3", "@kadira/storybook": "^2.35.3",
"axios": "^0.15.3", "axios": "^0.15.3",