-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
100 lines (100 loc) · 3.32 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
{
"name": "http2-cache",
"version": "0.2.23",
"description": "Exposes http caching to the browser by adding functionality to XMLHttpRequest, and then running XMLHttpRequest over http2 over WebSockets",
"main": "index.js",
"browser": "dist/http2-cache.js",
"overlay": {
"browser": {
"main": "index.js",
"redirects": {
"http2-cache": "index.js"
}
},
"node": {
"main": "lib/http2-cache.js",
"redirects": {
"http2-cache": "lib/http2-cache.js"
}
}
},
"scripts": {
"lint": "jshint .",
"test": "mocha --exit",
"test:coverage": "istanbul test node_modules/mocha/bin/_mocha -- --reporter spec --slow 500 --timeout 15000 --exit",
"test:karma": "karma start --no-auto-watch --single-run",
"test:karma-firefox": "karma start --no-auto-watch --single-run --browsers=Firefox",
"test:karma-chrome": "karma start --no-auto-watch --single-run --browsers=Chrome",
"test:karma-travis": "npm run build:integration && karma start --no-auto-watch --single-run --browsers=Chrome_travis_ci",
"test:karma-dev": "karma start --auto-watch --no-single-run --capture",
"test:browser": "npm run build:integration && concurrently \"http-server -p 8086\" \"open http://localhost:8086/integration-test/run.html\"",
"test:jasmine": "npm run test:browser",
"integration": "npm run test:browser",
"build": "npm run build:browserify && npm run build:uglify",
"build:browserify": "browserify -p [ browserify-banner --template '<%= pkg.name %> v<%= pkg.version %>' ] -r ./lib/http2-cache.js -s http2-cache > ./dist/http2-cache.js",
"build:uglify": "uglifyjs --comments '/^/*!/' dist/http2-cache.js -c > ./dist/http2-cache.min.js",
"build:integration": "./node_modules/.bin/browserify -r ./test/http-cache-test.js -s tests > ./integration-test/http2-cache-tests.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kaazing/http2-cache.js.git"
},
"keywords": [
"http2",
"js",
"sandbox",
"push"
],
"files": [
"index.js",
"dist/",
"lib/"
],
"exclude": [
"coverage",
"example",
"test",
"integration-test",
"build.js"
],
"author": "dpwspoon",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/kaazing/http2-cache.js/issues"
},
"homepage": "https://github.com/kaazing/http2-cache.js#readme",
"dependencies": {
"collections": "^5.1.1",
"http2.js": "^4.0.8",
"lodash.merge": "^4.6.1",
"object-assign": "^4.1.1",
"object-keys": "^1.0.11",
"string.fromcodepoint": "^0.2.1",
"websocket-stream": "3.3.3"
},
"browserDependencies": {},
"devDependencies": {
"browserify": "^14.5.0",
"browserify-banner": "^1.0.12",
"chai": "3.5.0",
"concurrently": "^3.5.1",
"http-server": "^0.10.0",
"istanbul": "^0.4.5",
"jshint": "2.9.4",
"k3po-mocha.js": "https://github.com/dpwspoon/k3po-mocha.js#develop",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-sinon-chai": "^1.3.3",
"mocha": "^4.1.0",
"npm-k3po": "https://github.com/dpwspoon/npm-k3po#develop",
"open": "0.0.5",
"sinon": "^4.1.3",
"sinon-chai": "^2.14.0",
"spdy": "3.4.4 ",
"uglify-js": "^3.2.1",
"xhr2": "0.1.4"
}
}