-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
114 lines (114 loc) · 4.47 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
{
"name": "twilio-taskrouter",
"title": "Twilio TaskRouter",
"version": "2.0.13-dev",
"description": "Twilio TaskRouter JavaScript library",
"homepage": "https://www.twilio.com",
"author": "Wanjun Li <[email protected]>",
"contributors": [
"Martin Amps <[email protected]>",
"Mehul Chopra <[email protected]>",
"Alex Laird <[email protected]>"
],
"license": "MIT",
"keywords": [
"twilio",
"library",
"javascript",
"taskrouter",
"worker"
],
"files": [
"dist"
],
"main": "./dist/index.commonjs2.js",
"browser": "./dist/index.window.js",
"scripts": {
"webpack": "webpack --config ./webpack.config.js --progress --mode",
"mocha": "mocha --require @babel/register --exit $1",
"clean": "rm -rf ./coverage ./dist ./node_modules",
"lint": "eslint ./lib ./test/integration/spec ./test/integration/index.js",
"test:unit": "mocha --full-trace --check-leaks --require @babel/register ./test/unit/index.js --exit",
"test:integration": "mocha --full-trace --check-leaks --require @babel/register -r ./test/mocha/no-unicode-reporter.js -r ./test/mocha/fetch.js ./test/integration/index.js --reporter mochawesome --reporter-options reportDir=reports,reportFilename=e2e-test-report --timeout 40000 --exit",
"test:integration-six-sigma": "mocha --full-trace --check-leaks --require @babel/register -r ./test/mocha/no-unicode-reporter.js -r ./test/mocha/fetch.js ./test/integration/index.js --reporter mochawesome --reporter-options reportDir=reports,reportFilename=e2e-test-report --timeout 40000 --exit -g '@SixSigma'",
"test:integration:tr:voice": "mocha --full-trace --check-leaks --require @babel/register ./test/integration/voice/index.js --timeout 40000 --exit",
"test:integration:voice": "mocha --full-trace --check-leaks --require @babel/register ./test/voice/index.js --timeout 40000 --exit",
"test:integration:media": "mocha --full-trace --check-leaks --require @babel/register ./test/media/index.js --timeout 40000 --exit",
"test": "yarn test:unit && yarn test:integration",
"build:dev": "yarn webpack development",
"build:prod": "yarn webpack production",
"build:types": "tsc && node ./scripts/types.js",
"prebuild": "yarn clean && yarn install",
"build": "yarn lint && yarn build:prod",
"postbuild": "yarn docs && yarn coverage",
"docs": "node ./scripts/docs.js ./dist/docs",
"coverage": "nyc --report-dir coverage --reporter lcov --reporter text-summary yarn test:unit",
"test:setup": "node test/integration_test_setup/IntegrationTestSetup.js",
"sample-app:install": "yarn --cwd sample-app install",
"sample-app:build": "yarn --cwd sample-app build",
"sample-app:start": "yarn --cwd sample-app start",
"sample-app:dev": "yarn --cwd sample-app dev",
"sample-app:lint": "yarn --cwd sample-app lint",
"sample-app:format": "yarn --cwd sample-app format"
},
"repository": {
"type": "git",
"url": "https://github.com/twilio/twilio-taskrouter.js.git"
},
"dependencies": {
"@babel/runtime": "^7.16.3",
"axios": "^1.7.4",
"events": "3.3.0",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"loglevel": "^1.4.1",
"path-browserify": "^1.0.1",
"typed-emitter": "^2.1.0",
"util": "^0.12.4",
"ws": "^8.17.1"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/plugin-transform-object-assign": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/register": "^7.16.0",
"@types/express": "^4.17.7",
"@types/qs": "^6.9.4",
"async-test-tools": "^1.0.7",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.3",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-datetime": "^1.4.1",
"cheerio": "^1.0.0-rc.10",
"copy-webpack-plugin": "^6.4.1",
"dotenv": "16.0.1",
"eslint": "^7.32.0",
"ink-docstrap": "^1.3.2",
"isomorphic-fetch": "^3.0.0",
"jsdoc": "^3.6.7",
"license-info-webpack-plugin": "^1.0.0",
"mocha": "^9.1.3",
"mochawesome": "^7.1.3",
"mock-socket": "^7.1.0",
"npm": "^7.24.2",
"nyc": "^15.1.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.5.0",
"twilio": "^3.71.3",
"twilio-sync": "^2.0.1",
"typescript": "^4.5.5",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-node-externals": "^3.0.0"
},
"resolutions": {
"nyc/**/y18n": "^4.0.1"
},
"engines": {
"node": ">=12"
},
"types": "./dist/types.d.ts"
}