This repository has been archived by the owner on Jul 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.17 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "graphql-multiplex-subscriptions",
"version": "0.0.0-development",
"description": "use different PubSubEngines (e.g. RedisPubSub, PostgresPubSub) for different topics",
"main": "index.js",
"sideEffects": false,
"engines": {
"node": ">=8"
},
"scripts": {
"lint": "eslint src test --cache",
"lint:fix": "eslint --fix src test --cache",
"lint:watch": "esw --watch src test --cache",
"prettier": "prettier --write src/**/*.js test/**/*.js",
"prettier:check": "prettier --list-different src/**/*.js test/**/*.js",
"flow": "flow",
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
"flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",
"clean": "rimraf lib $(cd src; ls) *.js.flow",
"build": "npm run clean && babel src --out-dir . && flow-copy-source -v src/ .",
"test": "NODE_ENV=production BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:watch": "NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha",
"test:debug": "NODE_ENV=production BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov",
"prepublishOnly": "npm run clean && npm run prettier:check && npm run lint && flow && npm test && npm run build",
"open:coverage": "open coverage/lcov-report/index.html",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint && flow",
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"config": {
"mocha": "-r @babel/register ./test/**/*.js",
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"include": [
"src/**/*.js"
],
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "https://github.com/jcoreio/graphql-multiplex-subscriptions.git"
},
"keywords": [
"graphql-subscriptions",
"graphql",
"graphql-redis-subscriptions",
"graphql-postgres-subscriptions",
"pubsub",
"apollo"
],
"author": "Andy Edwards",
"license": "MIT",
"bugs": {
"url": "https://github.com/jcoreio/graphql-multiplex-subscriptions/issues"
},
"homepage": "https://github.com/jcoreio/graphql-multiplex-subscriptions#readme",
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-flow": "^7.0.0",
"@babel/register": "^7.0.0",
"@commitlint/cli": "^6.0.2",
"@commitlint/config-conventional": "^6.0.2",
"@jedwards1211/commitlint-config": "^1.0.0",
"@jedwards1211/eslint-config": "^2.0.0",
"@jedwards1211/eslint-config-flow": "^1.0.2",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^5.1.0",
"chai": "^4.2.0",
"codecov": "^3.1.0",
"copy": "^0.3.2",
"eslint": "^5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-watch": "^4.0.2",
"flow-bin": "^0.86.0",
"flow-copy-source": "^2.0.2",
"flow-watch": "^1.1.0",
"graphql": "^14.0.2",
"graphql-subscriptions": "^1.0.0",
"husky": "^1.1.4",
"istanbul": "^0.4.5",
"lint-staged": "^8.0.4",
"mocha": "^5.2.0",
"nyc": "^13.1.0",
"prettier": "^1.15.2",
"prettier-eslint": "^8.8.2",
"rimraf": "^2.6.0",
"semantic-release": "^15.1.4",
"sinon": "^7.1.1",
"travis-deploy-once": "^5.0.9"
},
"dependencies": {
"graphql-redis-subscriptions": "^2.0.0"
},
"peerDependencies": {
"graphql-subscriptions": "^1.0.0"
}
}