-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 2.53 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
{
"name": "splendid-blog",
"version": "0.1.0",
"description": "Uses ReactJS and Express for NodeJS to create a dynamic blog website",
"main": "lambda.js",
"files": [
"server/src/main/",
"client/build/"
],
"scripts": {
"create:infrastructure": "aws cloudformation create-stack --stack-name splendidblog --template-body file://./infrastructure/aws.json --profile splendid-blog",
"create:lambda-handler": "claudia generate-serverless-express-proxy --express-module server --profile splendid-blog",
"create:lambda-instance": "claudia create --handler lambda.handler --timeout 20 --deploy-proxy-api --region us-east-2 --no-optional-dependencies --role splendid-blog-lambda --profile splendid-blog --version production --set-env-from-json server/config/.env.production.json",
"update:infrastructure": "aws cloudformation update-stack --stack-name splendidblog --template-body file://./infrastructure/aws.json --profile splendid-blog",
"install:client": "cd client && npm install && cd ../",
"build:client": "cd client && npm run build && cd ../",
"deploy": "claudia update --profile splendid-blog --version production --no-optional-dependencies --runtime nodejs12.x --update-env-from-json server/config/.env.production.json",
"start": "concurrently \"npm:start:server\" \"npm:start:client\"",
"start:test": "npm run build:client && NODE_ENV=test npm run server",
"start:server": "nodemon server/src/main/server.local.js",
"start:client": "cd client && npm start",
"test": "npm run test:server",
"test:server": "npm run test:server:unit && npm run test:server:api",
"test:server:unit": "NODE_ENV=test mocha server/src/test/unit.test.js",
"test:server:api": "NODE_ENV=test node server/src/test/api.test.js",
"test:pack": "claudia pack"
},
"dependencies": {
"aws-serverless-express": "^3.3.5",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"express": "^4.16.3",
"jsonwebtoken": "^8.3.0",
"shortid": "^2.2.14"
},
"optionalDependencies": {
"aws-sdk": "^2.286.2"
},
"devDependencies": {
"chai": "^4.2.0",
"claudia": "^5.12.0",
"concurrently": "^3.6.1",
"dotenv-json": "^1.0.0",
"mocha": "^7.1.1",
"newman": "^4.6.0",
"nodemon": "^2.0.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/timothymathison/splendid-blog.git"
},
"author": "Timothy Mathison",
"bugs": {
"url": "https://github.com/timothymathison/splendid-blog/issues"
},
"homepage": "https://github.com/timothymathison/splendid-blog#readme"
}