-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
79 lines (79 loc) · 2.34 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
{
"name": "moonshot-chingu-quiz",
"version": "1.0.0",
"description": "Chingu Moonshot - Quiz App",
"private": true,
"engines": {
"npm": ">= 7.0.0"
},
"dependencies": {
"@babel/node": "^7.14.7",
"@types/jest": "^26.0.24",
"concurrently": "^7.2.2",
"dotenv": "^10.0.0",
"next": "^10.0.7",
"next-auth": "^3.29.10",
"pg": "^8.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.3.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@types/node": "^16.0.0",
"@types/pg": "^8.6.0",
"@types/react": "^17.0.13",
"@types/styled-components": "^5.1.11",
"babel-jest": "^27.0.6",
"babel-plugin-styled-components": "^1.13.1",
"eslint": "^7.30.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-next": "^11.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^11.0.0",
"prettier": "^2.3.2",
"typescript": "^4.3.5"
},
"scripts": {
"local": "concurrently \"npm:docker-dev\" \"npm:dev\"",
"docker-dev": "docker-compose up",
"docker-reset-db": "docker container rm moonshot-chingu-quiz_db && docker volume rm moonshot-chingu-quiz_quizdata",
"docker-dump-db": "docker exec moonshot-chingu-quiz_db pg_dump -U docker docker > quiz_db.sql",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint:ts": "tsc --noEmit --skipLibCheck -p ./tsconfig.json",
"db-setup": "babel-node -r dotenv/config -x .ts -- db-setup.ts",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "tsc --noEmit --skipLibCheck -p ./tsconfig.json && lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx}": [
"prettier --write",
"eslint **/*.js --fix-dry-run"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/chingu-voyages/moonshot-chingu-quiz.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/chingu-voyages/moonshot-chingu-quiz/issues"
},
"homepage": "https://github.com/chingu-voyages/moonshot-chingu-quiz#readme"
}