mango-web/package.json

75 lines
2.3 KiB
JSON

{
"name": "with-typescript-eslint-jest",
"author": "@erikdstock",
"license": "MIT",
"version": "1.0.0",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"prepare": "husky install",
"tc": "yarn type-check --watch",
"type-check": "tsc --pretty --noEmit",
"format": "prettier --write .",
"lint": "eslint . --ext ts --ext tsx --ext js --ext jsx",
"test": "jest",
"test-all": "yarn lint && yarn type-check && yarn test",
"types:contentful": "export $(cat .env.local | awk '!/^\\s*#/' | awk '!/^\\s*$/'); npx cf-content-types-generator --spaceId $NEXT_PUBLIC_CONTENTFUL_SPACE_ID --token $NEXT_PUBLIC_CONTENTFUL_MANAGEMENT_TOKEN -o contentful/types -X && prettier --write contentful/types",
"update-category-pages": "node contentful/updateCategoryPages.ts"
},
"engines": {
"node": ">=18.x"
},
"lint-staged": {
"*.@(ts|tsx|js|jsx)": [
"yarn format"
]
},
"dependencies": {
"@contentful/rich-text-react-renderer": "^15.19.0",
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
"@tanstack/react-query": "^5.8.4",
"@tippyjs/react": "^4.2.6",
"bn.js": "^5.2.1",
"contentful": "^10.6.12",
"contentful-management": "^11.6.1",
"dayjs": "^1.11.10",
"decimal.js": "^10.4.3",
"dotenv": "^16.3.1",
"next": "^14.0.3",
"next-plausible": "^3.11.3",
"next-themes": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-slick": "^0.30.1",
"recharts": "^2.10.0",
"slick-carousel": "^1.8.1"
},
"devDependencies": {
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.8",
"@types/node": "20.9.2",
"@types/react": "18.2.37",
"@types/recharts": "^1.8.28",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"babel-jest": "^29.7.0",
"cf-content-types-generator": "^2.12.9",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "^15.1.0",
"postcss": "^8.4.31",
"postcss-preset-env": "^9.3.0",
"prettier": "^3.1.0",
"tailwindcss": "^3.3.5",
"typescript": "5.2.2"
}
}