-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
70 lines (70 loc) · 2.32 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
{
"name": "kramster",
"version": "2.0.0",
"description": "Kramster is a quiz app for making exam preparation more fun",
"main": "src/server/server.js",
"type": "module",
"engines": {
"node": "20",
"npm": "10"
},
"scripts": {
"start": "DOTENV_CONFIG_PATH=.env.staging vite",
"build": "npm run build:prod",
"build:staging": "tsc && vite build --mode staging",
"build:prod": "tsc && vite build",
"prod": "npm run build:prod && NODE_ENV=production node dist/server/server.js",
"eslint": "eslint --ext js,jsx,ts,tsx src/",
"stylelint": "stylelint src/**/*.css",
"format": "prettier . --write",
"format:check": "prettier . --check",
"ts": "tsc --noEmit",
"lint": "npm run eslint && npm run stylelint && npm run format:check",
"test": "mocha --exit",
"test:ci": "firebase emulators:exec 'mocha --exit' -P staging",
"emulators": "firebase emulators:start",
"fill-db": "FIRESTORE_EMULATOR_HOST=localhost:8080 node --loader ts-node/esm ./scripts/fill-db.ts",
"deploy": "npm run build:prod && firebase deploy -P prod",
"deploy:staging": "npm run build:staging && firebase deploy -P staging"
},
"repository": {
"type": "git",
"url": "git://github.com/draperunner/Kramster.git"
},
"author": "Mats Byrkjeland",
"license": "Apache-2.0",
"dependencies": {
"firebase": "^10.10.0",
"katex": "^0.16.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
"sanitize-html": "^2.13.0",
"wilson-score": "^1.0.0"
},
"devDependencies": {
"@firebase/rules-unit-testing": "^3.0.2",
"@types/katex": "^0.16.7",
"@types/node": "^20.12.2",
"@types/qs": "^6.9.14",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.23",
"@types/sanitize-html": "^2.11.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"eslint": "^8.57.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"firebase-admin": "^12.0.0",
"firebase-tools": "^13.6.0",
"mocha": "^10.4.0",
"prettier": "^3.2.5",
"stylelint": "^16.3.1",
"stylelint-config-standard": "^36.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"vite": "^5.2.7"
}
}