-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 2.25 KB
/
package.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
43
{
"name": "lettercraft",
"version": "0.5.1",
"description": "Lettercraft & Epistolary Performance in Medieval Europe",
"author": "UU Centre for Digital Humanities - Research Software Lab",
"license": "BSD-3-Clause",
"repository": "github:CentreForDigitalHumanities/lettercraft",
"private": true,
"scripts": {
"front": "cd frontend && ",
"back": "cd backend && ",
"fyarn": "yarn front yarn",
"preinstall": "pip install pip-tools",
"install-back": "yarn back -- pip install -r requirements.txt",
"postinstall": "yarn fyarn && yarn install-back",
"django": "yarn back python manage.py",
"startapp": "yarn back django-admin startapp --settings lettercraft.settings --pythonpath .",
"test-front": "yarn front yarn test",
"test-back": "yarn back python -m pytest && yarn back python manage.py test",
"test": "yarn test-back && yarn test-front",
"start-front": "yarn front yarn serve",
"start-back": "cd backend && python manage.py runserver --settings glue --pythonpath ..",
"codegen": "yarn front yarn codegen",
"livereload-back": "cd backend && python manage.py livereload --settings glue --pythonpath ..",
"watch-test-front": "yarn front yarn watch-test",
"watch-test-back": "yarn test-back --looponfail",
"watch-back": "yarn livereload-back",
"start": "yarn start-front & yarn start-back & yarn watch-back & yarn codegen",
"build": "yarn front yarn build",
"build-p": "yarn build",
"collectstatic-p": "cd backend && python manage.py collectstatic --noinput -v 0 --settings collect --pythonpath ..",
"clean-static": "rm -rf static || rd /S /Q static",
"static-p": "yarn build && yarn clean-static && yarn collectstatic-p",
"watch-front-p": "yarn front yarn watch",
"start-back-p": "cd backend && python manage.py runserver --settings production --insecure --pythonpath ..",
"start-p": "yarn static-p && yarn watch-front-p & yarn start-back-p",
"stop-back": "kill $(lsof -t -i:8000)",
"codegen-once": "yarn start-back & yarn front yarn graphql-codegen && yarn stop-back"
},
"devDependencies": {
"@angular/cli": ">=15 <16"
}
}