-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.16 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 2.16 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
{
"name": "loca-backend",
"version": "0.1.0",
"main": "build/index.js",
"repository": "git@github.com:nihalgonsalves/loca-backend.git",
"author": "Nihal Gonsalves <nihal@nihalgonsalves.com>",
"license": "UNLICENSED",
"scripts": {
"build": "tsc --project . --pretty",
"console": "ts-node --project . --require ./bin/playground.ts",
"start": "node build/index.js",
"debug": "nodemon --verbose --ext ts,json --exec ts-node -- --project . src/index.ts",
"deploy": "now && now alias",
"postdeploy": "echo y | now rm loca-backend --safe",
"schema:dump": "ts-node --project . bin/schema/dump.ts",
"schema:introspect": "apollo-codegen introspect-schema ./schema/schema.graphql --output ./schema/schema.json",
"schema:generateTypes": "gql2ts schema/schema.graphql --namespace LocaGQL --ignore-type-name-declaration --output-file ./src/schema/types.ts",
"schema:exportTypes": "echo 'export { LocaGQL };' >> ./src/schema/types.ts",
"schema:all": "yarn run schema:dump && yarn run schema:introspect && yarn run schema:generateTypes && yarn run schema:exportTypes",
"db": "ts-node --project . ./node_modules/.bin/typeorm",
"lint": "tslint --project . --format stylish --fix",
"test": "exit 0"
},
"devDependencies": {
"@types/express": "^4.11.1",
"@types/graphql": "^0.12.3",
"@types/jsonwebtoken": "^7.2.5",
"@types/lodash": "^4.14.100",
"@types/node": "^8.0.29",
"@types/request-promise-native": "^1.0.13",
"apollo-codegen": "^0.18.3",
"gql2ts": "^1.4.1",
"nodemon": "^1.14.12",
"ts-node": "4.1.0",
"tslint": "^5.9.1",
"tslint-config-airbnb": "^5.5.0",
"typescript": "2.7.1"
},
"dependencies": {
"apollo-link": "^1.0.7",
"apollo-server-express": "^1.3.2",
"body-parser": "^1.18.2",
"class-validator": "^0.8.1",
"cors": "^2.8.4",
"ejs": "^2.5.7",
"express": "^4.16.2",
"graphql": "^0.11.0",
"graphql-tools": "^2.20.0",
"jsonwebtoken": "^8.1.1",
"lodash": "^4.17.5",
"pg": "^7.4.1",
"reflect-metadata": "^0.1.12",
"request": "^2.83.0",
"request-promise-native": "^1.0.5",
"typeorm": "^0.2.0-alpha.17",
"uuid": "^3.2.1"
}
}