adding npm scripts for better dev ergonomics

This commit is contained in:
Gavin Lazar Suntop 2017-09-19 10:34:45 -07:00
Родитель 4c122dacbe
Коммит 2eb04c493b
2 изменённых файлов: 25 добавлений и 0 удалений

5
package-lock.json сгенерированный Normal file
Просмотреть файл

@ -0,0 +1,5 @@
{
"name": "network-pulse-api",
"version": "1.0.0",
"lockfileVersion": 1
}

20
package.json Normal file
Просмотреть файл

@ -0,0 +1,20 @@
{
"name": "network-pulse-api",
"version": "1.0.0",
"description": "Network Pulse API",
"scripts": {
"install": "source venv/bin/activate && pip install -r requirements.txt",
"start": "source venv/bin/activate && python manage.py runserver",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/network-pulse-api.git"
},
"author": "Mozilla Foundation",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/mozilla/network-pulse-api/issues"
},
"homepage": "https://github.com/mozilla/network-pulse-api#readme"
}