-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
78 lines (78 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
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "abu",
"version": "0.1.0",
"description": "Serverless Headless CMS",
"main": "index.js",
"repository": "git@github.com:kdcio/abu.git",
"author": "Ian Dela Cruz <iandc76@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"prepare": "husky install",
"setup": "./scripts/setup-stage.sh",
"setup:local": "./scripts/setup-local.sh",
"start": "concurrently -r npm:start:*",
"start:cms": "yarn workspace cms start",
"start:api": "sls offline start -c single-api.yml",
"start:db": "yarn workspace infra start",
"cypress": "yarn workspace cms cypress",
"build:api": "./scripts/build-api.sh",
"build:single-api": "sls package -c single-api.yml",
"test:api": "./scripts/test-api.sh",
"coverage:api": "./scripts/coverage-api.sh",
"deploy": "./scripts/deploy.sh",
"deploy:cms": "./scripts/deploy-cms.sh",
"deploy:api": "./scripts/deploy-api.sh",
"deploy:api:all": "sls deploy -c single-api.yml -s",
"deploy:api:func": "sls deploy function -c single-api.yml ",
"destroy": "./scripts/destroy.sh",
"destroy:upload": "yarn workspace upload delete",
"destroy:api": "sls remove -c single-api.yml -s",
"changeset": "changeset"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@changesets/cli": "^2.16.0",
"@types/jest": "^26.0.23",
"@types/sortablejs": "^1.10.6",
"babel-jest": "26.6.0",
"concurrently": "^6.0.1",
"dotenv": "^10.0.0",
"eslint": "^7.23.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"faker": "^5.5.2",
"helper": "*",
"husky": "^5.2.0",
"jest": "26.6.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"serverless": "^2.48.0",
"serverless-bundle": "^4.3.1",
"serverless-offline": "^7.0.0",
"serverless-s3-local": "^0.6.18",
"ts-jest": "^26.5.4",
"yaml": "^1.10.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/cms/src/**/*.js": [
"yarn workspace cms lint",
"pretty-quick --staged"
]
},
"workspaces": [
"packages/*",
"infra"
]
}