-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.43 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.43 KB
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
{
"name": "@ttoss/aws-appsync-backend",
"version": "0.2.2",
"description": "AWS AppSync client for backend.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"example:deploy": "aws cloudformation deploy --stack-name AWSAppSyncBackendCoolChat --template-file ./example/cloudformation.yml",
"example:api-key": "aws cloudformation describe-stacks --stack-name AWSAppSyncBackendCoolChat --query 'Stacks[0].Outputs[?OutputKey == `ApiKey`].OutputValue' --output text",
"example:url": "aws cloudformation describe-stacks --stack-name AWSAppSyncBackendCoolChat --query 'Stacks[0].Outputs[?OutputKey == `Url`].OutputValue' --output text",
"example:destroy": "aws cloudformation delete-stack --stack-name AWSAppSyncBackendCoolChat",
"example:query": "API_KEY=$(npm run -s example:api-key) URL=$(npm run -s example:url) npx ts-node example/example.ts query",
"example:mutation": "API_KEY=$(npm run -s example:api-key) URL=$(npm run -s example:url) npx ts-node example/example.ts mutation --author Pedro --content 'Hi'",
"example:subscription": "API_KEY=$(npm run -s example:api-key) URL=$(npm run -s example:url) npx ts-node example/example.ts subscription"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ttoss/aws-appsync-backend.git"
},
"keywords": [
"aws-appsync",
"nodejs"
],
"author": {
"name": "Pedro Arantes",
"email": "arantespp@gmail.com",
"url": "https://twitter.com/arantespp"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ttoss/aws-appsync-backend/issues"
},
"homepage": "https://github.com/ttoss/aws-appsync-backend#readme",
"dependencies": {
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"apollo-link-http": "^1.5.17",
"aws-appsync-auth-link": "^2.0.0",
"aws-appsync-subscription-link": "^2.0.0",
"cross-fetch": "^3.0.6",
"graphql": "^15.4.0",
"graphql-tag": "^2.11.0",
"ws": "^7.4.0"
},
"devDependencies": {
"@types/ws": "^7.4.0",
"@types/yargs": "^15.0.10",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.2.1",
"ts-node": "^9.0.0",
"typescript": "^4.1.2",
"yargs": "^16.1.1"
}
}