-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 4.63 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": "bolt-demandware-embedded",
"version": "23.5.1",
"description": "Bolt Cartridge for Embedded Account/Checkout",
"engines": {
"node": "^10.22.0",
"npm": "^6.14.6"
},
"scripts": {
"test": "sgmf-scripts --test",
"test:unit": "nyc --reporter=text --check-coverage --lines 30 mocha --require test/unit/sinon-chai.js test/unit/**/*.js",
"compile:js": "sgmf-scripts --compile js entryPackageName int_bolt_embedded_sfra",
"compile:scss": "sgmf-scripts --compile css entryPackageName int_bolt_embedded_sfra",
"compilePPC": "sgmf-scripts --compile js entryPackageName int_bolt_sfra_ppc",
"build": "npm run compile",
"compile": "npm run compile:js && npm run compile:scss",
"eslint": "npm run eslint:base -- .",
"eslint:base": "eslint --format unix --ext .jsx,.js --cache --cache-location node_modules/eslintcache/cache --quiet",
"eslint:fix": "npm run eslint:base -- --fix",
"eslint:merchant": "npm run eslint -- --fix --config ./src/cartridges/int_bolt_extensions/cartridge/scripts/merchant-custom/f21/.lint.json",
"lint": "npm run lint:css && npm run eslint",
"lint:css": "sgmf-scripts --lint css",
"upload:embedded_sfra": "sgmf-scripts --uploadCartridge int_bolt_embedded_sfra",
"upload:sfra_ppc": "sgmf-scripts --uploadCartridge int_bolt_sfra_ppc",
"upload:embedded_sfra_custom": "sgmf-scripts --uploadCartridge int_bolt_embedded_sfra_custom",
"upload:all": "npm run upload:embedded_sfra && npm run upload:embedded_sfra_custom && npm run upload:sfra_ppc",
"zipMetadata": "if [ -f metadata/bolt-meta-import-embedded.zip ] ; then rm -r metadata/bolt-meta-import-embedded.zip && cd metadata && zip -r bolt-meta-import-embedded.zip bolt-meta-import-embedded ; else cd metadata && zip -r bolt-meta-import-embedded.zip bolt-meta-import-embedded ; fi",
"uploadMetadata": "npm run zipMetadata && sfcc-ci instance:upload metadata/bolt-meta-import-embedded.zip && sfcc-ci instance:import bolt-meta-import-embedded.zip -s -j",
"configMetadata": "METADATA_PATH=metadata\\/bolt-meta-import-embedded\\/meta\\/system-objecttype-extensions.xml;sed -i.bak \"s/MERCHANT_NAME/$npm_config_mx/g\" $METADATA_PATH; rm $METADATA_PATH.bak;"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BoltApp/bolt-demandware-embedded.git"
},
"homepage": "https://github.com/BoltApp/bolt-demandware-embedded",
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/eslint-plugin": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@tridnguyen/config": "^2.3.1",
"@types/mocha": "^8.0.3",
"autoprefixer": "^9.0.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.3",
"chai": "^4.3.4",
"chai-subset": "^1.5.0",
"cheerio": "0.22.0",
"cldr-data": "^36.0.0",
"css-loader": "^5.2.6",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-idiomatic": "^4.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sitegenesis": "^1.0.0",
"globalize": "^1.7.0",
"husky": "^8.0.1",
"lint-staged": "^12.4.1",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"mocha": "^9.1.3",
"mocha-junit-reporter": "^2.0.2",
"moment-timezone": "^0.5.34",
"node-sass": "^4.14.1",
"nyc": "^15.1.0",
"postcss-loader": "^3.0.0",
"prettier": "^2.5.1",
"properties-parser": "^0.3.0",
"proxyquire": "^2.1.3",
"request-promise": "^4.2.6",
"sass-loader": "^7.3.1",
"sfcc-dts": "1.0.11",
"sgmf-scripts": "^2.4.1",
"shelljs": "^0.8.5",
"should": "^13.2.3",
"sinon": "^9.2.4",
"sinon-chai": "^3.7.0",
"style-loader": "^1.2.1",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-config-standard": "^22.0.0",
"stylelint-csstree-validator": "^2.0.0",
"stylelint-scss": "^3.21.0",
"typescript": "^4.6.4",
"url": "^0.11.0",
"mini-css-extract-plugin": "^1.6.2",
"clean-webpack-plugin": "4.0.0"
},
"dependencies": {
"app-root-path": "^3.0.0",
"bootstrap": "^4.6.1",
"jquery": "^3.6.0"
},
"packageName": "int_bolt_embedded_sfra",
"paths": {
"base": "../storefront-reference-architecture/cartridges/app_storefront_base/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.scss": "npx stylelint --no-color",
"*.{js,jsx,ts,tsx}": [
"npm run eslint:fix",
"git add *.*s*"
]
},
"volta": {
"node": "10.22.0",
"npm": "6.14.6"
}
}