/
package.json
57 lines (57 loc) · 1.99 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
{
"name": "@tomyitav/apollo-typed-lambda",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build-schema": "rimraf ./dist/graphql/schema/ && dir /s /b \"src/graphql/types\" | findstr /e .ts > ts-files.txt && tsc ./src/graphql/schema/genereator-schema.ts --outDir ./dist/graphql/schema/ --lib esnext && tsc @ts-files.txt --outDir ./dist/graphql/types --lib esnext && del ts-files.txt",
"generate-ts": "gql-gen --template ts --out ./src/interfaces/types.d.ts --schema ./dist/graphql/schema/genereator-schema.js",
"pregenerate": "npm run build-schema",
"generate": "npm run generate-ts",
"clean": "rimraf dist",
"prebuild": "npm run clean && npm run generate",
"build": "tsc",
"start": "sls offline start --skipCacheInvalidation",
"dev": "tsc --watch & nodemon dist",
"test": "tsc && mocha dist/**/*.spec.js",
"lint": "eslint src --ext ts",
"tsc": "tsc",
"sls:offline": "npm run build && npm start",
"deploy": "npm run build && sls deploy"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"apollo-server-lambda": "^2.2.0",
"core-js": "^2.5.7",
"graphql": "^14.0.2",
"graphql-tools": "^4.0.2",
"injection-js": "^2.2.1",
"lodash": "^4.17.11",
"merge-graphql-schemas": "^1.5.7",
"reflect-metadata": "^0.1.10",
"zone.js": "^0.8.18"
},
"devDependencies": {
"@types/graphql": "14.0.3",
"@types/lodash": "4.14.117",
"@types/mocha": "5.2.5",
"@types/node": "8.10.37",
"eslint": "4.0.0",
"eslint-config-airbnb-base": "11.2.0",
"eslint-plugin-import": "2.3.0",
"eslint-plugin-promise": "3.5.0",
"graphql-code-generator": "0.12.5",
"graphql-codegen-typescript-template": "0.12.5",
"mocha": "5.2.0",
"nodemon": "1.11.0",
"rimraf": "2.6.2",
"serverless-dotenv-plugin": "2.0.1",
"serverless-offline": "3.25.14",
"supertest": "3.0.0",
"tsc": "1.20150623.0",
"typescript": "3.0.1",
"typescript-eslint-parser": "3.0.0"
}
}