Add typescript-config package with shared configs * Move web config to shared * Move design-system ts config to typescript-config package * Move redis-api tsconfig to typescript-config package * Sort tsconfig keys * Update react-library tsconfig Move declaration and declarationMap from base Add sourceMap This fixes Go-to-Definition, debugging and similar in packages/apps where it is consumed * Update base config module and moduleResolution Approved-by: Michael Zetterberg Approved-by: Christian Andolf
144 lines
4.9 KiB
JSON
144 lines
4.9 KiB
JSON
{
|
|
"name": "@scandic-hotels/scandic-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "yarn clean && next build",
|
|
"dev": "PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
|
|
"lint": "yarn clean && next lint --max-warnings 0 && tsc",
|
|
"lint:fix": "yarn clean && next lint --fix --max-warnings 0 && tsc",
|
|
"start": "node .next/standalone/server.js",
|
|
"test:component": "cypress open --component",
|
|
"test:component:headless": "cypress run --component",
|
|
"test:e2e": "start-server-and-test test:setup http://127.0.0.1:3000/en/sponsoring \"cypress open --e2e\"",
|
|
"test:e2e:headless": "start-server-and-test test:setup http://127.0.0.1:3000/en/sponsoring \"cypress run --e2e\"",
|
|
"test:setup": "yarn build && yarn start",
|
|
"preinstall": "/bin/sh -c \"export $(cat .env.local | grep -v '^#' | xargs)\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"ci:build": "yarn lint && yarn test && yarn build",
|
|
"clean": "rm -rf .next"
|
|
},
|
|
"dependencies": {
|
|
"@azure/monitor-opentelemetry-exporter": "^1.0.0-beta.27",
|
|
"@contentstack/live-preview-utils": "^3.0.0",
|
|
"@formatjs/intl": "^2.10.15",
|
|
"@hookform/error-message": "^2.0.1",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@internationalized/date": "^3.6.0",
|
|
"@netlify/blobs": "^8.1.0",
|
|
"@netlify/functions": "^3.0.0",
|
|
"@netlify/plugin-nextjs": "^5.9.4",
|
|
"@opentelemetry/api": "^1.9.0",
|
|
"@opentelemetry/api-logs": "^0.56.0",
|
|
"@opentelemetry/instrumentation": "^0.56.0",
|
|
"@opentelemetry/resources": "^1.29.0",
|
|
"@opentelemetry/sdk-logs": "^0.56.0",
|
|
"@opentelemetry/sdk-metrics": "^1.25.1",
|
|
"@opentelemetry/sdk-trace-base": "^1.29.0",
|
|
"@preact/signals-core": "^1.7.0",
|
|
"@radix-ui/react-dialog": "^1.1.1",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-visually-hidden": "^1.1.0",
|
|
"@react-aria/ssr": "^3.9.5",
|
|
"@scandic-hotels/design-system": "workspace:*",
|
|
"@sentry/nextjs": "^8.41.0",
|
|
"@t3-oss/env-nextjs": "^0.9.2",
|
|
"@tanstack/react-query": "^5.28.6",
|
|
"@tanstack/react-query-devtools": "^5.64.2",
|
|
"@tanstack/react-table": "^8.20.5",
|
|
"@testing-library/dom": "^10.0.0",
|
|
"@trpc/client": "^11.0.0-rc.467",
|
|
"@trpc/react-query": "^11.0.0-rc.467",
|
|
"@trpc/server": "^11.0.0-rc.467",
|
|
"@tsparticles/confetti": "^3.5.0",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/supercluster": "^7.1.3",
|
|
"@vercel/otel": "^1.9.1",
|
|
"@vis.gl/react-google-maps": "^1.2.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clean-deep": "^3.4.0",
|
|
"contentstack": "^3.23.0",
|
|
"date-fns": "^4.1.0",
|
|
"dayjs": "^1.11.10",
|
|
"deepmerge": "^4.3.1",
|
|
"downshift": "^9.0.8",
|
|
"embla-carousel": "^8.5.2",
|
|
"embla-carousel-react": "^8.5.2",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"fetch-retry": "^6.0.0",
|
|
"framer-motion": "^11.3.28",
|
|
"graphql": "^16.8.1",
|
|
"graphql-request": "^6.1.0",
|
|
"graphql-tag": "^2.12.6",
|
|
"html-react-parser": "^5.2.2",
|
|
"ics": "^3.8.1",
|
|
"immer": "10.1.1",
|
|
"input-otp": "^1.4.2",
|
|
"ioredis": "^5.5.0",
|
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
"libphonenumber-js": "^1.10.60",
|
|
"nanoid": "^5.0.9",
|
|
"next": "^14.2.25",
|
|
"next-auth": "5.0.0-beta.19",
|
|
"react": "^18",
|
|
"react-aria-components": "^1.6.0",
|
|
"react-day-picker": "^9.0.8",
|
|
"react-dom": "^18",
|
|
"react-feather": "^2.0.10",
|
|
"react-focus-lock": "^2.13.6",
|
|
"react-hook-form": "^7.51.2",
|
|
"react-international-phone": "^4.2.6",
|
|
"react-intl": "^6.6.8",
|
|
"react-to-print": "^3.0.2",
|
|
"secure-json-parse": "^4.0.0",
|
|
"server-only": "^0.0.1",
|
|
"slugify": "^1.6.6",
|
|
"sonner": "^1.7.0",
|
|
"supercluster": "^8.0.1",
|
|
"superjson": "^2.2.1",
|
|
"usehooks-ts": "3.1.0",
|
|
"uuid": "^11.0.5",
|
|
"zod": "^3.22.4",
|
|
"zustand": "^4.5.2"
|
|
},
|
|
"devDependencies": {
|
|
"@scandic-hotels/typescript-config": "workspace:*",
|
|
"@svgr/webpack": "^8.1.0",
|
|
"@testing-library/jest-dom": "^6.4.6",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/json-stable-stringify-without-jsonify": "^1.0.2",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
"@typescript-eslint/parser": "^8.17.0",
|
|
"cypress": "^13.6.6",
|
|
"dotenv": "^16.4.5",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "^14.0.4",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jiti": "^1.21.0",
|
|
"json-sort-cli": "^4.0.4",
|
|
"lint-staged": "^15.2.2",
|
|
"material-symbols": "^0.29.0",
|
|
"netlify-plugin-cypress": "^2.2.1",
|
|
"prettier": "^3.2.5",
|
|
"react-material-symbols": "^4.4.0",
|
|
"schema-dts": "^1.1.2",
|
|
"start-server-and-test": "^2.0.3",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.4.5",
|
|
"typescript-plugin-css-modules": "^5.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">18"
|
|
}
|
|
}
|