-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
43 lines (43 loc) · 2.42 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": "i-analyzer",
"version": "5.15.0",
"license": "MIT",
"scripts": {
"postinstall": "yarn install-back && yarn install-front",
"install-back": "yarn back -- pip install -r requirements.txt",
"install-front": "cd frontend && yarn install",
"test-once": "cd frontend && yarn test --watch=false",
"front": "cd frontend && ",
"back": "cd backend && ",
"fyarn": "yarn front yarn",
"preinstall": "pip install pip-tools",
"django": "yarn back python manage.py",
"startapp": "yarn back django-admin startapp --settings ianalyzer.settings --pythonpath .",
"test-front": "yarn front yarn test",
"test-back": "yarn back pytest",
"test": "yarn test-back && yarn test-front",
"start-front": "yarn fyarn stop && yarn front yarn serve",
"start-back": "yarn django update_index_metadata && yarn django loadcorpora && cd backend && python manage.py runserver --settings glue --pythonpath ..",
"livereload-back": "yarn django update_index_metadata && yarn django loadcorpora && cd backend && python manage.py livereload --settings glue --pythonpath ..",
"watch-test-front": "yarn front yarn test:debug",
"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-p && 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",
"celery": "yarn back celery -A ianalyzer.celery",
"patch": "yarn version --patch --no-commit-hooks --no-git-tag-version && yarn update-citation && yarn fyarn prebuild",
"minor": "yarn version --minor --no-commit-hooks --no-git-tag-version && yarn update-citation && yarn fyarn prebuild",
"major": "yarn version --major --no-commit-hooks --no-git-tag-version && yarn update-citation && yarn fyarn prebuild",
"update-citation": "python $PWD/update_citation.py"
},
"private": true,
"devDependencies": {},
"dependencies": {}
}