forked from deriv-com/deriv-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.38 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
{
"name": "@deriv/deriv-api",
"version": "1.0.7",
"description": "Websocket API for Deriv applications",
"main": "dist/DerivAPI.js",
"unpkg": "dist/DerivAPI.js",
"files": [
"dist/*.js"
],
"scripts": {
"test": "jest --verbose --forceExit",
"build": "webpack --config webpack.config.js",
"examples": "npm run build -- --display=none; for e in examples/*; do node $e; done",
"coverage": "codecov",
"devel": "npm test -- --watch --notify --onlyChanged",
"lint": "eslint",
"syntax": "npm run lint 'src/**/*.js'",
"test_all": "npm test && npm run syntax",
"prettify": "eslint --fix 'src/**/*.js' src/",
"docs": "documentation build src/DerivAPI.js --config docs/config.md.yml -f md -o docs/DerivAPI.md --markdown-toc-max-depth 4",
"gh-pages": "documentation build src/DerivAPI.js --config docs/config.html.yml -f html -o /tmp/deriv-api-docs; git add .; git stash; git checkout gh-pages; cp -r /tmp/deriv-api-docs/* .; git add .; git commit -m 'Update docs'; git push; git checkout -",
"serve_docs": "documentation serve src/DerivAPI.js --watch --config docs/config.html.yml",
"devel_docs": "while :; do clear; inotifywait -r src/ && npm run docs || break; done",
"prepublish": "npm run test_all && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm run docs && npm run prettify && git add ."
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/binary-com/deriv-api.git"
},
"author": "Deriv",
"license": "MIT",
"bugs": {
"url": "https://github.com/binary-com/deriv-api/issues"
},
"homepage": "https://github.com/binary-com/deriv-api#readme",
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "^7.4.5",
"@babel/runtime": "^7.6.0",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"codecov": "^3.6.5",
"documentation": "^12.2.0",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-align-assignments": "^1.0.0",
"eslint-plugin-arca": "^0.8.1",
"eslint-plugin-import": "^2.18.0",
"husky": "^2.4.1",
"jest": "^25.2.7",
"webpack": "^4.42.1",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-cli": "^3.3.6",
"ws": "^7.1.2"
},
"dependencies": {
"dayjs": "^1.8.15",
"json-stable-stringify": "^1.0.1",
"rxjs": "^6.5.2"
}
}