-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.backbone.json
42 lines (42 loc) · 2.1 KB
/
package.backbone.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "parseport",
"version": "0.0.0",
"description": "Dutch sentence parser for Spindle + Æthel (and maybe others in the future).",
"author": "UU Centre for Digital Humanities - Research Software Lab",
"license": "BSD-3-Clause",
"repository": "github:UUDigitalHumanitieslab/parseport",
"private": true,
"scripts": {
"front": "cd frontend && ",
"back": "cd backend && ",
"func": "cd functional-tests && ",
"fyarn": "yarn front yarn",
"preinstall": "pip install pip-tools",
"install-back": "yarn back pip install -r requirements.txt",
"install-func": "yarn func pip install -r requirements.txt",
"postinstall": "yarn fyarn && yarn install-back && yarn install-func",
"gulp": "yarn front yarn gulp",
"django": "yarn back python manage.py",
"startapp": "yarn back django-admin startapp --settings parseport.settings --pythonpath .",
"test-front": "yarn gulp unittest",
"test-back": "yarn back pytest",
"test-func": "yarn func pytest",
"test": "yarn test-back && yarn test-front && yarn test-func",
"watch-front": "yarn gulp watch --config config.root.json",
"start-front": "yarn gulp clean && yarn watch-front",
"start-back": "yarn django runserver --settings glue --pythonpath ..",
"livereload-back": "yarn django livereload --settings glue --pythonpath ..",
"watch-test-back": "yarn test-back --looponfail",
"watch-back": "yarn livereload-back & yarn watch-test-back",
"start": "yarn start-front & yarn start-back & yarn watch-back",
"dist": "yarn gulp dist",
"dist-p": "yarn dist --production --config config.root.json",
"collectstatic-p": "yarn django collectstatic -v 0 --settings collect --pythonpath ..",
"clean-static": "rm -rf static || rd /S /Q static",
"static-p": "yarn gulp clean && yarn dist-p && yarn clean-static && yarn collectstatic-p",
"serve-front-p": "yarn gulp serve --proxy ../proxy.json --root ..",
"serve-back-p": "yarn django runserver --settings production --pythonpath ..",
"serve-p": "yarn serve-front-p & yarn serve-back-p",
"start-p": "yarn static-p && yarn serve-p"
}
}