-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
39 lines (36 loc) · 1.45 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
{
"name": "freezeman",
"private": true,
"version": "1.0.0",
"scripts": {
"frontend:watch": "cd frontend && npm start",
"backend:watch": "cd backend && . env/bin/activate && python manage.py runserver",
"//1": "These map 1-to-1 with entries in ./Profile",
"proc:backend_runserver": "cd backend && ./setup_testing.sh runserver",
"proc:backend_test": "cd backend && ./setup_testing.sh test",
"//1a": "This sets up the db for tests but does not launch the test runner",
"proc:backend_setup_test_db": "cd backend && ./setup_testing.sh",
"proc:frontend": "cd frontend && npm start",
"//2": "cypress_xxx use sleep 10 to allow DB setup & frontend server to spawn",
"proc:cypress_open": "cd frontend && sleep 10 && npx cypress open",
"proc:cypress_run": "cd frontend && sleep 10 && npx cypress run --spec 'cypress/integration/all.spec.js'",
"//3": "This runs the backend & the frontend dev-server",
"test:frontend:open": "nf start backend_runserver,frontend,cypress_open",
"test:frontend:run": "nf start backend_runserver,frontend,cypress_run",
"//end": "true"
},
"repository": {
"type": "git",
"url": "git+https://github.com/c3g/freezeman.git"
},
"keywords": [],
"author": "",
"license": "LGPLv3",
"bugs": {
"url": "https://github.com/c3g/freezeman/issues"
},
"homepage": "https://github.com/c3g/freezeman#readme",
"dependencies": {
"foreman": "^3.0.1"
}
}