forked from SalesforceCommerceCloud/commerce-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 3.03 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
{
"name": "commerce-sdk",
"version": "2.5.0",
"description": "Salesforce Commerce Cloud SDK",
"homepage": "https://developer.commercecloud.com/s/",
"repository": {
"type": "git",
"url": "https://github.com/SalesforceCommerceCloud/commerce-sdk"
},
"license": "BSD-3-Clause",
"author": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"images",
"README.md",
"LICENSE.txt"
],
"scripts": {
"backupApis": "rm -rf updateApisTmp && mkdir updateApisTmp && mv apis updateApisTmp/oldApis",
"build": "npm run clean && npm run renderTemplates && tsc && eslint dist --ext .ts,.js --quiet --fix",
"clean": "rm -rf renderedTemplates dist",
"depcheck": "depcheck",
"diffApis": "raml-toolkit diff --dir updateApisTmp/oldApis apis -f console -o updateApisTmp/ramlDiff.txt",
"doc": "npm run doc:generate && npm run doc:resources",
"doc:generate": "typedoc --mode modules --out ./docs renderedTemplates/** --tsconfig tsconfig.json --external-modulemap \".*/renderedTemplates/([\\w\\-_]+)/\"",
"doc:resources": "cp CHANGELOG.md ./docs",
"lint": "npm run lint:dev -- --quiet",
"lint:dev": "sort-package-json && eslint . --ext .ts --fix",
"prepack": "npm run build",
"prepare": "snyk protect",
"renderTemplates": "ts-node src/generate.ts",
"pretest": "npm run lint && npm run depcheck",
"test": "nyc mocha \"src/**/*.test.ts\"",
"test:ci": "npm test -- --reporter=xunit --reporter-options output=./reports/generator.xml",
"updateApis": "npm run backupApis && ts-node src/updateApis.ts && git checkout apis/search && npm run diffApis"
},
"mocha": {
"file": [
"testResources/setup.ts"
]
},
"dependencies": {
"@commerce-apps/core": "^1.5.3",
"lodash": "^4.17.21",
"retry": "^0.12.0",
"snyk": "^1.522.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@commerce-apps/raml-toolkit": "^0.5.10",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.21",
"@types/fs-extra": "^9.0.12",
"@types/handlebars-helpers": "^0.5.3",
"@types/lodash": "^4.14.171",
"@types/mocha": "^8.2.3",
"@types/retry": "^0.12.1",
"@types/sinon": "^9.0.11",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"chai": "^4.3.4",
"depcheck": "^0.9.2",
"eslint": "^7.31.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsdoc": "^25.4.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-tsdoc": "^0.2.14",
"fs-extra": "^9.1.0",
"handlebars-helpers": "^0.10.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"sinon": "^9.2.4",
"sort-package-json": "^1.50.0",
"ts-node": "^9.1.1",
"typedoc": "^0.17.8",
"typedoc-plugin-external-module-map": "^1.2.1",
"typedoc-plugin-nojekyll": "^1.0.1",
"typescript": "^3.9.10"
},
"publishConfig": {
"access": "public"
},
"gitHead": "2a6031f5f57c4ba5df8bfb5c4ca42b2631befe58",
"snyk": true
}