This repository has been archived by the owner on Sep 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.17 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
{
"name": "kg-backend",
"private": true,
"version": "1.0.0",
"description": "",
"scripts": {
"postinstall1": "yarn patch-node-modules",
"patch-node-modules": "cpx 'patch/**' node_modules",
"start": "node -r tsconfig-paths/register dist/startServer.js",
"build": "rm -rf ./dist && tsc && cpx 'src/**/*.{graphql,graphqls,json,yaml,yml,html}' dist",
"now-build": "exit 0",
"precommit": "lint-staged",
"serve": "nodemon -e ts,js,json,graphql,graphqls --exec ts-node -- --preserve-symlinks -r tsconfig-paths/register ./src/startServer.ts",
"tslint-all": "tslint 'src/**/*.{ts,tsx}' -t stylish --fix",
"prettier-do": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,scss,graphql,json}'",
"prettier-all": "yarn prettier-do && yarn tslint-all",
"test": "jest",
"test-ci": "jest --coverage --ci --reporters=default --reporters=jest-junit",
"upgrade-shared": "yarn upgrade kg-shared @naturalcycles/shared-dev",
"deploy": "yarn build && now --public --npm && now alias",
"deploy-replace": "yarn build && now remove kg-backend --yes && now --public --npm && now alias",
"alias": "now alias",
"logs": "now logs kg-backend.now.sh"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"prettier --write",
"tslint -t stylish --fix",
"git add"
],
"src/**/*.{css,scss,graphql,json,md}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"@koa/cors": "^2.2.2",
"ajv": "^6.5.3",
"dotenv": "^6.0.0",
"firebase-admin": "^6.0.0",
"fs-extra": "^7.0.0",
"got": "^8.0.0",
"koa": "^2.5.2",
"koa-body": "^4.0.4",
"koa-json": "^2.0.2",
"koa-logger": "^3.1.0",
"koa-router": "^7.3.0",
"koa-static": "^5.0.0",
"lru-cache": "^4.1.3",
"luxon": "^1.3.3",
"node-schedule": "^1.3.0",
"nunjucks": "^3.1.3",
"p-map": "^1.2.0",
"p-props": "^1.2.0",
"raven": "^2.4.1",
"socket.io": "^2.0.4",
"tsconfig-paths": "^3.5.0",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@naturalcycles/shared-dev": "^1.0.18",
"@types/fs-extra": "^5.0.4",
"@types/got": "^8.3.3",
"@types/jest": "^23.3.1",
"@types/koa": "^2.0.46",
"@types/koa-json": "^2.0.18",
"@types/koa-logger": "^3.1.0",
"@types/koa-router": "^7.0.31",
"@types/lru-cache": "^4.1.1",
"@types/luxon": "^1.2.2",
"@types/node-schedule": "^1.2.2",
"@types/nunjucks": "^3.1.0",
"@types/p-map": "^1.1.0",
"@types/p-props": "^1.0.1",
"@types/socket.io": "^1.4.38",
"cpx": "^1.5.0",
"del": "^3.0.0",
"del-cli": "^1.1.0",
"husky": "^0.14.3",
"jest": "^23.5.0",
"jest-fetch-mock": "^1.6.5",
"jest-junit": "^5.1.0",
"lint-staged": "^7.2.2",
"prettier": "^1.14.2",
"ts-jest": "^23.1.4",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "~3.0.3",
"typescript-json-schema": "^0.32.0"
},
"jest-junit": {
"suiteName": "jest tests",
"output": "./report/jest-junit.xml",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " › ",
"usePathForSuiteName": "true"
},
"author": "Kirill Groshkov <1@inventix.ru>",
"license": "MIT"
}