-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathpackage.json
91 lines (91 loc) · 3.1 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
{
"name": "commerce-sdk",
"version": "4.0.0",
"description": "Salesforce Commerce Cloud SDK",
"homepage": "https://developer.salesforce.com/developer-centers/commerce-cloud",
"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",
"snyk:auth": "snyk auth",
"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.7.0",
"nanoid": "^3.3.4",
"retry": "^0.13.1",
"tslib": "^2.4.1"
},
"devDependencies": {
"@commerce-apps/raml-toolkit": "^0.5.12",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^4.3.0",
"@types/fs-extra": "^9.0.13",
"@types/handlebars-helpers": "^0.5.3",
"@types/mocha": "^8.2.3",
"@types/node-fetch": "^2.5.12",
"@types/retry": "^0.12.1",
"@types/sinon": "^9.0.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"chai": "^4.3.5",
"depcheck": "^0.9.2",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsdoc": "^41.1.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsdoc": "^0.2.17",
"fs-extra": "^9.1.0",
"handlebars-helpers": "^0.10.0",
"mocha": "^8.4.0",
"nock": "^13.2.2",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"sinon": "^9.2.4",
"snyk": "^1.836.0",
"sort-package-json": "^1.53.1",
"ts-node": "^10.9.2",
"typedoc": "^0.17.8",
"typedoc-plugin-external-module-map": "1.2.1",
"typedoc-plugin-nojekyll": "^1.0.1",
"typescript": "^4.4.4"
},
"publishConfig": {
"access": "public"
},
"gitHead": "2a6031f5f57c4ba5df8bfb5c4ca42b2631befe58",
"snyk": true
}