UNPKG

2.23 kBJSONView Raw
1{
2 "name": "rxhr",
3 "amdName": "rxhr",
4 "version": "1.0.0-alpha.1",
5 "description": "Tiny Observable based HTTP client",
6 "jsnext:main": "index.js",
7 "module": "dist/rxhr.es.js",
8 "main": "dist/rxhr.cjs.js",
9 "umd:main": "dist/rxhr.umd.js",
10 "scripts": {
11 "bump": "standard-version",
12 "testonly": "jest --coverage",
13 "lint": "standard",
14 "format": "prettier --write --semi false '*.js' && standard --fix",
15 "test": "npm run lint && npm run testonly",
16 "build": "npm-run-all test clean rollup rollup:min size",
17 "clean": "rimraf dist",
18 "rollup": "rollup -c",
19 "rollup:min": "cross-env MINIFY=minify rollup -c",
20 "size": "echo \"Gzipped Size: $(cat dist/rxhr.umd.min.js | gzip-size)\"",
21 "release": "npm run build && npm run bump && git push --follow-tags origin master && npm publish"
22 },
23 "repository": "vesparny/rxhr",
24 "keywords": [
25 "xhr",
26 "http",
27 "ajax",
28 "observable",
29 "rxjs",
30 "reactive",
31 "request"
32 ],
33 "homepage": "https://github.com/vesparny/rxhr",
34 "authors": [
35 "Alessandro Arnodo <alessandro@arnodo.net>"
36 ],
37 "license": "MIT",
38 "files": [
39 "dist",
40 "index.js",
41 "index.spec.js"
42 ],
43 "devDependencies": {
44 "babel-core": "^6.24.1",
45 "babel-eslint": "^7.2.2",
46 "babel-preset-env": "^1.4.0",
47 "cross-env": "^5.0.0",
48 "gzip-size-cli": "^2.0.0",
49 "jest": "^20.0.3",
50 "npm-run-all": "^4.0.2",
51 "prettier": "^1.3.1",
52 "rimraf": "^2.5.2",
53 "rollup": "^0.41.6",
54 "rollup-plugin-babel": "^2.7.1",
55 "rollup-plugin-commonjs": "^8.0.2",
56 "rollup-plugin-node-resolve": "^3.0.0",
57 "rollup-plugin-uglify": "^1.0.1",
58 "standard": "^10.0.2",
59 "standard-version": "^4.0.0"
60 },
61 "dependencies": {
62 "symbol-observable": "^1.0.4"
63 },
64 "standard": {
65 "parser": "babel-eslint",
66 "globals": [
67 "jest",
68 "expect",
69 "it",
70 "test",
71 "describe",
72 "Blob",
73 "XMLHttpRequest"
74 ]
75 },
76 "lint-staged": {
77 "*.js": [
78 "prettier --write --semi false --single-quote",
79 "standard --fix",
80 "git add"
81 ]
82 },
83 "jest": {
84 "coverageReporters": [
85 "json",
86 "text",
87 "lcovonly"
88 ],
89 "collectCoverageFrom": ["index.js"]
90 }
91}