-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
172 lines (172 loc) · 6.12 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "helios2",
"private": true,
"engines": {
"node": "16.x"
},
"dependencies": {
"@absinthe/socket": "^0.2.1",
"@absinthe/socket-apollo-link": "^0.2.1",
"@apollo/client": "^3.6.9",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@dimforge/rapier2d-compat": "^0.9.0",
"@handtracking.io/yoha": "^1.2.0",
"@jumpn/utils-graphql": "^0.6.0",
"@microlink/react": "5.5.8",
"actioncable": "^5.2.0",
"apollo-cache-inmemory": "^1.6.2",
"apollo-cache-persist": "^0.1.1",
"apollo-client": "^2.6.2",
"apollo-link": "^1.2.2",
"apollo-link-context": "^1.0.20",
"apollo-link-error": "1.1.13",
"apollo-link-http": "^1.5.4",
"apollo-utilities": "^1.3.2",
"chokidar": "^3.5.3",
"core-js": "^3.1.3",
"date-fns": "^2.19.0",
"date-fns-tz": "^1.1.3",
"dotenv": "^16.0.1",
"esbuild": "^0.14.47",
"esbuild-copy-static-files": "^0.1.0",
"eslint-import-resolver-jsconfig": "^1.1.0",
"eslint-plugin-html": "^6.2.0",
"graphql": "^16.5.0",
"graphql-anywhere": "^4.2.4",
"graphql-ruby-client": "^1.6.4",
"graphql-tag": "^2.9.2",
"hoist-non-react-statics": "^3.0.1",
"html-entities": "^1.2.1",
"http-server": "^14.1.1",
"isomorphic-fetch": "^3.0.0",
"jest-environment-jsdom": "^28.1.1",
"js-cookie": "^3.0.1",
"live-server": "^1.2.2",
"matter-js": "^0.18.0",
"node-fetch": "^3.2.6",
"numeral": "^2.0.6",
"phoenix": "^1.6.6",
"pixi.js": "^6.5.1",
"pluralize": "^8.0.0",
"prop-types": "^15.6.1",
"proxy-middleware": "^0.15.0",
"ramda": "^0.28.0",
"react": "18.2.0",
"react-apollo": "^3.1.5",
"react-dom": "18.2.0",
"react-highlight-words": "0.18.0",
"react-hls-player": "^3.0.1",
"react-responsive-carousel": "^3.2.23",
"react-router-dom": "^5.2.0",
"regenerator-runtime": "^0.13.7",
"resurrect-js": "^1.0.1",
"styled-components": "^5.3.5",
"styled-normalize": "^8.0.7",
"url": "^0.11.0",
"wait-for-observables": "^1.0.3",
"yarn-audit-fix": "^9.3.2"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/eslint-parser": "^7.5.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-destructuring": "^7.4.4",
"@babel/plugin-transform-regenerator": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/runtime": "^7.4.5",
"babel-jest": "^28.1.1",
"babel-loader": "^8.0.6",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-macros": "^3.1.0",
"core-js": "^3.1.3",
"css-loader": "^6.7.1",
"cypress": "^10.2.0",
"eslint": "^8.18.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"flatted": "^3.2.5",
"glob": "^8.0.3",
"jest": "^28.1.1",
"js-yaml": "^4.1.0",
"jscodeshift": "^0.13.1",
"mini-css-extract-plugin": "^2.6.1",
"path-complete-extname": "^1.0.0",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^14.1.0",
"postcss-loader": "^7.0.0",
"postcss-preset-env": "^7.7.1",
"postcss-safe-parser": "^6.0.0",
"prettier": "^2.7.1",
"react-svg-loader": "^3.0.3",
"react-test-renderer": "^18.2.0",
"regenerator-runtime": "^0.13.7",
"require-yaml": "^0.0.1",
"sass": "^1.53.0",
"sass-loader": "^13.0.0",
"style-loader": "^3.3.1"
},
"resolutions": {
"live-server/**/glob-parent": "^6.0.2",
"eslint-plugin-graphql/**/node-fetch": "^3.2.6",
"eslint-plugin-graphql/**/cross-fetch": "^3.1.5",
"react-svg-loader/**/nth-check": "^2.1.1",
"eslint-plugin-graphql/**/ws": "^8.8.0"
},
"scripts": {
"lint": "./node_modules/.bin/eslint --ext js --ext jsx app/javascript/",
"test": "jest",
"cy:open": "cypress open",
"cy:run": "cypress run",
"relative-to-alias": "jscodeshift --extensions jsx -t ./config/transforms/relative_to_alias_path.js ./ ",
"prettier:format": "prettier --write '{app/javascript,__mocks__}/**/*.{js,jsx}' package.json",
"prettier:check": "prettier --check '{app/javascript,__mocks__}/**/*.{js,jsx}' package.json",
"build": "cp app/javascript/packs/index.html server-phoenix/priv/static/ && node ./esbuild.config.js",
"serve": "cp app/javascript/packs/index.html server-phoenix/priv/static/ && node ./esbuild.config.js --serve"
},
"jest": {
"verbose": true,
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.js"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost/",
"roots": [
"app/javascript"
],
"moduleNameMapper": {
"\\.(png|jpg|gif|ttf|eot|svg)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js",
"react-hls-player": "<rootDir>/__mocks__/emptyMock.js",
"^@handtracking(.*)$": "<rootDir>/__mocks__/fileMock.js",
"^@root(.*)$": "<rootDir>/$1",
"^@app(.*)$": "<rootDir>/app$1",
"^@javascript(.*)$": "<rootDir>/app/javascript$1",
"^@lib(.*)$": "<rootDir>/app/javascript/lib$1",
"^@components(.*)$": "<rootDir>/app/javascript/components$1",
"^@widgets(.*)$": "<rootDir>/app/javascript/components/widgets$1",
"^@messages(.*)$": "<rootDir>/app/javascript/components/widgets/messages$1",
"^@numbers(.*)$": "<rootDir>/app/javascript/components/widgets/numbers$1",
"^@weather(.*)$": "<rootDir>/app/javascript/components/widgets/weather$1",
"^@twitter(.*)$": "<rootDir>/app/javascript/components/widgets/twitter$1",
"^@hocs(.*)$": "<rootDir>/app/javascript/components/hocs$1",
"^@assets(.*)$": "<rootDir>/app/assets$1",
"^@images(.*)$": "<rootDir>/app/assets/images$1",
"^@icons(.*)$": "<rootDir>/app/assets/images/icons$1"
},
"moduleDirectories": [
"node_modules",
"app/javascript"
]
}
}