-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.42 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
{
"name": "cowl",
"version": "1.1.0",
"description": "Request cowl for making requests from NodeJS/Browser/React-Native",
"main": "source/index.js",
"scripts": {
"docs": "jsdoc2md source/**/*.js > API.md",
"format": "prettier --write '{{source,test}/**/*.js,webpack.config.js}'",
"test": "npm run test:node && npm run test:web && npm run test:format",
"test:format": "prettier-check '{{source,test}/**/*.js,webpack.config.js}'",
"test:node": "nyc mocha -r test/node/index.js -t 10000 'test/node/specs/**/*.spec.js'",
"test:web": "rimraf test/web/address.json; concurrently --success=first -k --kill-others-on-fail -n server,tests 'node test/web/server.js' 'npm run test:web:karma'",
"test:web:karma": "wait-on test/web/address.json && karma start --single-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/perry-mitchell/cowl.git"
},
"lint-staged": {
"{{source,test}/**/*.js,webpack.config.js}": [
"prettier --write"
]
},
"keywords": [
"request",
"xhr",
"xmlhttprequest",
"fetch",
"post",
"react-native",
"browser",
"node"
],
"author": "Perry Mitchell <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/perry-mitchell/cowl/issues"
},
"homepage": "https://github.com/perry-mitchell/cowl#readme",
"dependencies": {
"caseless": "^0.12.0",
"get-headers": "^1.0.5",
"is-in-browser": "^1.1.3",
"layerr": "^0.1.2",
"query-string": "^7.1.0",
"xhr2": "^0.2.1"
},
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"arraybuffer-equal": "^1.0.4",
"babel-loader": "^8.1.0",
"buffer": "^5.6.0",
"chai": "^4.2.0",
"concurrently": "^5.2.0",
"create-test-server": "^3.0.1",
"husky": "^4.2.5",
"is-array-buffer": "^1.0.1",
"is-buffer": "^2.0.4",
"jsdoc-to-markdown": "^6.0.1",
"karma": "^5.1.1",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^4.0.2",
"lint-staged": "^10.2.11",
"mocha": "^8.1.0",
"multer": "^1.4.2",
"nyc": "^15.1.0",
"prettier": "^1.19.1",
"prettier-check": "^2.0.0",
"rimraf": "^3.0.2",
"sinon": "^9.0.2",
"url-join": "^4.0.1",
"wait-on": "^5.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}