/
package.json
117 lines (117 loc) · 3.68 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
{
"name": "yame-api",
"version": "1.0.0",
"description": "",
"main": "src/index.js",
"scripts": {
"start": "node --nolazy -r ts-node/register src/index.ts",
"start:watch": "nodemon --inspect",
"build": "tsc",
"pack": "./node_modules/.bin/webpack",
"format": "prettier --write '**/*.{ts,json,yml,yaml}'",
"format:check": "prettier --list-different '**/*.{ts,json,yml,yaml}'",
"test": "jest",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"pretty": "prettier --write",
"lint": "tslint -p tsconfig.json -c tslint.json && npm run format",
"lint:fix": "tslint --fix -p tsconfig.json -c tslint.json && npm run format",
"deploy": "sls deploy --stage dev",
"domain": "sls create_domain --stage dev",
"offline": "sls offline start --port 3001 --stage ${STAGE}"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@types/atob": "^2.1.1",
"@types/aws-lambda": "^8.10.23",
"@types/aws-sdk": "^2.7.0",
"@types/aws-serverless-express": "^3.3.0",
"@types/btoa": "^1.2.2",
"@types/concat-stream": "^1.6.0",
"@types/cors": "^2.8.4",
"@types/express": "^4.16.1",
"@types/graphql-iso-date": "^3.3.1",
"@types/html-pdf": "^2.1.2",
"@types/markdown-pdf": "^9.0.0",
"@types/node-fetch": "^2.1.6",
"@types/promisify-node": "^0.4.0",
"@types/utf8": "^2.1.6",
"apollo-server": "^2.4.6",
"apollo-server-express": "^2.4.6",
"atob": "^2.1.2",
"aws-lambda": "^0.1.2",
"aws-sdk": "^2.422.0",
"aws-serverless-express": "^3.3.5",
"body-parser": "^1.18.3",
"btoa": "^1.2.1",
"cors": "^2.8.5",
"express": "^4.16.2",
"fetch": "^1.1.0",
"graphql": "^14.5.8",
"graphql-iso-date": "^3.6.1",
"graphql-tools": "^2.13.0",
"highlight.js": "^9.15.6",
"html-pdf": "^2.2.0",
"markdown-it": "^8.4.2",
"markdown-it-named-headings": "^1.1.0",
"node-gzip": "^1.1.2",
"pandoc-aws-lambda-binary": "^1.1.1",
"phantomjs-prebuilt": "^2.1.16",
"promisify-node": "^0.5.0",
"utf-8": "^2.0.0",
"utf8": "^3.0.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/node": "^11.9.4",
"@types/uuid": "^3.4.4",
"husky": "^1.3.1",
"jest": "^24.1.0",
"lint-staged": "^8.1.5",
"nodemon": "^1.18.10",
"prettier": "^1.16.4",
"serverless-apigw-binary": "^0.4.4",
"serverless-apigwy-binary": "^1.0.0",
"serverless-domain-manager": "^3.1.0",
"serverless-offline": "^4.9.1",
"serverless-optimizer-plugin": "^2.5.1",
"serverless-plugin-optimize": "^4.0.2-rc.1",
"ts-jest": "23.10.5",
"ts-node": "8.0.2",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.3.3",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.tsx": [
"npm run pretty",
"tslint --fix"
],
"*.{html,css,yml,yaml,js}": [
"npm run pretty"
]
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts",
"**/*.spec.ts",
".git",
"node_modules"
],
"watch": [
"src"
],
"exec": "npm start",
"ext": "ts"
}
}