forked from binary-com/deriv-com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
223 lines (223 loc) · 9.34 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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
{
"name": "deriv-com",
"description": "Deriv.com static content",
"version": "0.1.0",
"author": "Deriv",
"dependencies": {
"@artsy/fresnel": "^6.2.1",
"@builder.io/partytown": "^0.8.1",
"@deriv-com/analytics": "^1.4.11",
"@deriv-com/blocks": "^0.111.0",
"@deriv-com/components": "^0.57.0",
"@deriv-com/hooks": "^0.11.0",
"@deriv-com/providers": "^0.12.0",
"@deriv/deriv-api": "^1.0.13",
"@deriv/quill-design": "^1.2.18",
"@deriv/quill-icons": "^1.19.2",
"@hookform/resolvers": "^3.3.2",
"@livechat/customer-sdk": "^3.1.5",
"@loadable/component": "^5.15.3",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@svgr/webpack": "^8.1.0",
"@tanstack/react-table": "^8.10.7",
"@vercel/gatsby-plugin-vercel-builder": "^0.1.2",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"cli-select": "^1.1.2",
"clsx": "^1.2.1",
"commander": "^8.3.0",
"crc-32": "^1.2.2",
"cssnano": "^5.1.15",
"deriv-api-ts": "^1.0.7",
"embla-carousel-autoplay": "^6.2.0",
"embla-carousel-react": "8.0.0-rc11",
"eslint-import-resolver-node": "^0.3.9",
"extend": "^3.0.2",
"firebase": "^9.23.0",
"formik": "^2.4.5",
"gatsby": "^5.12.11",
"gatsby-plugin-anchor-links": "^1.2.1",
"gatsby-plugin-canonical-urls": "^5.12.0",
"gatsby-plugin-html-minifier": "^2.0.0",
"gatsby-plugin-image": "3.11.0",
"gatsby-plugin-manifest": "^5.12.3",
"gatsby-plugin-robots-txt": "^1.8.0",
"gatsby-plugin-sass": "^6.12.3",
"gatsby-plugin-sharp": "^5.12.3",
"gatsby-plugin-sitemap": "^6.12.3",
"gatsby-plugin-svgr": "^3.0.0-beta.0",
"gatsby-plugin-use-query-params": "^1.0.1",
"gatsby-source-filesystem": "^5.12.1",
"gatsby-source-strapi": "^3.3.1",
"gatsby-transformer-sharp": "^5.12.3",
"i18next": "^21.10.0",
"install": "^0.13.0",
"js-cookie": "^2.2.1",
"lodash.isequal": "^4.5.0",
"lottie-web": "^5.12.2",
"match-sorter": "^6.3.1",
"npm": "^9.9.2",
"p-min-delay": "^4.0.2",
"postcss-discard-duplicates": "^5.1.0",
"postcss-ts-classnames": "^0.3.0",
"prompt-sync": "^4.2.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-date-picker": "8.4.0",
"react-device-detect": "^2.2.3",
"react-dom": "^18.2.0",
"react-hook-form": "^7.48.2",
"react-i18next": "^11.18.6",
"react-intersection-observer": "^9.5.3",
"react-is": "^17.0.2",
"react-ticker": "^1.3.2",
"react-tiny-popover": "^7.2.4",
"remove": "^0.1.5",
"rxjs": "^7.8.1",
"sass": "^1.69.5",
"swiper": "^9.4.1",
"terser-webpack-plugin": "^5.3.10",
"use-query-params": "^1.2.3",
"usehooks-ts": "^2.9.1",
"webpack": "^5.89.0",
"yup": "^1.3.2"
},
"devDependencies": {
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@deriv/api-types": "^1.0.137",
"@graphql-codegen/cli": "^2.16.5",
"@graphql-codegen/typescript": "^2.8.8",
"@graphql-codegen/typescript-operations": "^2.5.13",
"@loadable/babel-plugin": "^5.16.1",
"@parcel/watcher": "^2.3.0",
"@storybook/addon-actions": "^6.4.9",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^6.5.16",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.10",
"@types/js-cookie": "^3.0.6",
"@types/lodash.isequal": "^4.5.8",
"@types/node": "^20.10.0",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@types/react-test-renderer": "^18.0.7",
"@types/styled-components": "^5.1.32",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"autoprefixer": "^10.4.16",
"babel-eslint": "10.1.0",
"babel-jest": "^29.7.0",
"babel-plugin-styled-components": "^2.1.4",
"babel-preset-gatsby": "^2.25.0",
"eslint": "^7.32.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-deprecation": "^1.5.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-webpack-plugin": "^3.2.0",
"gatsby-plugin-eslint": "^4.0.4",
"gatsby-plugin-postcss": "^6.12.0",
"gatsby-plugin-styled-components": "^6.12.0",
"gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.32",
"gh-pages": "^3.2.3",
"husky": "^7.0.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-chain": "^1.1.6",
"jest-config": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^4.0.2",
"lint-staged": "^12.5.0",
"npm-force-resolutions": "0.0.10",
"postcss": "^8.4.31",
"prettier": "^2.8.8",
"query-string": "^7.1.3",
"react-test-renderer": "^18.2.0",
"styled-components": "^5.3.11",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^24.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"stylelint-webpack-plugin": "^3.3.0",
"tailwindcss": "^3.3.5",
"typescript": "^5.3.2",
"typescript-plugin-css-modules": "^4.2.3"
},
"optionalDependencies": {
"@parcel/watcher-linux-x64-glibc": "^2.4.0"
},
"keywords": [
"deriv",
"static"
],
"license": "Apache License 2.0",
"scripts": {
"analyze-bundle": "GENERATE_JSON_STATS=true gatsby build && npx webpack-bundle-analyzer -m static -r ./webpack-bundle-report/report.html ./public/stats.json",
"update:deriv-com-libs": "npm i @deriv-com/blocks@latest @deriv-com/components@latest @deriv-com/hooks@latest @deriv-com/providers@latest @deriv/quill-design@latest",
"update:quill-libs": "npm i @deriv/quill-design@latest @deriv/quill-icons@latest",
"update:all-libs": "npm run update:quill-libs; npm run update:deriv-com-libs",
"build": "GATSBY_CPU_COUNT=2 gatsby build --log-pages && node scripts/copy-htaccess.js",
"partytown": "partytown copylib public/~partytown",
"develop": "GATSBY_CPU_COUNT=2 gatsby develop -o",
"format": "prettier --write '**/*.js' '*.js'",
"stylelint": "stylelint 'src/**/*.js' --formatter verbose",
"eslint": "DEBUG=eslint:cli-engine eslint {'src/**/*.{js,jsx,ts,tsx}','./*.js'} --fix",
"start": "npm run develop",
"start-80": "sudo gatsby develop -p 80",
"serve": "gatsby serve",
"test": "npm run eslint && npm run stylelint",
"jest": "jest --passWithNoTests --detectOpenHandles",
"jest:coverage": "npm run jest -- --coverage",
"jest:watch": "npm run jest -- --watch",
"translate:download": "crowdin download -b crowdin && crowdin download -b crowdin -l zh-CN",
"translate:extract": "cd scripts && node extract-translations.js && cd ..",
"translate:upload": "crowdin upload sources -b crowdin",
"translation:pull": "node scripts/handle-translations.js pull",
"translation:fetch": "node scripts/handle-translations.js pull-master",
"translation:fix": "node scripts/handle-translations.js merge-master-translation; npm run pre-commit-translate",
"translation:branch": "node scripts/handle-translations.js branch",
"translation:check": "cd scripts && node extract-translations.js show-untranslated && cd ..",
"branch:create": "node scripts/branch-manager.js",
"deploy": "npm run build && gh-pages -d public -b master",
"deploy-dev": "npm run build && gh-pages -d public",
"deploy-branch": "PATH_PREFIX=/deriv-com/br/$branch_name npm run build && gh-pages -d public -e br/$branch_name",
"prepare": "husky install",
"pre-commit-lint": "lint-staged",
"pre-commit-translate": "node scripts/translation-pre-commit.js",
"type-check": "tsc --noEmit",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook -c .storybook -o public/storybook",
"codegen": "graphql-codegen --config codegen.yml",
"codegen:watch": "graphql-codegen --config codegen.yml --watch"
},
"repository": {
"type": "git",
"url": "https://github.com/binary-com/deriv-com"
},
"bugs": {
"url": "https://github.com/binary-com/deriv-com/issues"
},
"engines": {
"node": "18.x",
"npm": ">=8.19.2"
},
"overrides": {
"react-ticker": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}
}