-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
143 lines (143 loc) · 6.26 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
{
"name": "deriv-com",
"description": "Deriv.com static content",
"version": "0.1.0",
"author": "Deriv",
"devDependencies": {
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@deriv/api-types": "^1.0.137",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/typescript": "^2.8.8",
"@graphql-codegen/typescript-operations": "^2.5.13",
"@loadable/babel-plugin": "^5.16.1",
"@parcel/watcher": "^2.3.0",
"@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/loadable__component": "^5.13.9",
"@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-import-resolver-typescript": "^3.6.1",
"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": "^5.0.0",
"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:row": "npm run analyze-bundle --workspace @deriv/row",
"build:row": "npm run build --workspace @deriv/row && node scripts/copy-htaccess.js row",
"build:eu": "npm run build --workspace @deriv/eu && node scripts/copy-htaccess.js eu",
"update:deriv-com-libs": "npm i @deriv-com/blocks@latest @deriv-com/components@latest @deriv-com/hooks@latest @deriv-com/providers@latest --workspace gatsby-theme-deriv",
"develop:row": "npm run develop --workspace @deriv/row",
"clean:row": "npm run clean --workspace @deriv/row",
"develop:eu": "npm run develop --workspace @deriv/eu",
"clean:eu": "npm run clean --workspace @deriv/eu",
"format": "npm run format --workspace gatsby-theme-deriv",
"stylelint": "npm run stylelint --workspace gatsby-theme-deriv",
"eslint": "npm run eslint --workspace gatsby-theme-deriv",
"start:row": "npm run develop:row",
"start:eu": "npm run develop:eu",
"serve:row": "npm run serve --workspace @deriv/row",
"serve:eu": "npm run serve --workspace @deriv/eu",
"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": "npm run storybook --workspace gatsby-theme-deriv",
"build:storybook": "npm run build:storybook --workspace gatsby-theme-deriv",
"codegen": "npm run codegen --workspace gatsby-theme-deriv",
"codegen:watch": "npm run codegen:watch --workspace gatsby-theme-deriv"
},
"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"
}
},
"workspaces": [
"./sites/*",
"./themes/*"
]
}