-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 3.37 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
{
"name": "@chatie/graphql",
"version": "0.6.7",
"description": "Chatie GraphQL Service",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "shx rm -fr dist/*",
"generate-schema": "ts-node bin/generate-schema",
"gc:deploy:prod": "graphcool deploy -t prod",
"gc:deploy:prod:force": "graphcool deploy -t prod --force",
"gc:deploy:dry": "graphcool deploy --dry-run",
"gc:local:deploy": "graphcool deploy -c local -n chatie -t dev",
"gc:local:info": "graphcool info -t dev",
"gc:local:pull": "graphcool local pull",
"gc:local:reset": "echo 'not work' || echo y | graphcool reset -t dev",
"gc:local:restart": "./bin/local-restart.sh",
"gc:local:start": "./bin/local-start.sh",
"gc:local:stop": "./bin/local-stop.sh",
"gc:local:up": "graphcool local up",
"gc:login": "graphcool login",
"gc:playground": "graphcool playground",
"dist": "npm run clean && tsc",
"lint": "npm run lint:ts",
"lint:ts": "tslint --project tsconfig.json && tsc --noEmit",
"test": "npm run clean && npm run lint && npm run test:unit",
"test:pack": "npm run dist && export TMPDIR=/tmp/pack-testing.$$ && npm pack && mkdir $TMPDIR && mv *-*.*.*.tgz $TMPDIR && cp tests/fixtures/pack-testing.js $TMPDIR && cd $TMPDIR && npm init -y && (for i in {1..3}; do npm i *-*.*.*.tgz brolog && node pack-testing.js && break || sleep 1; done)",
"test:unit": "blue-tape -r ts-node/register \"tests/**/*.spec.ts\" \"src/**/*.spec.ts\""
},
"dependencies": {
"apollo-cache-inmemory": "^1.1.11",
"apollo-client": "^2.2.6",
"apollo-link": "^1.2.1",
"apollo-link-batch-http": "^1.2.1",
"apollo-link-ws": "^1.0.7",
"cross-fetch": "^3.0.0",
"graphcool": "^0.11.5",
"graphcool-lib": "^0.1.4",
"isomorphic-ws": "^4.0.0",
"jsonwebtoken": "^8.1.0",
"jwks-rsa": "^1.2.1",
"subscriptions-transport-ws": "^0.9.6",
"ws": "^7.0.0"
},
"devDependencies": {
"@types/blue-tape": "^0.1.31",
"@types/dotenv": "^4.0.3",
"@types/node": "^13.1.0",
"@types/semver": "^5.5.0",
"@types/ws": "^6.0.0",
"apollo-codegen": "^0.19.0",
"babel-eslint": "^10.0.0",
"blue-tape": "^1.0.0",
"brolog": "^1.6.1",
"cuid": "^2.1.0",
"dotenv": "^8.1.0",
"eslint": "^4.17.0",
"git-scripts": "^0.2.1",
"graphql-tag": "^2.8.0",
"shx": "^0.2.2",
"ts-node": "^6.0.0",
"tslint": "^5.9.1",
"typescript": "^2.7.2"
},
"peerDependencies": {
"brolog": ">=1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chatie/graphql.git"
},
"author": {
"name": "Huan LI",
"email": "[email protected]",
"url": "https://www.zixia.net"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/chatie/graphql/issues"
},
"homepage": "https://github.com/chatie/graphql#readme",
"files": [
"bin/*",
"dist/*",
"src/*",
"types/*",
"LICENSE",
"README.md",
"graphcool.yml",
"package.json"
],
"bin": {
"chatie-graphql-local-restart": "bin/local-restart.sh",
"chatie-graphql-local-start": "bin/local-start.sh",
"chatie-graphql-local-stop": "bin/local-stop.sh"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"git": {
"scripts": {
"pre-commit": "./scripts/clean.sh",
"pre-push": "./scripts/pre-push.sh"
}
},
"browser": {
"child_process": false
}
}