This repository was archived by the owner on Apr 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.19 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 2.19 KB
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
{
"name": "your-shop-here",
"version": "1.0.0",
"description": "An experimental reference storefront",
"repository": {
"type": "git",
"url": "git+https://github.com/SalesforceCommerceCloud/sfcc-hooks-collection.git"
},
"keywords": [
"ocapi",
"rest",
"headless",
"ecommerce"
],
"author": "Holger Nestmann",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/SalesforceCommerceCloud/sfcc-hooks-collection/issues"
},
"homepage": "https://github.com/SalesforceCommerceCloud/sfcc-hooks-collection#readme",
"dependencies": {
"chai": "^4.2.0",
"chai-subset": "^1.5.0",
"cross-zip-cli": "^1.0.0",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.0.0",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"replace-in-files": "^3.0.0",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"sfcc-ci": "^2.11.0",
"shelljs": "^0.8.4",
"shx": "^0.3.3"
},
"devDependencies": {
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.1"
},
"scripts": {
"auth": "sfcc-ci auth:login -D",
"auth:unattended": "sfcc-ci client:auth",
"data:main-zip": "cd commerce-cloud-data/ && cross-zip -r -q your-shop-here-data.zip your-shop-here-data && shx mv your-shop-here-data.zip ../your-shop-here-data.zip",
"data:main-upload": "sfcc-ci instance:upload your-shop-here-data.zip",
"data:main-import": "sfcc-ci instance:import your-shop-here-data.zip -s",
"data:testdata-rebuilddata": "sfcc-ci job:run AfterDeploy",
"code:zip": "shx mkdir -p version1 && shx cp -R commerce-cloud-code/* version1 && cross-zip -r -q version1.zip version1 && shx rm -r version1",
"code:upload": "sfcc-ci code:deploy ./version1.zip ",
"code:activate": "sfcc-ci code:activate version1",
"develop:switchcode": "sfcc-ci code:activate version2 && sfcc-ci code:activate version1",
"test:integration": "mocha test/integration/scapi/07*.js",
"cleanup": "shx rm -f site_template.zip && shx rm -f test-site.zip && shx rm -f version1.zip",
"lint:js": "eslint .",
"config:generate:environment": "node build/generateDWJson.js",
"all": "npm-run-all auth data:* code:* cleanup"
}
}