forked from deriv-com/SmartCharts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
171 lines (171 loc) · 6.79 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
{
"name": "@deriv/deriv-charts",
"version": "2.0.5",
"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 --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",
"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",
"copy-webpack-plugin": "^6.4.1",
"cross-env": "^5.1.4",
"css-loader": "^6.7.3",
"cssnano": "^4.1.10",
"eslint": "^7.9.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-binary": "^1.0.2",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-loader": "4.0.2",
"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": "^9.5.2",
"estree-walk": "^2.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": "^2.7.5",
"mkdirp": "^0.5.1",
"mobx-undecorate": "^1.2.0",
"mocha": "^8.4.0",
"nyc": "^14.1.1",
"path": "^0.12.7",
"po-loader": "^0.7.0",
"po2json": "^1.0.0-alpha",
"postcss": "^8.4.23",
"postcss-import": "^15.1.0",
"postcss-inline-svg": "^6.0.0",
"postcss-loader": "^7.3.0",
"postcss-preset-env": "^8.3.2",
"postcss-svgo": "^6.0.0",
"prettier": "^2.1.2",
"regenerator-runtime": "^0.13.3",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^2.6.3",
"sass": "^1.62.1",
"sass-loader": "^13.2.2",
"sinon": "^7.4.1",
"stylelint": "^13.5.0",
"stylelint-no-unsupported-browser-features": "^3.0.2",
"stylelint-webpack-plugin": "^2.4.0",
"svg-sprite-loader": "^6.0.11",
"svgo": "^3.0.2",
"svgo-loader": "^4.0.0",
"ts-node": "^10.4.0",
"typescript": "^4.3.4",
"webpack": "^5.82.1",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0"
},
"dependencies": {
"@types/lodash.set": "^4.3.7",
"@welldone-software/why-did-you-render": "^3.3.8",
"classnames": "^2.3.1",
"event-emitter-es6": "^1.1.5",
"html2canvas": "^1.4.1",
"lodash.debounce": "^4.0.8",
"lodash.set": "^4.3.2",
"mobx": "^6.5.0",
"mobx-react-lite": "^3.4.0",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-tabs": "^4.3.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"
}
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
}
}