-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
96 lines (96 loc) · 3.69 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "talon_one_commercetools",
"description": "",
"license": "MIT",
"version": "1.0.0",
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write \"**/*.{js,json,md,yaml,yml}\"",
"test": "TZ='UTC' sls invoke test",
"ci:check-format": "pipe-git-updated --base=main --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
"ci:lint": "pipe-git-updated --base=main --ext=js -- eslint --ignore-path .gitignore",
"create:function": "sls create function --path {function}",
"postcreate:function": "yarn lint:fix && yarn format",
"create:test": "sls create test",
"postcreate:test": "yarn lint:fix && yarn format",
"register-api-extension": "sls register-api-extension",
"register-api-types": "sls register-api-types",
"migrate-customer-profiles": "sls migrate-customer-profiles",
"api-extension:deploy": "sls deploy -f api-extension",
"api-extension:invoke": "sls invoke -f api-extension",
"api-extension:invoke:local": "sls invoke local -f api-extension",
"api-extension:invoke:local:create-cart": "yarn api-extension:invoke:local -p ./src/api-extension/mocks/commercetools/create-cart-event.json",
"api-extension:invoke:local:create-cart-with-items": "yarn api-extension:invoke:local -p ./src/api-extension/mocks/commercetools/create-cart-with-items-event.json",
"api-extension:invoke:local:update-cart": "yarn api-extension:invoke:local -p ./src/api-extension/mocks/commercetools/update-cart-event.json",
"api-extension:invoke:local:create-customer": "yarn api-extension:invoke:local -p ./src/api-extension/mocks/commercetools/create-customer-event.json",
"api-extension:invoke:local:update-customer": "yarn api-extension:invoke:local -p ./src/api-extension/mocks/commercetools/update-customer-event.json",
"api-extension:logs": "sls logs -t -f api-extension",
"docs": "jsdoc -a all -c jsdoc.json -r ./src/ -R README.md -d ./docs/jsdoc && jsdoc2md --files ./src/**/* > ./docs/API.md",
"logs": "yarn api-extension:logs",
"deploy": "sls deploy",
"print": "sls print"
},
"dependencies": {
"@commercetools/api-request-builder": "^5.6.3",
"@commercetools/sdk-client": "^2.1.2",
"@commercetools/sdk-middleware-auth": "^6.1.4",
"@commercetools/sdk-middleware-http": "^6.0.10",
"@commercetools/sdk-middleware-queue": "^2.1.4",
"@middy/core": "^2.0.1",
"ajv": "^7.1.1",
"decimal.js": "^10.3.1",
"node-fetch": "^2.6.1",
"slugify": "^1.4.7",
"talon_one": "^4.3.0"
},
"devDependencies": {
"@serverless/eslint-config": "^3.0.0",
"docdash": "^1.2.0",
"dotenv": "^10.0.0",
"eslint": "^7.21.0",
"eslint-plugin-import": "^2.22.1",
"git-list-updated": "^1.2.1",
"husky": "^5.1.2",
"inquirer": "^8.0.0",
"jest": "^26.6.3",
"jsdoc": "^3.6.6",
"jsdoc-to-markdown": "^7.0.0",
"lint-staged": "^10.5.4",
"minimist": "^1.2.5",
"prettier": "^2.2.1",
"serverless-commercetools-plugin": "^1.1.8",
"serverless-dotenv-plugin": "^3.8.1",
"serverless-google-cloudfunctions": "^4.2.0",
"serverless-jest-plugin": "^0.3.0",
"serverless-webpack": "^5.4.1",
"terser-webpack-plugin": "^5.1.1",
"webpack": "^5.26.3",
"yaml-boost": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,json,md,yaml,yml}": [
"prettier --write",
"git add"
]
},
"eslintConfig": {
"extends": "@serverless/eslint-config/node",
"parserOptions": {
"ecmaVersion": 2020
},
"root": true,
"rules": {
"no-console": "off",
"import/no-extraneous-dependencies": "off"
}
},
"engines": {
"node": ">=14.0.0"
}
}