UNPKG

2.33 kBJSONView Raw
1{
2 "name": "fusion-plugin-rpc",
3 "description": "Fetch data on the server and client with an RPC style interface.",
4 "version": "3.1.0",
5 "repository": {
6 "directory": "fusion-plugin-rpc",
7 "type": "git",
8 "url": "https://github.com/fusionjs/fusionjs"
9 },
10 "files": [
11 "dist",
12 "src"
13 ],
14 "main": "./dist/index.js",
15 "module": "./dist/index.es.js",
16 "browser": {
17 "./dist/index.js": "./dist/browser.es5.js",
18 "./dist/index.es.js": "./dist/browser.es5.es.js"
19 },
20 "es2015": {
21 "./dist/browser.es5.es.js": "./dist/browser.es2015.es.js"
22 },
23 "es2017": {
24 "./dist/browser.es5.es.js": "./dist/browser.es2017.es.js",
25 "./dist/browser.es2015.es.js": "./dist/browser.es2017.es.js"
26 },
27 "dependencies": {
28 "body-parser": "^1.18.3",
29 "just-compare": "^1.3.0",
30 "just-map-object": "^1.2.0",
31 "koa-bodyparser": "^4.2.1",
32 "rollup": "^0.67.3"
33 },
34 "devDependencies": {
35 "babel-eslint": "^10.0.1",
36 "create-universal-package": "^3.4.7",
37 "eslint": "^5.16.0",
38 "eslint-config-fusion": "6.0.1",
39 "eslint-plugin-cup": "^2.0.1",
40 "eslint-plugin-flowtype": "^3.8.1",
41 "eslint-plugin-import": "^2.17.2",
42 "eslint-plugin-jest": "^22.5.1",
43 "eslint-plugin-prettier": "^3.0.1",
44 "eslint-plugin-react": "^7.13.0",
45 "flow-bin": "^0.98.1",
46 "fusion-core": "2.0.1",
47 "fusion-plugin-universal-events": "2.0.2",
48 "fusion-test-utils": "2.0.1",
49 "fusion-tokens": "2.0.1",
50 "mock-req": "^0.2.0",
51 "nyc": "^14.1.0",
52 "prettier": "^1.17.0",
53 "sinon": "^7.1.1",
54 "tape-cup": "^4.7.1",
55 "unitest": "^2.1.1"
56 },
57 "peerDependencies": {
58 "fusion-core": "2.0.1",
59 "fusion-plugin-universal-events": "2.0.2",
60 "fusion-tokens": "2.0.1"
61 },
62 "scripts": {
63 "clean": "rm -rf dist",
64 "lint": "eslint . --ignore-path .gitignore",
65 "build": "cup build",
66 "build-tests": "cup build-tests",
67 "just-test": "unitest --browser=dist-tests/browser.js --node=dist-tests/node.js",
68 "test": "npm run build-tests && npm run just-test",
69 "cover": "npm run build-tests && nyc npm run just-test",
70 "prepublish": "npm run build",
71 "flow": "flow check"
72 },
73 "engines": {
74 "node": ">=8.9.0 <11",
75 "npm": ">=5.0.0",
76 "yarn": ">=1.0.0"
77 },
78 "license": "MIT",
79 "homepage": "https://fusionjs.com/api/fusion-plugin-rpc"
80}