-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.82 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
{
"name": "instant-mock",
"version": "1.0.0-beta.3",
"description": "![instant-mock-screen-cap-final](https://github.com/user-attachments/assets/de0f50d4-5a71-4e5a-b479-37c6cfa0481d)",
"main": "index.js",
"module": "true",
"scripts": {
"dev": "npm run install:all && concurrently -n backend,frontend -c yellow,cyan \"yes | npm --prefix backend run dev\" \"wait-on http://localhost:3033 && npm --prefix frontend start\"",
"start": "npm run install:all && npm --prefix frontend run build && npm --prefix backend run build && NODE_ENV=production npm --prefix backend start",
"install:all": "npm install && npm --prefix frontend install && npm --prefix backend install",
"start:auth": "docker compose up --build",
"cypress:basic": "concurrently -k -s first \"NODE_ENV=development PORT=3032 npm --prefix backend start\" \"wait-on http://localhost:3032 && CYPRESS_BASE_URL=http://localhost:3032 cypress run --spec 'cypress/e2e/basic-functionality.cy.ts'\"",
"cypress:open": "concurrently --kill-others --success first --color always \"FORCE_COLOR=1 npm run start:auth\" \"wait-on http://localhost:3032 && FORCE_COLOR=1 CYPRESS_BASE_URL=http://localhost:3032 cypress open\"",
"db:auth": "docker exec -it supertokens_db psql -U supertokens_user -d supertokens",
"e2e:record": "ts-node scripts/run-e2e-tests.ts record",
"e2e:test": "ts-node scripts/run-e2e-tests.ts test"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/jest": "^29.5.14",
"concurrently": "^8.0.0",
"cypress": "^10.0.0",
"cypress-iframe": "^1.0.1",
"date-fns": "^4.1.0",
"dotenv": "^16.4.5",
"globals": "^15.12.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript-eslint": "^8.13.0",
"wait-on": "^7.0.0"
},
"engines": {
"node": "20",
"npm": "10"
}
}