forked from twilio/twilio-client.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 5.05 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
{
"name": "twilio-client",
"version": "1.10.1-dev",
"description": "Javascript SDK for Twilio Client",
"main": "./es5/twilio.js",
"license": "Apache-2.0",
"keywords": [
"twilio",
"client",
"voice",
"voip"
],
"repository": {
"type": "git",
"url": "git@github.com:twilio/twilio-client.js.git"
},
"scripts": {
"build": "npm-run-all clean build:constants build:errors docs:ts build:es5 build:ts build:dist build:dist-min",
"build:errors": "node ./scripts/errors.js",
"build:es5": "rimraf ./es5 && babel lib -d es5",
"build:dev": "ENV=dev npm run build",
"build:dist": "node ./scripts/build.js ./lib/browser.js ./LICENSE.md ./dist/twilio.js",
"build:dist-min": "uglifyjs ./dist/twilio.js -o ./dist/twilio.min.js --comments \"/^! twilio-client.js/\" -b beautify=false,ascii_only=true",
"build:release": "npm-run-all lint build test:webpack test:es5 status",
"build:ts": "./node_modules/typescript/bin/tsc",
"build:constants": "node ./scripts/constants.js",
"clean": "rimraf ./coverage ./dist ./es5",
"coverage": "nyc ./node_modules/mocha/bin/mocha -r ts-node/register ./tests/index.ts",
"coverage:check": "nyc check-coverage --lines 60 --branches 60 --functions 60",
"docs:clean": "rimraf ./docs",
"docs:js": "jsdoc -r -d dist/docs/js lib/twilio",
"docs:json": "typedoc --json dist/docs/raw.json --internal-aliases internal,publicapi --external-aliases external,internalapi --excludePrivate --excludeProtected",
"docs:ts": "typedoc --out docs --internal-aliases internal,publicapi --external-aliases external,internalapi --excludePrivate --excludeProtected --theme ./node_modules/typedoc-twilio-theme/bin/default",
"extension": "browserify -t brfs extension/token/index.js > extension/token.js",
"lint": "npm-run-all lint:js lint:ts",
"lint:js": "eslint lib",
"lint:ts": "tslint -c tslint.json --project tsconfig.json -t stylish",
"release": "release",
"start": "node server.js",
"status": "git status",
"test": "npm-run-all lint build test:unit test:webpack test:es5 test:docker",
"test:docker": "cd tests/docker && ./scripts/run.sh",
"test:es5": "es-check es5 \"./es5/**/*.js\" ./dist/*.js",
"test:framework:no-framework": "mocha tests/framework/no-framework.js",
"test:framework:react:install": "cd ./tests/framework/react && rimraf ./node_modules package-lock.json && npm install",
"test:framework:react:build": "cd ./tests/framework/react && npm run build",
"test:framework:react:run": "mocha ./tests/framework/react.js",
"test:framework:react": "npm-run-all test:framework:react:*",
"test:frameworks": "npm-run-all test:framework:no-framework test:framework:react",
"test:integration": "node ./scripts/karma.js $PWD/karma.conf.ts",
"test:selenium": "mocha tests/browser/index.js",
"test:unit": "nyc mocha -r ts-node/register ./tests/index.ts",
"test:webpack": "cd ./tests/webpack && npm install && npm test"
},
"pre-commit": [
"lint",
"test:unit",
"docs:ts"
],
"devDependencies": {
"@types/mocha": "5.2.7",
"@types/node": "13.1.8",
"@types/sinon": "7.5.1",
"@types/ws": "7.2.0",
"babel-cli": "6.26.0",
"babel-eslint": "10.0.3",
"babel-plugin-envify": "1.2.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-inline-environment-variables": "0.4.3",
"babel-preset-es2015": "6.24.1",
"browserify": "16.5.0",
"buffer": "5.4.3",
"chromedriver": "79.0.0",
"envify": "4.1.0",
"es-check": "5.1.0",
"eslint": "6.8.0",
"eslint-plugin-babel": "5.3.0",
"express": "4.17.1",
"geckodriver": "1.19.1",
"is-docker": "2.0.0",
"js-yaml": "3.13.1",
"jsdoc": "3.6.3",
"jsonwebtoken": "8.5.1",
"karma": "4.4.1",
"karma-chrome-launcher": "3.1.0",
"karma-firefox-launcher": "1.3.0",
"karma-mocha": "1.3.0",
"karma-safaritechpreview-launcher": "2.0.2",
"karma-spec-reporter": "0.0.32",
"karma-typescript": "4.1.1",
"karma-typescript-es6-transform": "4.1.1",
"lodash": "4.17.15",
"mocha": "7.0.0",
"npm-run-all": "4.1.5",
"nyc": "15.0.0",
"pre-commit": "1.2.2",
"querystring": "0.2.0",
"release-tool": "git://github.com/twilio/release-tool#8860ca9",
"selenium-webdriver": "3.6.0",
"sinon": "8.1.0",
"travis-multirunner": "4.6.0",
"ts-node": "8.6.2",
"tslint": "5.20.1",
"twilio": "3.39.2",
"typedoc": "github:ryan-rowland/typedoc#1.0.1",
"typedoc-plugin-as-member-of": "1.0.2",
"typedoc-plugin-external-module-name": "2.1.0",
"typedoc-plugin-internal-external": "2.0.2",
"typedoc-twilio-theme": "1.0.0",
"typescript": "3.7.5",
"uglify-js": "3.7.5",
"vinyl-fs": "3.0.3",
"vinyl-source-stream": "2.0.0"
},
"dependencies": {
"@twilio/audioplayer": "1.0.6",
"@twilio/voice-errors": "1.0.1",
"backoff": "2.5.0",
"loglevel": "1.6.7",
"rtcpeerconnection-shim": "1.2.8",
"ws": "6.1.3",
"xmlhttprequest": "1.8.0"
},
"browser": {
"xmlhttprequest": "./browser/xmlhttprequest.js",
"ws": "./browser/ws.js"
}
}