-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.64 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
{
"name": "welovemovies",
"private": true,
"workspaces": [
"front-end",
"back-end"
],
"scripts": {
"start": "cross-env NODE_ENV=production concurrently \"npm run start:frontend\" \"npm run start:backend\"",
"scan": "npm run start && npx react-scan@latest localhost:3000",
"start:frontend": "npm run start --workspace=front-end",
"start:backend": "npm run start --workspace=back-end",
"build": "npm run clean && npm run build --workspaces",
"clean": "rimraf ./dist",
"test": "cross-env NODE_ENV=test jest",
"migrate": "npm run build && cross-env NODE_ENV=development knex migrate:latest --knexfile dist/knexfile.js",
"migrate:dev": "npm run build && cross-env NODE_ENV=development knex migrate:latest --knexfile dist/knexfile.js",
"migrate:test": "npm run build && cross-env NODE_ENV=test knex migrate:latest --knexfile dist/knexfile.js",
"migrate:prod": "npm run build && cross-env NODE_ENV=production knex migrate:latest --knexfile dist/knexfile.js",
"seed": "npm run build && cross-env NODE_ENV=development knex seed:run --knexfile dist/knexfile.js",
"seed:test": "npm run build && cross-env NODE_ENV=test knex seed:run --knexfile dist/knexfile.js",
"seed:prod": "npm run build && cross-env NODE_ENV=production knex seed:run --knexfile dist/knexfile.js",
"db:reset": "npm run migrate:rollback && npm run migrate && npm run seed",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch"
},
"dependencies": {
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"knex": "^3.1.0",
"pg": "^8.4.2"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
}
}