sendou.ink/package.json
2022-12-11 17:18:33 +02:00

104 lines
4.8 KiB
JSON

{
"name": "sendou.ink",
"private": true,
"sideEffects": false,
"scripts": {
"deploy": "npm ci && npm run build",
"build": "remix build",
"dev": "cross-env NODE_ENV=development remix dev",
"dev:ci": "cp .env.example .env && npm run migrate up && npm run dev",
"start": "npm run migrate up && remix-serve build",
"migrate": "ley",
"migrate:reset": "node scripts/delete-db-files.mjs && npm run migrate && npm run seed",
"add-badge": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/add-badge.ts",
"rename-badge": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/rename-badge.ts",
"create-gear-json": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/create-gear-json.ts",
"create-object-dmg-json": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/create-object-dmg-json.ts",
"create-misc-json": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/create-misc-json.ts",
"create-analyzer-json": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/create-analyzer-json.ts",
"check-translation-jsons": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/check-translation-jsons.ts",
"check-translation-jsons:no-write": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/check-translation-jsons.ts --no-write",
"replace-img-names": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/replace-img-names.ts",
"replace-weapon-names": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/replace-weapon-names.ts",
"hex-to-filter": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/hex-to-filter.ts",
"lint:ts": "eslint . --ext .ts,.tsx",
"lint:styles": "stylelint \"app/styles/**/*.css\"",
"prettier:check": "prettier --check . --loglevel warn",
"prettier:write": "prettier --write . --loglevel warn",
"typecheck": "tsc --noEmit",
"test:unit": "uvu -r tsm -r tsconfig-paths/register -i e2e",
"test:e2e": "npx playwright test",
"checks": "npm run test:unit && npm run lint:styles && npm run lint:ts && npm run prettier:check && npm run typecheck",
"cf": "npm run test:unit && npm run check-translation-jsons && npm run lint:styles -- --fix && npm run lint:ts -- --fix && npm run prettier:write && npm run typecheck"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@headlessui/react": "^1.7.4",
"@popperjs/core": "^2.11.6",
"@remix-run/node": "^1.8.1",
"@remix-run/react": "^1.8.1",
"@remix-run/serve": "^1.8.1",
"@tldraw/tldraw": "^1.26.3",
"better-sqlite3": "^8.0.1",
"clsx": "^1.2.1",
"countries-list": "^2.6.1",
"date-fns": "^2.29.3",
"fuse.js": "^6.6.2",
"gray-matter": "^4.0.3",
"i18next": "^21.9.2",
"i18next-browser-languagedetector": "^6.1.5",
"i18next-fs-backend": "^1.1.5",
"i18next-http-backend": "^1.4.4",
"isbot": "^3.6.5",
"just-capitalize": "^3.1.1",
"just-clone": "^6.1.1",
"just-random-integer": "^4.1.1",
"just-shuffle": "^4.1.1",
"markdown-to-jsx": "^7.1.8",
"node-cron": "3.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-flip-toolkit": "^7.0.17",
"react-i18next": "^11.18.6",
"react-popper": "^2.3.0",
"react-use": "^17.4.0",
"remix-auth": "^3.4.0",
"remix-auth-oauth2": "^1.5.0",
"remix-i18next": "^4.1.1",
"slugify": "^1.6.5",
"swr": "^1.3.0",
"tiny-invariant": "^1.3.1",
"zod": "^3.19.1"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
"@remix-run/dev": "^1.8.1",
"@remix-run/eslint-config": "^1.8.1",
"@types/better-sqlite3": "^7.6.2",
"@types/i18next-fs-backend": "^1.1.2",
"@types/node-cron": "^3.0.6",
"@types/prettier": "^2.7.1",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.1",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"eslint": "^8.29.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"ley": "^0.8.1",
"prettier": "2.8.1",
"stylelint": "^14.16.0",
"stylelint-config-idiomatic-order": "^9.0.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^29.0.0",
"stylelint-order": "^5.0.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.1",
"tsm": "^2.3.0",
"typescript": "^4.9.3",
"uvu": "^0.5.6"
}
}