-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
125 lines (125 loc) · 4.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "itDAGENE-webapp",
"version": "0.0.1",
"description": "itDAGENE-next",
"scripts": {
"dev": "next dev",
"dev:prod": "echo 'Remember to run yarn schema:prod!' && RELAY_ENDPOINT='https://itdagene.no/graphql' yarn dev",
"build": "sed \"s/throw new Error(\\`Build optimization failed/new Error(\\`FUUUU: /g\" node_modules/next/dist/build/index.js > node_modules/next.bak && mv node_modules/next.bak node_modules/next/dist/build/index.js && next build",
"start": "NODE_ENV=production next start",
"schema:prod": "mkdir -p schema && get-graphql-schema https://itdagene.no/graphql > schema/schema.graphql",
"schema:dev": "mkdir -p schema && get-graphql-schema http://127.0.0.1:8000/graphql > schema/schema.graphql",
"relay": "relay-compiler --src ./ --exclude '**/schema/**' --exclude '**/.next/**' '**/node_modules/**' '**/test/**' '**/__generated__/**' --schema ./schema/schema.graphql --customScalars.Date=String --customScalars.Time=String --customScalars.DateTime=String --language typescript --artifactDirectory ./__generated__",
"lint:prettier": "prettier '**/*.{js,ts,tsx,css,graphql}' --list-different",
"lint:eslint": "eslint . --ext .js,.ts,.tsx --ignore-path .prettierignore",
"lint": "yarn lint:prettier && yarn lint:eslint",
"prettier": "prettier '**/*.{js,ts,tsx,css,graphql}' --write",
"test": "JEST_PUPPETEER_CONFIG=./testing/jest-puppeteer.config.js NODE_ENV=test jest"
},
"author": "Odin Ugedal <[email protected]>",
"license": "MIT",
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/core": "^5.0.0-alpha.54",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/material": "^5.15.18",
"@next/bundle-analyzer": "^10.0.3",
"@nextui-org/react": "^1.0.0-beta.12",
"@sentry/browser": "^6.17.9",
"@sentry/node": "^5.29.2",
"@sentry/webpack-plugin": "^1.18.6",
"@zeit/next-source-maps": "^0.0.4-canary.1",
"babel-polyfill": "^6.26.0",
"dayjs": "^1.9.7",
"eslint-config-next": "^13.1.2",
"graphql": "^15.4.0",
"isomorphic-unfetch": "^3.1.0",
"lodash": "^4.17.21",
"next": "^13.1.2",
"rc-slider": "^9.7.5",
"react": "^18.2.0",
"react-countdown-now": "^2.1.2",
"react-device-detect": "^2.2.3",
"react-dom": "^18.2.0",
"react-hamburger-menu": "^1.2.1",
"react-infinite-scroller": "^1.2.4",
"react-markdown": "^5.0.3",
"react-modal": "^3.15.1",
"react-relay": "^10.1.2",
"react-responsive-carousel": "^3.2.11",
"react-select": "^3.1.1",
"relay-hooks": "3.7.0",
"relay-runtime": "^10.1.2",
"seedrandom": "^3.0.5",
"sharp": "^0.31.3",
"styled-components": "^5.3.6",
"video-react": "^0.15.0"
},
"browser": {
"puppeteer": false
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@types/lodash": "^4.14.176",
"@types/rc-slider": "^8.6.6",
"@types/react": "^17.0.39",
"@types/react-hamburger-menu": "^0.0.4",
"@types/react-infinite-scroller": "^1.2.1",
"@types/react-modal": "^3.13.1",
"@types/react-relay": "^13.0.1",
"@types/react-select": "^3.0.22",
"@types/relay-runtime": "^10.1.5",
"@types/styled-components": "^5.1.16",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"autoprefixer": "^10.4.19",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^28.1.3",
"babel-plugin-relay": "^10.1.2",
"babel-plugin-styled-components": "^1.12.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "7",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^2.5.1",
"eslint-plugin-relay": "^1.8.3",
"get-graphql-schema": "^2.1.2",
"jest": "^26.6.3",
"jest-puppeteer": "^4.4.0",
"postcss": "^8.4.38",
"prettier": "^2.5.1",
"puppeteer": "^2.1.1",
"react-test-renderer": "16.13.1",
"relay-compiler": "^10.1.2",
"relay-compiler-language-typescript": "^13.0.10",
"tailwindcss": "^3.4.3",
"typescript": "^4.1.3"
},
"prettier": {
"singleQuote": true
},
"jest": {
"preset": "jest-puppeteer",
"setupFiles": [
"<rootDir>/testing/jest.setup.js"
],
"testPathIgnorePatterns": [
"<rootDir>/.next/",
"<rootDir>/node_modules/"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest/FileStub.js",
"\\.(css|less)$": "<rootDir>/jest/CssStub.js"
}
}
}