forked from deriv-com/SmartCharts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
170 lines (170 loc) · 6.84 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
{
"name": "@deriv/deriv-charts",
"version": "0.5.2",
"main": "dist/smartcharts.js",
"author": "[email protected]",
"contributors": [
"Lee Zhen Yong <[email protected]>",
"Mahboobeh Mohammadi <[email protected]>",
"Shayan Yazdanpanah <[email protected]>"
],
"license": "ISC",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/binary-com/SmartCharts.git"
},
"homepage": "https://github.com/binary-com/SmartCharts#readme",
"keywords": [
"charts",
"binary.com"
],
"nyc": {
"sourceMap": false,
"instrument": false
},
"scripts": {
"build": "rimraf dist && cross-env NODE_ENV=production webpack --mode=production --optimize-minimize --progress",
"build:app": "cross-env BUILD_MODE='app' npm run build",
"build-travis": "npm run build:app && node scripts/update-hashes.js",
"analyze": "cross-env ANALYZE_BUNDLE=true npm run build",
"webpack": "webpack",
"watch": "f () { npm run webpack -- --mode development --progress --watch --output-path $1; }; f",
"test": "cross-env NODE_ENV=test TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --require ts-node/register './+(src|app)/!(node_modules)/**/__tests__/*.spec.ts'",
"coverage": "cross-env NODE_ENV=test nyc npm run test",
"start": "rimraf dist && cross-env BUILD_MODE='app' webpack-dev-server --mode=development --open --hot --inline",
"gh-pages": "gh-pages --dist '.' --src '{index.html,manifest.json,sw.js,dist/**,CNAME,Dockerfile,.dockerignore,default.conf,.circleci/**}'",
"gh-pages:folder": "f () { gh-pages --dist '.' --src '{index.html,manifest.json,sw.js,dist/**,CNAME,Dockerfile,.dockerignore,default.conf,.circleci/**}' --dest $1 ;}; f",
"translations": "npm run build && node scripts/extract-translations.js ./dist/smartcharts.js",
"translations:download": "crowdin download -b master",
"deploy:production": "npm run build-travis && echo 'charts.binary.com' > CNAME && npm run gh-pages --repo '[email protected]:binary-com/SmartCharts.git'",
"deploy:beta": "npm run build-travis && npm run gh-pages --repo '[email protected]:binary-com/SmartCharts.git' --dest './beta'",
"prettify": "./node_modules/.bin/prettier --config ./.prettierrc --write \"./{app,loaders,src}/**/*.{js,jsx,scss}\"",
"precommit": "lint-staged --allow-empty"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-0": "^7.0.0",
"@babel/preset-typescript": "^7.14.5",
"@babel/register": "^7.5.5",
"@deriv/api-types": "^1.0.47",
"@types/chai": "^4.2.18",
"@types/classnames": "^2.3.1",
"@types/event-emitter-es6": "^1.1.0",
"@types/lodash.debounce": "^4.0.6",
"@types/mocha": "^8.2.2",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-tabs": "^2.3.2",
"@types/react-transition-group": "^4.4.1",
"@types/sinon": "^10.0.2",
"@types/sinon-chai": "^3.2.6",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"babel-plugin-inline-react-svg": "^1.1.0",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-transform-runtime": "^6.23.0",
"chai": "^4.2.0",
"chai-sinon": "^2.8.1",
"copy-webpack-plugin": "^6.4.1",
"cross-env": "^5.1.4",
"css-hot-loader": "^1.4.4",
"css-loader": "^3.2.0",
"cssnano": "^4.1.10",
"eslint": "^7.9.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-binary": "^1.0.2",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-loader": "2.2.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^4.1.2",
"espree": "^6.0.0",
"estree-walk": "^2.2.0",
"file-loader": "^4.2.0",
"fork-ts-checker-webpack-plugin": "^6.5.0",
"fs": "^0.0.1-security",
"gettext-loader2": "^0.3.0",
"gh-pages": "^2.1.1",
"husky": "^4.2.5",
"json-loader": "^0.5.7",
"lint-staged": "^10.4.0",
"md5-file": "^4.0.0",
"mini-css-extract-plugin": "^0.8.0",
"mkdirp": "^0.5.1",
"mobx": "^5.13.0",
"mobx-react-lite": "^2.2.2",
"mocha": "^8.4.0",
"node-sass": "^4.14.1",
"nyc": "^14.1.1",
"path": "^0.12.7",
"po-loader": "^0.5.0",
"po2json": "^1.0.0-alpha",
"postcss-import": "^12.0.1",
"postcss-inline-svg": "^4.1.0",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"postcss-svgo": "^4.0.2",
"prettier": "^2.1.2",
"raw-loader": "^3.1.0",
"regenerator-runtime": "^0.13.3",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^2.6.3",
"sass-loader": "^7.0.1",
"sinon": "^7.4.1",
"style-loader": "^1.0.0",
"stylelint": "^13.5.0",
"stylelint-no-unsupported-browser-features": "^3.0.2",
"stylelint-webpack-plugin": "^0.10.5",
"svg-sprite-loader": "^4.1.6",
"svg-url-loader": "^3.0.0",
"svgo": "^1.3.0",
"svgo-loader": "^2.2.1",
"ts-node": "^10.4.0",
"typescript": "^4.3.4",
"url-loader": "^2.1.0",
"webpack": "^4.39.1",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@welldone-software/why-did-you-render": "^3.3.8",
"classnames": "^2.3.1",
"event-emitter-es6": "^1.1.5",
"lodash.debounce": "^4.0.8",
"mobx": "^5.0.3",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-tabs": "^3.0.0",
"react-transition-group": "^4.4.1",
"robust-websocket": "^1.0.0",
"sinon-chai": "^3.7.0",
"url-search-params-polyfill": "^7.0.0"
},
"resolutions": {
"js-yaml": "^3.13.1",
"@babel/parser": "7.7.5"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
}
}