-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.88 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
{
"name": "ecommerce-api-demo",
"version": "1.0.0",
"description": "API demo",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"dev": "serverless offline --host 0.0.0.0",
"test": "REDIS_ACTIVE=0 jest --coverage",
"db:generate": "dotenv -e .env -- npx prisma generate",
"db:introspect": "dotenv -e .env -- npx prisma introspect",
"db:migrate": "dotenv -e .env -- npx prisma migrate dev",
"db:deploy": "dotenv -e .env -- npx prisma migrate deploy",
"db:sync": "npm run db:introspect && npm run db:migrate",
"docker": "npm run db:deploy && npm run db:generate && npm run dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chrisft25/ecommerce-api-demo.git"
},
"author": "Christopher Fuentes",
"license": "ISC",
"bugs": {
"url": "https://github.com/chrisft25/ecommerce-api-demo/issues"
},
"homepage": "https://github.com/chrisft25/ecommerce-api-demo#readme",
"devDependencies": {
"dotenv-cli": "^4.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.24.0",
"faker": "^5.5.3",
"prisma": "^2.29.1",
"serverless-dotenv-plugin": "^3.9.0",
"serverless-offline": "^8.0.0"
},
"dependencies": {
"@middy/core": "^2.5.1",
"@middy/http-json-body-parser": "^2.5.1",
"@prisma/client": "^2.29.1",
"chalk": "^4.1.2",
"crypto-js": "^4.1.1",
"geoip-lite": "^1.4.2",
"jest": "^27.0.6",
"joi": "^17.4.2",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"redis": "^3.1.2"
},
"standard": {
"globals": [
"describe",
"test",
"expect",
"beforeAll",
"afterAll",
"jest",
"beforeEach"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"jsx",
"node"
],
"transformIgnorePatterns": [],
"testEnvironment": "node"
}
}