forked from deriv-com/SmartCharts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 6.13 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
{
"name": "@binary-com/smartcharts",
"version": "0.6.1",
"main": "dist/smartcharts.js",
"author": "amin@binary.com",
"contributors": [
"Lee Zhen Yong <bruce@binary.com>",
"Mahboobeh Mohammadi <mahboobeh@binary.com>",
"Shayan Yazdanpanah <shayan@binary.com>"
],
"license": "ISC",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/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 mocha --require @babel/register './+(src|app)/!(node_modules)/**/__tests__/*.spec.js'",
"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",
"deploy:production": "npm run build-travis && echo 'charts.binary.com' > CNAME && npm run gh-pages --repo 'git@github.com:binary-com/SmartCharts.git'",
"deploy:beta": "npm run build-travis && npm run gh-pages --repo 'git@github.com: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/register": "^7.5.5",
"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.0.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",
"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": "5.2.8",
"mocha": "^7.1.2",
"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",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-transition-group": "^4.2.2",
"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",
"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.2.6",
"event-emitter-es6": "^1.1.5",
"lodash.debounce": "^4.0.8",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"react-tabs": "^3.0.0",
"url-search-params-polyfill": "^7.0.0"
},
"peerDependencies": {
"@babel/polyfill": "^7.0.0",
"mobx": "^5.0.3",
"mobx-react": "^5.1.2",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-transition-group": "^2.5.0"
},
"resolutions": {
"js-yaml": "^3.13.1",
"@babel/parser": "7.7.5"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
}
}