-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
118 lines (118 loc) · 3.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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "commercetools-extension",
"version": "25.1.0",
"description": "Payment Services Commercetools Extension",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"license": "MIT",
"keywords": [],
"scripts": {
"clean": "rimraf --glob build:*",
"format": "npx prettier --write .",
"tsc": "tsc",
"start": "npm run build && run-func ./build/main/testConnection.js testApiConnection && node build/main/index.js",
"deploy": "npm run build && serverless deploy",
"build": "npm-run-all clean && run-p build:* && copyfiles -u 1 src/**/*.html src/**/*.css src/**/*.js src/**/*.png build/main",
"setup-resources": "npm run build && run-func ./build/main/setup.js setupExtensionResources",
"create-subscription": "npm run build && run-func ./build/main/setup.js createWebhookSubscription",
"test-connection": "npm run build && run-func ./build/main/testConnection.js testApiConnection",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",
"test:unit": "nyc --silent ava",
"cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:lcov": "nyc report --reporter=lcov",
"zip-function": "npm run build && run-func ./build/main/zipFile.js setupZipFile"
},
"engines": {
"node": ">=10"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"ava": {
"failFast": true,
"timeout": "1000s",
"typescript": {
"rewritePaths": {
"src/": "build/main/"
},
"compile": false
},
"files": [
"!build/module/**"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true,
"printWidth": 275
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": [
"**/*.spec.js"
]
},
"dependencies": {
"@commercetools/api-request-builder": "^6.0.0",
"@commercetools/sdk-auth": "^4.0.1",
"@commercetools/sdk-client": "^3.0.0",
"@commercetools/sdk-middleware-auth": "^7.0.1",
"axios": "^1.6.5",
"chunk": "^0.0.3",
"copyfiles": "^2.4.1",
"cors": "^2.8.5",
"cybersource-rest-client": "^0.0.61",
"dir-archiver": "^2.1.0",
"dompurify": "^3.0.0",
"dotenv": "^16.4.0",
"flatted": "^3.2.9",
"jsdom": "^24.0.0",
"jsonwebtoken": "^9.0.2",
"jwk-to-pem": "^2.0.5",
"jwt-decode": "^4.0.0",
"moment": "^2.30.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^5.0.8",
"run-func": "^3.0.0",
"serverless": "^3.38.0",
"serverless-http": "^3.2.0",
"serverless-ignore": "^0.2.1"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@google-cloud/functions-framework": "^3.4.2",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/dompurify": "^3.0.5",
"@types/jsdom": "^21.1.6",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"ava": "^6.1.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^3.0.2",
"eslint-plugin-import": "^2.22.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"open-cli": "^7.2.0",
"parse5": "^7.1.2",
"prettier": "^3.3.0",
"typescript": "^4.0.2"
}
}