forked from Saeris/tmdb-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 4.24 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
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@saeris/tmdb-api",
"description": "A GraphQL API wrapper for The Movie DB built with Apollo Data Sources",
"version": "2.1.2",
"keywords": [
"apollo",
"graphql",
"typescript",
"lambda",
"tmdb"
],
"author": "Drake Costa <drake@saeris.io> (https://github.com/Saeris/)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/saeris/tmdb-api.git"
},
"publishConfig": {
"access": "public"
},
"main": "src/index.ts",
"scripts": {
"dev": "yarn start:lambda",
"debug": "cross-env SLS_DEBUG=TRUE && yarn start",
"start": "yarn start:lambda",
"start:lambda": "cross-env OFFLINE=TRUE serverless offline start --dontPrintOutput",
"start:netlify": "cross-env OFFLINE=TRUE NETLIFY=TRUE npx --node-arg=--inspect -r source-map-support/register netlify-lambda serve lambda --port 1337 --config ./webpack.netlify.js",
"build": "cross-env PIKA=TRUE pika build",
"build:docs": "fiddly",
"build:netlify": "cross-env NODE_ENV='production' NETLIFY=TRUE netlify-lambda build lambda --config ./webpack.netlify.js",
"deploy": "yarn deploy:dev",
"deploy:dev": "cross-env SLS_DEBUG=TRUE serverless --stage=dev deploy",
"deploy:prod": "serverless --stage=production deploy",
"lint": "eslint \"./{src,lambda}/**/*.{js,ts}\"",
"typecheck": "tsc --noEmit",
"test": "yarn lint && yarn typecheck && jest -c ./jest.config.js",
"test:watch": "jest -c ./jest.config.js --watch",
"test:coverage": "yarn test && codecov",
"schema:check": "apollo service:check",
"schema:push": "apollo service:push",
"release": "pika publish",
"version": "npm run build"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@saeris/graphql-directives": "^0.5.0",
"@saeris/graphql-scalars": "^2.1.1",
"apollo-datasource": "^0.7.2",
"apollo-datasource-rest": "^0.9.4",
"apollo-server-lambda": "^2.18.2",
"aws-lambda": "^1.0.6",
"datauri": "^3.0.0",
"date-fns": "^2.16.1",
"graphql": "^15.3.0",
"graphql-tag": "2.11.0",
"graphql-tools": "^6.2.4",
"lodash": "^4.17.20",
"node-vibrant": "^3.2.1-alpha.1",
"potrace": "^2.1.8",
"svgo": "^1.3.2"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/node": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-transform-object-assign": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@pika/pack": "^0.5.0",
"@pika/plugin-build-node": "^0.9.2",
"@pika/plugin-build-types": "^0.9.2",
"@pika/plugin-standard-pkg": "^0.9.2",
"@types/aws-lambda": "^8.10.64",
"@types/graphql": "^14.5.0",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.8",
"@types/svgo": "^1.3.3",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"apollo": "^2.31.0",
"aws-sdk": "^2.771.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.5.2",
"babel-loader": "^8.1.0",
"babel-plugin-import-graphql": "^2.7.0",
"codecov": "^3.8.0",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"dotenv-webpack": "^3.0.0",
"eslint": "^7.11.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-promise": "^4.2.1",
"fiddly": "^0.9.1",
"graphql-cli": "^4.1.0",
"husky": "^4.3.0",
"jest": "^26.5.3",
"jest-transform-graphql": "^2.1.0",
"lint-staged": "^10.4.0",
"netlify-lambda": "2.0.1",
"prettier": "^2.1.2",
"serverless": "^2.7.0",
"serverless-dotenv-plugin": "^3.0.0",
"serverless-offline": "^6.8.0",
"serverless-webpack": "^5.3.5",
"typescript": "^4.0.3",
"webpack": "^4.44.2",
"webpack-node-externals": "^2.5.1"
},
"@pika/pack": {
"pipeline": [
[
"@pika/plugin-standard-pkg",
{
"exclude": [
"**/*.gql",
"__TEST__/*"
]
}
],
[
"@pika/plugin-build-node"
],
[
"@pika/plugin-build-types"
]
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}