-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
116 lines (116 loc) · 4.31 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
{
"name": "@commerce-apps/core",
"version": "1.7.0",
"description": "The Core package provides a variety of functions that make interacting with Salesforce Commerce APIs easy",
"homepage": "https://developer.salesforce.com/docs/commerce/commerce-api/overview",
"repository": {
"type": "git",
"url": "https://github.com/SalesforceCommerceCloud/commerce-sdk-core"
},
"license": "BSD-3-Clause",
"author": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE.txt"
],
"scripts": {
"build": "tsc",
"clean": "rm -rf package-lock.json && rm -rf dist",
"clean:all": "npm run clean && npm run clean:node",
"clean:node": "rm -rf node_modules",
"cover:all": "npm run cover:unit && npm run cover:integration && npm run cover:report",
"cover:ci": "npm run cover:unit:ci && npm run cover:integration:ci && npm run cover:report",
"cover:integration": "nyc --silent --no-clean npm run test:integration:redis",
"cover:integration:ci": "nyc --silent --no-clean npm run test:integration",
"cover:report": "nyc report --reporter=lcov --reporter=text",
"cover:unit": "nyc --silent npm run test:unit",
"cover:unit:ci": "nyc --silent npm run test:unit:ci",
"depcheck": "depcheck",
"lint": "sort-package-json && eslint . --ext .ts --fix",
"lint:ci": "npm run lint -- --quiet",
"prepare": "npm run snyk-protect",
"redis": "docker rm --force redis-commerce-sdk; docker run -dp 6379:6379 --name redis-commerce-sdk redis:5-alpine",
"redis:debug": "docker rm --force redis-commerce-sdk-debug; docker run -dp 6379:6379 --name redis-commerce-sdk-debug redis:5-alpine && docker exec -it redis-commerce-sdk-debug redis-cli monitor",
"redis:debug:shutdown": "docker rm --force redis-commerce-sdk-debug",
"redis:shutdown": "docker rm --force redis-commerce-sdk",
"snyk-protect": "snyk protect",
"pretest": "npm run lint && npm run depcheck",
"test": "npm run cover:all",
"pretest:ci": "npm run lint:ci && npm run depcheck",
"test:ci": "npm run pretest:ci && npm run cover:ci",
"test:integration": "mocha \"testIntegration/**/*.test.ts\"",
"test:integration:ci": "npm run test:integration -- --reporter=xunit --reporter-options output=./reports/integrationTests.xml",
"test:integration:redis": "npm run redis && npm run test:integration && npm run redis:shutdown",
"test:unit": "mocha \"test/**/*.test.ts\"",
"test:unit:ci": "npm run test:unit -- --reporter=xunit --reporter-options output=./reports/unitTests.xml"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"@keyv/redis": "^2.2.2",
"dotenv": "^8.6.0",
"fetch-to-curl": "^0.5.2",
"ioredis": "^4.28.3",
"jsonwebtoken": "^9.0.0",
"keyv": "^4.0.5",
"lodash": "^4.17.21",
"loglevel": "^1.8.0",
"make-fetch-happen": "^8.0.14",
"minipass-fetch": "^1.4.1",
"qs": "^6.10.4",
"quick-lru": "^5.1.1",
"retry": "^0.13.1",
"ssri": "^8.0.1",
"tslib": "^1.14.1"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.4",
"@types/ioredis": "^4.28.7",
"@types/jsonwebtoken": "^8.5.8",
"@types/lodash": "^4.14.178",
"@types/make-fetch-happen": "^8.0.2",
"@types/mocha": "^9.1.0",
"@types/node": "^12.20.42",
"@types/node-fetch": "^2.5.12",
"@types/proxyquire": "^1.3.28",
"@types/qs": "^6.9.7",
"@types/retry": "^0.12.1",
"@types/sinon": "^7.5.2",
"@types/ssri": "^7.1.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"chai": "^4.3.5",
"chai-as-promised": "^7.1.1",
"depcheck": "^0.9.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-prettier": "^3.4.1",
"lint-staged": "^10.5.4",
"mocha": "^9.2.0",
"nock": "^11.9.1",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"proxyquire": "^2.1.3",
"sinon": "^9.2.4",
"snyk": "^1.996.0",
"sort-package-json": "^1.53.1",
"source-map-support": "^0.5.21",
"ts-node": "^8.10.2",
"typescript": "^3.9.10"
},
"publishConfig": {
"access": "public"
},
"gitHead": "2a6031f5f57c4ba5df8bfb5c4ca42b2631befe58",
"snyk": true
}