-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathpackage.json
135 lines (135 loc) · 5.3 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
{
"name": "@twilio/voice-sdk",
"version": "2.12.4-dev",
"description": "Twilio's JavaScript Voice SDK",
"main": "./es5/twilio.js",
"module": "./esm/index.js",
"types": "./es5/twilio.d.ts",
"license": "Apache-2.0",
"keywords": [
"twilio",
"client",
"sdk",
"voice",
"voip"
],
"engines": {
"node": ">= 12"
},
"exports": {
".": "./es5/twilio.js",
"./esm": "./esm/index.js"
},
"repository": {
"type": "git",
"url": "[email protected]:twilio/twilio-voice.js.git"
},
"scripts": {
"build": "npm-run-all clean build:constants build:errors docs:ts build:ts build:dist build:dist-min",
"build:errors": "node ./scripts/errors.js",
"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-voice.js/\" -b beautify=false,ascii_only=true",
"build:release": "npm-run-all lint build test:es5 test:esm status",
"build:ts": "./node_modules/typescript/bin/tsc && ./node_modules/typescript/bin/tsc --project tsconfig-esm.json && renamer --find twilio --replace index esm/twilio.*",
"build:constants": "node ./scripts/constants.js",
"clean": "rimraf ./coverage ./dist ./es5 ./esm",
"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",
"lint": "tslint -c tslint.json --project tsconfig.json -t stylish",
"release": "release",
"start": "node server.js",
"start:extension:server": "node tests/extension/server/server.js",
"status": "git status",
"test": "npm-run-all lint build test:unit test:es5 test:docker",
"test:build": "npm-run-all test:es5 test:esm test:typecheck lint",
"test:docker": "chmod +x ./scripts/run-docker-tests.sh && ./scripts/run-docker-tests.sh",
"test:es5": "es-check es5 \"./es5/**/*.js\" ./dist/*.js",
"test:extension": "mocha tests/extension/tests",
"test:esm": "es-check es6 \"./esm/**/*.js\" --module",
"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": "karma start $PWD/karma.conf.ts",
"test:network": "node ./scripts/karma.js $PWD/karma.network.conf.ts",
"test:relay-server": "node ./tests/relay/server.js",
"test:selenium": "mocha tests/browser/index.js",
"test:typecheck": "./node_modules/typescript/bin/tsc tests/typecheck/*.ts --noEmit",
"test:unit": "nyc mocha -r ts-node/register ./tests/index.ts",
"test:webpack": "cd ./tests/webpack && npm install && npm test"
},
"pre-commit": [
"lint",
"build:constants",
"test:unit",
"docs:ts"
],
"devDependencies": {
"@ngrok/ngrok": "1.2.0",
"@types/mime": "3.0.0",
"@types/mocha": "5.2.7",
"@types/node": "13.1.8",
"@types/sinon": "9.0.5",
"@types/ws": "7.2.0",
"axios": "1.6.8",
"babel-plugin-transform-inline-environment-variables": "0.4.3",
"body-parser": "1.20.2",
"browserify": "16.5.0",
"buffer": "5.4.3",
"cors": "2.8.5",
"envify": "4.1.0",
"es-check": "5.2.4",
"express": "4.18.2",
"geckodriver": "4.0.4",
"is-docker": "2.0.0",
"js-yaml": "3.13.1",
"jsdoc": "4.0.2",
"jsonwebtoken": "8.5.1",
"karma": "6.4.2",
"karma-chrome-launcher": "3.1.0",
"karma-firefox-launcher": "1.3.0",
"karma-mocha": "2.0.1",
"karma-safaritechpreview-launcher": "2.0.2",
"karma-spec-reporter": "0.0.32",
"karma-typescript": "5.5.4",
"karma-typescript-es6-transform": "5.5.4",
"lodash": "4.17.21",
"mocha": "10.2.0",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"pre-commit": "1.2.2",
"puppeteer": "23.10.4",
"renamer": "4.0.0",
"selenium-webdriver": "3.6.0",
"sinon": "9.0.3",
"ts-node": "8.6.2",
"tslint": "5.20.1",
"twilio": "3.84.1",
"twilio-release-tool": "1.0.1",
"typedoc": "0.19.2",
"typedoc-plugin-as-member-of": "1.0.2",
"typedoc-plugin-external-module-name": "4.0.6",
"typedoc-plugin-internal-external": "2.2.0",
"typedoc-twilio-theme": "1.0.1",
"typescript": "4.0.8",
"uglify-js": "3.7.5",
"vinyl-fs": "4.0.0",
"vinyl-source-stream": "2.0.0",
"ws": "7.4.6"
},
"dependencies": {
"@twilio/voice-errors": "1.7.0",
"@types/md5": "2.3.2",
"events": "3.3.0",
"loglevel": "1.6.7",
"md5": "2.3.0",
"rtcpeerconnection-shim": "1.2.8"
}
}