/
package.json
102 lines (102 loc) · 3.22 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
{
"name": "@wazo/sdk",
"version": "0.42.0",
"description": "Wazo's JavaScript Software Development Kit.",
"main": "index.js",
"types": "lib/types/index.d.ts",
"author": "Wazo (http://wazo.io)",
"maintainers": [
"Wazo Team <dev@wazo.io> (https://github.com/wazo-platform)"
],
"contributors": [
"Wazo Team <dev@wazo.io> (https://github.com/wazo-platform)"
],
"license": "MIT",
"homepage": "https://github.com/wazo-platform/wazo-js-sdk",
"files": [
"index.js",
"dist/*.js",
"src/**/*",
"esm/**/*",
"lib/**/*"
],
"exports": {
"import": "./esm/index.js",
"node": "./dist/wazo-sdk.js",
"require": "./lib/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/wazo-platform/wazo-js-sdk"
},
"bugs": {
"url": "https://github.com/wazo-platform/wazo-js-sdk/issues"
},
"scripts": {
"clean": "./node_modules/.bin/rimraf lib/* esm/* dist/*",
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn build:umd",
"build:umd": "./node_modules/.bin/rollup --config --extend --bundleConfigAsCjs",
"build:esm": "tsc -p ./tsconfig.esm.json",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"test": "yarn jest && yarn lint && yarn typecheck && yarn checkbuild",
"lint": "./node_modules/.bin/eslint src/",
"jest": "./node_modules/.bin/jest src/",
"checkbuild": "yarn build && node dist/wazo-sdk.js",
"format": "./node_modules/.bin/prettier-eslint --write \"src/**/*.js\" \"__tests__/**/*.js\" --single-quote --trailing-comma es5",
"typecheck": "./node_modules/.bin/tsc --noEmit",
"prepublishOnly": "yarn build"
},
"dependencies": {
"events": "^3.3.0",
"fstream": "^1.0.12",
"getstats": "wazo-platform/getStats#fix_stats_mobile",
"js-base64": "^3.7.7",
"json-to-graphql-query": "^2.2.5",
"jsrsasign": "^11.1.0",
"libphonenumber-js": "^1.10.60",
"moment": "^2.30.1",
"reconnecting-websocket": "^4.4.0",
"sdp-transform": "^2.14.2",
"sip.js": "^0.21.2",
"webrtc-adapter": "^8.2.3"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/events": "^3.0.3",
"@types/jest": "^29.5.2",
"@types/jsrsasign": "^10.5.8",
"@types/node": "^20.4.0",
"@types/sdp-transform": "^2.4.9",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-loader": "^9.1.3",
"eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.6.1",
"jsonlint": "^1.6.3",
"prettier-eslint-cli": "^7.1.0",
"rimraf": "^5.0.5",
"rollup": "^3.26.2",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
},
"resolutions": {
"underscore": "1.12.1"
},
"engines": {
"node": ">=18.0.0"
}
}