borders/package.json

93 lines
3.0 KiB
JSON

{
"name": "border-server-a1df",
"private": true,
"description": "",
"license": "",
"sideEffects": false,
"scripts": {
"build": "run-s build:*",
"build:css": "npm run generate:css -- --minify",
"build:remix": "remix build",
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build",
"dev": "pm2-dev ./other/pm2.config.js",
"docker": "docker-compose up -d",
"format": "prettier --write .",
"generate:css": "tailwindcss -i ./styles/tailwind.css -o ./app/styles/tailwind.css",
"postinstall": "remix setup node",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"setup": "prisma migrate dev && prisma db seed",
"db:generate": "prisma generate",
"start": "cross-env NODE_ENV=production node ./build/server.js",
"start:mocks": "cross-env NODE_ENV=production node --require ./mocks --require dotenv/config ./build/server.js",
"test": "vitest",
"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",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run"
},
"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/express": "^1.3.2",
"@remix-run/react": "^1.3.2",
"axios": "^0.26.1",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.17.3",
"morgan": "^1.10.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"remix": "^1.3.2",
"tiny-invariant": "^1.2.0"
},
"devDependencies": {
"@faker-js/faker": "^6.0.0",
"@remix-run/dev": "^1.3.2",
"@remix-run/eslint-config": "^1.3.2",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/compression": "^1.7.2",
"@types/eslint": "^8.4.1",
"@types/express": "^4.17.13",
"@types/morgan": "^1.9.3",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"@vitejs/plugin-react": "^1.2.0",
"c8": "^7.11.0",
"cypress": "^9.5.2",
"dotenv": "^16.0.0",
"esbuild": "^0.14.27",
"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",
"pm2": "^5.2.0",
"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"
}
}