Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.77 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 2.77 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "hackalod",
"version": "0.0.0",
"description": "HackaLod will humanize all your digits!",
"author": "Research Software Lab, Centre for Digital Humanities, Utrecht University",
"license": "BSD-3-Clause",
"repository": "github:CentreForDigitalHumanities/hackalod",
"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 hackalod.settings --pythonpath .",
"test-front": "yarn front yarn test-once",
"test-back": "yarn back pytest",
"test": "yarn test-back && yarn test-front",
"start-front": "yarn fyarn stop && yarn front yarn serve",
"start-back": "cd backend && python manage.py runserver --settings glue --pythonpath ..",
"livereload-back": "cd backend && python manage.py livereload --settings glue --pythonpath ..",
"watch-test-front": "yarn front yarn test",
"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",
"build": "yarn front yarn build",
"build-p": "yarn front 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 settings --pythonpath ../private",
"start-back-p-local": "cd backend && python manage.py runserver --settings production --insecure --pythonpath ..",
"start-p": "yarn start-back-p & sleep 5 && yarn static-p && yarn watch-front-p",
"stop-back": "lsof -t -i tcp:8000 | xargs kill -9 || echo \"not running\""
},
"dependencies": {
"@angular/animations": "^21.0.0",
"@angular/common": "^21.0.0",
"@angular/compiler": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/forms": "^21.0.0",
"@angular/platform-browser": "^21.0.0",
"@angular/router": "^21.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular/build": "^21.0.4",
"@angular/cli": "^21.0.4",
"@angular/compiler-cli": "^21.0.0",
"jsdom": "^27.1.0",
"typescript": "~5.9.2",
"vitest": "^4.0.8"
}
}