-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
64 lines (64 loc) · 1.71 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
{
"name": "dynamo-easy-demo",
"version": "5.0.0",
"description": "simple project as showcase for dynamo-easy",
"license": "MIT",
"keywords": [
"node",
"@shiftcoders/dynamo-easy",
"shiftcode",
"dynamo-easy",
"aws",
"dynamo",
"dynamoDB",
"demo"
],
"main": "./dist/index.js",
"engines": {
"node": "8.x"
},
"repository": {
"type": "git",
"url": "https://github.com/shiftcode/dynamo-easy-demo"
},
"scripts": {
"lint": "tslint -t codeFrame '{src, test}/**/*.ts' --project ./tsconfig.json --fix",
"build": "tsc",
"start": "ts-node ./src/index.ts",
"deploy": "aws cloudformation deploy --template-file ./infrastructure.yml --stack-name dynamo-easy-demo --capabilities CAPABILITY_NAMED_IAM && npm run generate-outputs",
"generate-outputs": "aws cloudformation --region eu-central-1 describe-stacks --stack-name dynamo-easy-demo --query 'Stacks[0].Outputs' > src/cf-outputs.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"{src,test}/**/*.ts": [
"npx prettier --write --config ./.prettierrc.yml",
"npx tslint --fix --project tsconfig.json",
"git add"
]
}
},
"dependencies": {
"@shiftcoders/dynamo-easy": "^5.0.0",
"aws-sdk": "^2.385.0",
"date-fns": "^1.30.1",
"lodash": "^4.17.11",
"reflect-metadata": "^0.1.12",
"tslib": "^1.9.3",
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/moment-timezone": "^0.5.10",
"@types/node": "^8.10.37",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"typescript": "^3.2.2"
}
}