-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.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
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": "janus",
"version": "0.6.10",
"description": "Sika Education's LMS",
"author": "Kyle Coberly <kyle.coberly@gmail.com>",
"license": "Private",
"private": true,
"repository": "git@github.com:sikaeducation/janus.git",
"homepage": "https://lms.sikaeducation.com",
"scripts": {
"dev": "docker compose --project-directory .docker config && docker compose --project-directory .docker run --rm --service-ports frontend_dev",
"d": "npm run dev",
"create:page": "./scripts/create-page",
"create:component": "./scripts/create-component",
"update:sika": "npm i @sikaeducation/ui@latest && npm i @sikaeducation/eslint-config@latest && npm i @sikaeducation/stylelint-config@latest",
"sika": "npm run update:sika",
"lint": "npm run lint:ts ; npm run lint:scss ; npm run format",
"l": "npm run lint",
"lint:ts": "eslint --report-unused-disable-directives --ignore-path .gitignore --fix .",
"lint:scss": "stylelint --fix **/*.scss",
"format": "prettier . --write",
"build": "vite build",
"docker:build": "docker compose --project-directory .docker build",
"docker:clean": "docker compose --project-directory .docker down --remove-orphans",
"db": "npm run docker:build",
"dc": "npm run docker:clean",
"test": "npm run test:unit && npm run test:features",
"test:unit": "docker compose --project-directory .docker run --rm frontend_test npm run _test:unit",
"test:unit:watch": "docker compose --project-directory .docker run --rm frontend_test npm run _test:unit:watch",
"tuw": "npm run test:unit:watch",
"test:features": "docker compose --project-directory .docker run --rm tests npm run _test:features",
"tf": "npm run test:features",
"tfw": "npm run test:features:watch",
"test:features:ui": "docker compose --project-directory .docker run --rm --service-ports tests npm run _test:features:ui",
"tfu": "npm run test:features:ui",
"_dev": "vite --host",
"_serve:test": "vite --host --mode test",
"_test:unit": "vitest --run",
"_test:unit:watch": "vitest --watch",
"_test:features": "npx playwright test features/",
"_test:features:ui": "npx playwright test --ui-port=3001 --ui-host=0.0.0.0 features/"
},
"dependencies": {
"@auth0/auth0-react": "^1.9.0",
"@reduxjs/toolkit": "^1.9.1",
"@sentry/react": "^7.76.0",
"@sentry/vite-plugin": "^2.9.0",
"@sikaeducation/ui": "^2.0.2",
"classnames": "^2.3.1",
"eslint": "^8.3.0",
"fs-extra": "^10.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.11",
"react-redux": "^8.0.5",
"react-router-dom": "^6.2.1",
"sass": "^1.45.2",
"socket.io-client": "^4.4.1"
},
"devDependencies": {
"@playwright/test": "1.39.0",
"@sikaeducation/eslint-config": "^3.1.12",
"@sikaeducation/stylelint-config": "^1.2.2",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.2",
"@tsconfig/vite-react": "^2.0.1",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@vitejs/plugin-react": "^4.1.0",
"eslint": "^8.49.0",
"jsdom": "^23.0.1",
"postcss": "^8.4.31",
"postcss-clean": "^1.2.0",
"postcss-discard-duplicates": "^6.0.0",
"postcss-merge-rules": "^6.0.1",
"postcss-nested": "^6.0.1",
"prettier": "^3.0.3",
"stylelint": "^15.11.0",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^0.34.6"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}