-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
56 lines (56 loc) · 1.7 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
{
"name": "@videojs/xhr",
"version": "2.7.0",
"description": "small xhr abstraction",
"keywords": [
"xhr",
"http",
"xmlhttprequest",
"xhr2",
"browserify"
],
"author": "Raynos <raynos2@gmail.com>",
"repository": "git://github.com/videojs/xhr.git",
"main": "./lib/index.js",
"homepage": "https://github.com/videojs/xhr",
"contributors": [
{
"name": "Jake Verbaten"
},
{
"name": "Zbyszek Tenerowicz",
"email": "naugtur@gmail.com"
}
],
"bugs": "https://github.com/videojs/xhr/issues",
"typings": "./lib/index.d.ts",
"dependencies": {
"@babel/runtime": "^7.5.5",
"is-function": "^1.0.1",
"global": "~4.4.0"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@videojs/babel-config": "^0.1.0",
"for-each": "^0.3.2",
"pre-commit": "1.2.2",
"run-browser": "naugtur/run-browser",
"tap-spec": "^5.0.0",
"tape": "^4.0.0"
},
"license": "MIT",
"scripts": {
"prepublishOnly": "npm run build",
"start": "npm run build -- -w",
"build": "babel-config-cjs src -d lib",
"test:index": "run-browser test/index.js -b -m test/mock-server.js | tap-spec",
"test:interceptors": "run-browser test/interceptors.js -b -m test/mock-server.js | tap-spec",
"test:retry": "run-browser test/retry.js -b -m test/mock-server.js | tap-spec",
"test:http-handler": "run-browser test/http-handler.js -b -m test/mock-server.js | tap-spec",
"pretest": "npm run build",
"test": "npm run test:index && npm run test:http-handler && npm run test:interceptors && npm run test:retry",
"browser": "run-browser -m test/mock-server.js test/index.js"
}
}