mirror of
https://github.com/BradNut/weddingsite
synced 2025-09-08 17:40:36 +00:00
143 lines
3.2 KiB
JSON
143 lines
3.2 KiB
JSON
{
|
|
"name": "weddingsite",
|
|
"version": "0.2.0",
|
|
"description": "Wedding Website",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "NODE_OPTIONS='--inspect' next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"test": "NODE_ENV=test jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@plaiceholder/next": "^2.5.0",
|
|
"@radix-ui/react-dialog": "^1.0.2",
|
|
"babel-core": "^6.26.3",
|
|
"babel-plugin-styled-components": "^2.0.7",
|
|
"bcryptjs": "^2.4.3",
|
|
"cloudinary-build-url": "^0.2.4",
|
|
"dotenv": "^16.0.3",
|
|
"escape-html": "^1.0.3",
|
|
"html-escaper": "^3.0.3",
|
|
"iron-session": "^6.3.1",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"mongodb": "^4.11.0",
|
|
"mongoose": "^6.7.2",
|
|
"next": "^13.0.3",
|
|
"normalize.css": "^8.0.1",
|
|
"nprogress": "^0.2.0",
|
|
"plaiceholder": "^2.5.0",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-icons": "^4.6.0",
|
|
"sharp": "^0.31.2",
|
|
"styled-components": "^5.3.6",
|
|
"swr": "^1.3.0",
|
|
"waait": "^1.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.2",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
"@typescript-eslint/parser": "^5.42.1",
|
|
"eslint": "^8.27.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-config-wesbos": "^3.1.4",
|
|
"eslint-plugin-html": "^7.1.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-react": "^7.31.10",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"jest": "^29.3.1",
|
|
"prettier": "^2.7.1",
|
|
"typescript": "^4.8.4"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"wesbos"
|
|
],
|
|
"rules": {
|
|
"react/prop-types": 0
|
|
}
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"setupFiles": [
|
|
"./.jest/setEnvVars.js"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"./jest.setup.js"
|
|
]
|
|
},
|
|
"//": "This is our babel config, I prefer this over a .babelrc file",
|
|
"babel": {
|
|
"plugins": [
|
|
[
|
|
"styled-components",
|
|
{
|
|
"ssr": true,
|
|
"displayName": true,
|
|
"preprocess": false
|
|
}
|
|
]
|
|
],
|
|
"env": {
|
|
"development": {
|
|
"presets": [
|
|
"next/babel"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"styled-components",
|
|
{
|
|
"ssr": true,
|
|
"displayName": true,
|
|
"preprocess": false
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"production": {
|
|
"presets": [
|
|
"next/babel"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"styled-components",
|
|
{
|
|
"ssr": true,
|
|
"displayName": true
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"test": {
|
|
"presets": [
|
|
[
|
|
"next/babel",
|
|
{
|
|
"preset-env": {
|
|
"modules": "commonjs"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
[
|
|
"styled-components",
|
|
{
|
|
"ssr": true,
|
|
"displayName": true
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|