-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
66 lines (66 loc) · 2.34 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
{
"name": "node-typescript-starter",
"version": "1.0.0",
"description": "A starter template for nodejs+typescript project",
"main": "index.js",
"scripts": {
"start": "npm run build && npm run serve",
"build": "npm run build-ts && npm run tslint && npm run watch",
"serve": "node dist/server.js",
"watch-node": "nodemon dist/server.js",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"remove-dist": "rimraf -rf dist",
"copy-lambda-assets": "ts-node lambdaAssets.ts",
"prepateToDeployLambda": "npm run copy-lambda-assets && npm run lambda-proxy-wrapper",
"lambda-proxy-wrapper": "cd dist && claudia generate-serverless-express-proxy --express-module server",
"create-lambda-func": "cd dist && claudia create --handler lambda.handler --deploy-proxy-api --region us-east-1 --set-env-from-json lambda.env.json",
"update-lambda": "npm run prepateToDeployLambda && cd dist && claudia update --set-env-from-json lambda.env.json"
},
"repository": {
"type": "git",
"url": "git+ssh://git@bitbucket.org/subbu683/node-typescript-starter.git"
},
"keywords": [
"Nodejs",
"typescript"
],
"author": "Subbu",
"license": "ISC",
"homepage": "https://bitbucket.org/subbu683/node-typescript-starter#readme",
"dependencies": {
"body-parser": "^1.18.3",
"compression": "^1.7.3",
"cors": "^2.8.5",
"dotenv": "^6.1.0",
"express": "^4.16.4",
"helmet": "^3.15.0",
"http-errors": "^1.7.1",
"mongoose": "^5.3.12",
"morgan": "^1.9.1",
"shelljs": "^0.8.3"
},
"devDependencies": {
"@types/compression": "0.0.36",
"@types/dotenv": "^6.1.0",
"@types/errorhandler": "0.0.32",
"@types/express": "^4.16.0",
"@types/helmet": "0.0.42",
"@types/http-errors": "^1.6.1",
"@types/mongoose": "^5.3.1",
"@types/morgan": "^1.7.35",
"@types/node-notifier": "0.0.28",
"@types/shelljs": "^0.8.1",
"concurrently": "^4.0.1",
"errorhandler": "^1.5.0",
"node-notifier": "^5.3.0",
"nodemon": "^1.18.7",
"rimraf": "^2.6.2",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.6"
}
}