|
|
@ -3,16 +3,16 @@
|
|
|
|
"version": "0.1.0",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"scripts": {
|
|
|
|
"dev": "nodemon -e ts --watch server --watch overseerr-api.yml -e .json,.ts,.yml -x ts-node --files --project server/tsconfig.json server/index.ts",
|
|
|
|
"dev": "nodemon -e ts --watch server --watch overseerr-api.yml -e .json,.ts,.yml -x ts-node -r tsconfig-paths/register --files --project server/tsconfig.json server/index.ts",
|
|
|
|
"build:server": "tsc --project server/tsconfig.json && copyfiles -u 2 server/templates/**/*.{html,pug} dist/templates",
|
|
|
|
"build:server": "tsc --project server/tsconfig.json && copyfiles -u 2 server/templates/**/*.{html,pug} dist/templates && tsc-alias -p server/tsconfig.json",
|
|
|
|
"build:next": "next build",
|
|
|
|
"build:next": "next build",
|
|
|
|
"build": "yarn build:next && yarn build:server",
|
|
|
|
"build": "yarn build:next && yarn build:server",
|
|
|
|
"lint": "eslint \"./server/**/*.{ts,tsx}\" \"./src/**/*.{ts,tsx}\" --cache",
|
|
|
|
"lint": "eslint \"./server/**/*.{ts,tsx}\" \"./src/**/*.{ts,tsx}\" --cache",
|
|
|
|
"start": "NODE_ENV=production node dist/index.js",
|
|
|
|
"start": "NODE_ENV=production node dist/index.js",
|
|
|
|
"i18n:extract": "extract-messages -l=en -o src/i18n/locale -d en --flat true --overwriteDefault true \"./src/**/!(*.test).{ts,tsx}\"",
|
|
|
|
"i18n:extract": "extract-messages -l=en -o src/i18n/locale -d en --flat true --overwriteDefault true \"./src/**/!(*.test).{ts,tsx}\"",
|
|
|
|
"migration:generate": "ts-node --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:generate -d server/datasource.ts",
|
|
|
|
"migration:generate": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:generate -d server/datasource.ts",
|
|
|
|
"migration:create": "ts-node --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:create -d server/datasource.ts",
|
|
|
|
"migration:create": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:create -d server/datasource.ts",
|
|
|
|
"migration:run": "ts-node --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:run -d server/datasource.ts",
|
|
|
|
"migration:run": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:run -d server/datasource.ts",
|
|
|
|
"format": "prettier --loglevel warn --write --cache .",
|
|
|
|
"format": "prettier --loglevel warn --write --cache .",
|
|
|
|
"format:check": "prettier --check --cache .",
|
|
|
|
"format:check": "prettier --check --cache .",
|
|
|
|
"typecheck": "yarn typecheck:server && yarn typecheck:client",
|
|
|
|
"typecheck": "yarn typecheck:server && yarn typecheck:client",
|
|
|
@ -20,7 +20,7 @@
|
|
|
|
"typecheck:client": "tsc --noEmit",
|
|
|
|
"typecheck:client": "tsc --noEmit",
|
|
|
|
"prepare": "husky install",
|
|
|
|
"prepare": "husky install",
|
|
|
|
"cypress:open": "cypress open",
|
|
|
|
"cypress:open": "cypress open",
|
|
|
|
"cypress:prepare": "ts-node --files server/scripts/prepareTestDb.ts",
|
|
|
|
"cypress:prepare": "ts-node -r tsconfig-paths/register --files --project server/tsconfig.json server/scripts/prepareTestDb.ts",
|
|
|
|
"cypress:build": "yarn build && yarn cypress:prepare"
|
|
|
|
"cypress:build": "yarn build && yarn cypress:prepare"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"repository": {
|
|
|
@ -139,6 +139,7 @@
|
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
"eslint-plugin-formatjs": "4.1.0",
|
|
|
|
"eslint-plugin-formatjs": "4.1.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "6.6.1",
|
|
|
|
"eslint-plugin-jsx-a11y": "6.6.1",
|
|
|
|
|
|
|
|
"eslint-plugin-no-relative-import-paths": "^1.4.0",
|
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
|
|
"eslint-plugin-react": "7.30.1",
|
|
|
|
"eslint-plugin-react": "7.30.1",
|
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
|
@ -154,6 +155,8 @@
|
|
|
|
"semantic-release-docker-buildx": "1.0.1",
|
|
|
|
"semantic-release-docker-buildx": "1.0.1",
|
|
|
|
"tailwindcss": "3.1.8",
|
|
|
|
"tailwindcss": "3.1.8",
|
|
|
|
"ts-node": "10.9.1",
|
|
|
|
"ts-node": "10.9.1",
|
|
|
|
|
|
|
|
"tsc-alias": "^1.7.0",
|
|
|
|
|
|
|
|
"tsconfig-paths": "^4.1.0",
|
|
|
|
"typescript": "4.7.4"
|
|
|
|
"typescript": "4.7.4"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
"resolutions": {
|
|
|
|