-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
96 lines (96 loc) · 2.98 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "celluloid",
"version": "3.1.1",
"author": "Younes Benaomar <younes.benaomar@gmail.com>",
"license": "MIT",
"description": "Celluloid helps students and teachers to interact by annotating online educational videos",
"repository": "http://github.com/celluloid-edu/celluloid",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"dev": "dotenv -- turbo run dev --parallel",
"clean": "for package in $(ls packages); do (cd packages/${package} && yarn clean); done",
"build": "dotenv -- turbo run build --no-cache",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx",
"prepare": "husky install",
"prettier:all": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,md}\"",
"test": "npx playwright test",
"start": "pm2-runtime start ecosystem.config.js",
"--shortcuts to run commands in workspaces--": "",
"frontend": "dotenv -- yarn workspace frontend",
"admin": "dotenv -- yarn workspace admin",
"backend": "dotenv -- yarn workspace backend",
"prisma": "dotenv -- yarn workspace @celluloid/prisma",
"docker-build": "DOCKER_BUILDKIT=1 docker build --build-arg APP=backend --build-arg START_COMMAND=start -t celluloid-backend:latest --cache-from=celluloid-backend:latest . ",
"docker-build-compact": "DOCKER_BUILDKIT=1 docker build -t celluloid-compact:latest -f Dockerfile.full ."
},
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@playwright/test": "^1.39.0",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.50.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jest": "latest",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"husky": "^8.0.3",
"jest": "^27.0.1",
"lint-staged": "^14.0.1",
"mock-req": "^0.2.0",
"mock-res": "^0.5.0",
"prettier": "^3.0.3",
"rimraf": "^3.0.2",
"start-server-and-test": "^2.0.1",
"ts-jest": "^27.0.1",
"tsup": "^7.2.0",
"turbo": "^1.10.16",
"typescript": "^5.2.2",
"wait-port": "^1.1.0"
},
"prettier": {
"trailingComma": "es5",
"proseWrap": "always",
"overrides": [
{
"files": [
"*.yml",
"*.yaml"
],
"options": {
"printWidth": 120
}
}
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"packageManager": "yarn@3.4.1",
"engines": {
"node": ">=20"
},
"lint-staged": {
"*.{js,ts,tsx,jsx}": "eslint --cache --fix",
"*.{js,css,md,ts,tsx,jsx}": "prettier --write"
},
"dependencies": {
"abort-controller": "^3.0.0",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.3.0",
"node-fetch": "2",
"pm2": "^5.3.0"
}
}