-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 3.72 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
97
98
99
100
101
102
103
104
105
{
"name": "swolmodoro",
"private": true,
"description": "A pomodoro timer that prompts you to exercise in-between breaks.",
"license": "",
"sideEffects": false,
"scripts": {
"build": "run-s build:*",
"build:css": "npm run generate:css -- --minify",
"build:remix": "remix build",
"db:migrate": "run-p db:migrate:*",
"db:migrate:dev": "npx prisma migrate dev",
"db:migrate:test": "dotenv -e .env.test -- npx prisma db push --accept-data-loss",
"db:up": "docker-compose up -d",
"db:down": "docker-compose down",
"db:clear": "rm -r postgres-data",
"db:seed": "npx prisma db seed",
"db:setup": "run-s db:up db:migrate",
"db:teardown": "run-s db:down db:clear",
"db:studio": "npx prisma studio -p 7777 --browser none",
"dev": "run-p dev:*",
"dev:css": "npm run generate:css -- --watch",
"dev:remix": "cross-env NODE_ENV=development PORT=3000 binode --require ./mocks -- @remix-run/dev:remix dev",
"format": "prettier --write .",
"generate:css": "tailwindcss -o ./app/styles/tailwind.css",
"postinstall": "remix setup node",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"setup": "npm run postinstall",
"start": "remix-serve build",
"start:mocks": "node --require ./mocks ./node_modules/.bin/remix-serve build",
"test": "run-s db:migrate:test test:unit",
"test:unit": "dotenv -e .env.test -- vitest --no-threads",
"test:e2e:dev": "start-server-and-test dev http://localhost:3000 'cypress open'",
"pretest:e2e:run": "npm run build",
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 'cypress run'",
"typecheck": "tsc -b && tsc -b cypress && tsc -b test/e2e",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run",
"storybook": "start-storybook -p 6006 --quiet --no-open",
"build-storybook": "build-storybook"
},
"prettier": {},
"eslintIgnore": [
"/node_modules",
"/build",
"/public/build"
],
"dependencies": {
"@node-rs/bcrypt": "^1.6.0",
"@prisma/client": "^3.11.0",
"@reach/alert": "^0.16.0",
"@remix-run/react": "^1.3.5",
"@remix-run/serve": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"remix": "^1.3.5",
"tiny-invariant": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@faker-js/faker": "^6.0.0",
"@remix-run/dev": "^1.3.5",
"@remix-run/eslint-config": "^1.3.5",
"@storybook/addon-actions": "^6.4.21",
"@storybook/addon-essentials": "^6.4.21",
"@storybook/addon-interactions": "^6.4.21",
"@storybook/addon-links": "^6.4.21",
"@storybook/react": "^6.4.21",
"@storybook/testing-library": "^0.0.9",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^13.5.0",
"@types/eslint": "^8.4.1",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"@vitejs/plugin-react": "^1.2.0",
"babel-loader": "^8.2.4",
"binode": "^1.0.5",
"c8": "^7.11.0",
"cross-env": "^7.0.3",
"cypress": "^9.5.2",
"dotenv-cli": "^5.1.0",
"esbuild-register": "^3.3.2",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"happy-dom": "^2.49.0",
"msw": "^0.39.2",
"npm-run-all": "^4.1.5",
"prettier": "2.6.0",
"prettier-plugin-tailwindcss": "^0.1.8",
"prisma": "^3.11.0",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.0.23",
"typescript": "^4.6.2",
"vite-tsconfig-paths": "^3.4.1",
"vitest": "^0.7.4"
},
"engines": {
"node": ">=14"
},
"prisma": {
"seed": "node --require esbuild-register prisma/seed.ts"
}
}