-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
77 lines (77 loc) · 2.82 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
{
"name": "datamine",
"version": "0.1.1671080215642",
"private": true,
"scripts": {
"setup": "yarn setup:dotenv && yarn && yarn db:reset",
"dev": "yarn setup && next dev",
"build": "next build",
"start": "next start",
"lint": "next lint -d .",
"lint:fix": "next lint -d . --fix",
"update-version": "node scripts/update-version.js",
"test": "yarn lint:fix && yarn db:reset && yarn test:frontend && yarn test:backend",
"test:frontend": "dotenv -e .env.local -- jest -c jest.frontend.config.js -i src/tests/ui/",
"test:backend": "dotenv -e .env.local -- jest -c jest.backend.config.js -i src/tests/api/ --runInBand",
"db:start": "docker run --name datamine -p 3309:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql",
"db:migrate": "dotenv -e .env.local -- yarn prisma migrate dev",
"db:populate": "dotenv -e .env.local -- node ./scripts/db-add-user-events.js",
"db:reset": "dotenv -e .env.local -- yarn prisma migrate reset --force && yarn db:populate",
"localstack:start": "localstack start -d && dotenv -e .env.local -- node ./scripts/localstack.js",
"setup:dotenv": "yarn global add dotenv-cli && alias dotenv='$HOME/.config/yarn/global/node_modules/.bin/dotenv'",
"magiclink": "dotenv -e .env.local -- node ./scripts/get-magic-link.js"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.211.0",
"@aws-sdk/client-ses": "^3.212.0",
"@aws-sdk/s3-request-presigner": "^3.211.0",
"@prisma/client": "^4.5.0",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"clsx": "^1.2.1",
"dotenv": "^16.0.3",
"downloadjs": "^1.4.7",
"iron-session": "^6.3.1",
"lodash": "^4.17.21",
"next": "13.0.2",
"papaparse": "^5.3.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.39.3",
"typescript": "4.8.4"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/downloadjs": "^1.4.3",
"@types/jest": "^29.2.2",
"@types/lodash": "^4.14.188",
"@types/papaparse": "^5.3.5",
"@types/supertest": "^2.0.12",
"autoprefixer": "^10.4.13",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-next": "^13.0.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^8.0.1",
"install-peerdeps": "^3.0.3",
"jest": "^29.3.0",
"jest-environment-jsdom": "^29.3.0",
"node-fetch": "^3.3.0",
"postcss": "^8.4.18",
"prisma": "^4.6.1",
"sqlite3": "^5.1.2",
"supertest": "^6.3.1",
"tailwindcss": "^3.2.2",
"ts-jest": "^29.0.3"
},
"prisma": {
"schema": "./prisma/schema.prisma"
}
}