2021-06-04 00:58:40 +00:00
|
|
|
{
|
2021-06-04 21:01:31 +00:00
|
|
|
"name": "weddingsite",
|
2022-01-09 23:59:14 +00:00
|
|
|
"version": "0.2.0",
|
2021-06-04 00:58:40 +00:00
|
|
|
"description": "Wedding Website",
|
|
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "NODE_OPTIONS='--inspect' next dev",
|
|
|
|
|
"build": "next build",
|
2022-01-28 23:04:29 +00:00
|
|
|
"start": "next start",
|
|
|
|
|
"test": "NODE_ENV=test jest --watch"
|
2021-06-04 00:58:40 +00:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2022-11-10 21:43:49 +00:00
|
|
|
"@plaiceholder/next": "^2.5.0",
|
2022-11-10 21:26:09 +00:00
|
|
|
"@radix-ui/react-dialog": "^1.0.2",
|
2021-06-04 00:58:40 +00:00
|
|
|
"babel-core": "^6.26.3",
|
2022-05-27 01:02:55 +00:00
|
|
|
"babel-plugin-styled-components": "^2.0.7",
|
2021-06-04 00:58:40 +00:00
|
|
|
"bcryptjs": "^2.4.3",
|
2022-01-28 04:59:21 +00:00
|
|
|
"cloudinary-build-url": "^0.2.4",
|
2022-11-10 21:43:49 +00:00
|
|
|
"dotenv": "^16.0.3",
|
2021-11-19 01:41:53 +00:00
|
|
|
"escape-html": "^1.0.3",
|
2022-07-05 21:38:52 +00:00
|
|
|
"html-escaper": "^3.0.3",
|
2022-11-10 21:43:49 +00:00
|
|
|
"iron-session": "^6.3.1",
|
2021-06-04 00:58:40 +00:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2022-11-10 21:43:49 +00:00
|
|
|
"mongodb": "^4.11.0",
|
|
|
|
|
"mongoose": "^6.7.2",
|
2022-11-13 00:50:46 +00:00
|
|
|
"next": "^13.0.3",
|
2021-06-04 00:58:40 +00:00
|
|
|
"normalize.css": "^8.0.1",
|
|
|
|
|
"nprogress": "^0.2.0",
|
2022-11-10 21:43:49 +00:00
|
|
|
"plaiceholder": "^2.5.0",
|
2022-01-09 23:59:14 +00:00
|
|
|
"prop-types": "^15.8.1",
|
2022-11-10 21:43:49 +00:00
|
|
|
"react": "^18.2.0",
|
|
|
|
|
"react-dom": "^18.2.0",
|
|
|
|
|
"react-icons": "^4.6.0",
|
|
|
|
|
"sharp": "^0.31.2",
|
|
|
|
|
"styled-components": "^5.3.6",
|
2022-07-05 22:40:26 +00:00
|
|
|
"swr": "^1.3.0",
|
2021-06-04 00:58:40 +00:00
|
|
|
"waait": "^1.0.5"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2022-11-10 21:43:49 +00:00
|
|
|
"@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",
|
2022-01-09 23:59:14 +00:00
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
2022-03-08 20:08:13 +00:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2022-11-10 21:43:49 +00:00
|
|
|
"eslint-config-wesbos": "^3.1.4",
|
|
|
|
|
"eslint-plugin-html": "^7.1.0",
|
2022-05-27 01:02:55 +00:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-11-10 21:43:49 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
2022-07-05 22:03:40 +00:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2022-11-10 21:43:49 +00:00
|
|
|
"eslint-plugin-react": "^7.31.10",
|
2022-06-16 18:45:51 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
2022-11-10 21:43:49 +00:00
|
|
|
"jest": "^29.3.1",
|
2022-06-16 18:45:51 +00:00
|
|
|
"prettier": "^2.7.1",
|
2022-11-10 21:43:49 +00:00
|
|
|
"typescript": "^4.8.4"
|
2021-06-04 00:58:40 +00:00
|
|
|
},
|
|
|
|
|
"eslintConfig": {
|
|
|
|
|
"extends": [
|
|
|
|
|
"wesbos"
|
2021-10-04 18:12:27 +00:00
|
|
|
],
|
|
|
|
|
"rules": {
|
|
|
|
|
"react/prop-types": 0
|
|
|
|
|
}
|
2021-06-04 00:58:40 +00:00
|
|
|
},
|
2022-01-28 23:04:29 +00:00
|
|
|
"jest": {
|
|
|
|
|
"testEnvironment": "jsdom",
|
|
|
|
|
"setupFiles": [
|
|
|
|
|
"./.jest/setEnvVars.js"
|
|
|
|
|
],
|
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
|
"./jest.setup.js"
|
|
|
|
|
]
|
|
|
|
|
},
|
2021-06-04 00:58:40 +00:00
|
|
|
"//": "This is our babel config, I prefer this over a .babelrc file",
|
|
|
|
|
"babel": {
|
2022-01-09 23:59:14 +00:00
|
|
|
"plugins": [
|
2022-01-11 01:14:30 +00:00
|
|
|
[
|
|
|
|
|
"styled-components",
|
|
|
|
|
{
|
|
|
|
|
"ssr": true,
|
|
|
|
|
"displayName": true,
|
|
|
|
|
"preprocess": false
|
|
|
|
|
}
|
|
|
|
|
]
|
2022-01-09 23:59:14 +00:00
|
|
|
],
|
2021-06-04 00:58:40 +00:00
|
|
|
"env": {
|
|
|
|
|
"development": {
|
|
|
|
|
"presets": [
|
|
|
|
|
"next/babel"
|
|
|
|
|
],
|
|
|
|
|
"plugins": [
|
|
|
|
|
[
|
|
|
|
|
"styled-components",
|
|
|
|
|
{
|
|
|
|
|
"ssr": true,
|
2022-01-09 23:59:14 +00:00
|
|
|
"displayName": true,
|
|
|
|
|
"preprocess": false
|
2021-06-04 00:58:40 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"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
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-07-05 21:38:52 +00:00
|
|
|
}
|