forked from afterpay/afterpay-salesforce-commerce-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 4.12 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
{
"name": "Afterpay",
"version": "23.0.1",
"description": "Afterpay cartridge",
"main": "index.js",
"engines": {
"node": ">=4.0 <12.0.0"
},
"scripts": {
"test": "sgmf-scripts --test test/unit/**/*.js",
"cover": "sgmf-scripts --cover 'test/unit'",
"test:integration": "sgmf-scripts --integration 'test/integration/**/*.js'",
"test:acceptance:custom": "npx codeceptjs run --plugins retryFailedStep --profile",
"test:acceptance:deep": "npx codeceptjs run --plugins retryFailedStep --grep '(?=.*)^(?!.*@mobile)^(?!.*@tablet)^(?!.*@pageDesigner)' --profile",
"test:acceptance:smoke": "npx codeceptjs run --plugins retryFailedStep --grep @happyPath --profile",
"test:acceptance:pagedesigner": "npx codeceptjs run --plugins retryFailedStep --grep @pageDesigner --profile",
"test:acceptance:desktop": "npx codeceptjs run --plugins retryFailedStep --grep '(?=.*)^(?!.*@mobile)^(?!.*@tablet)^(?!.*@pageDesigner)^(?!.*@deepTest)' --profile",
"test:acceptance:mobile": "npx codeceptjs run --plugins retryFailedStep --profile sauce:phone --grep @mobile",
"test:acceptance:tablet": "npx codeceptjs run --plugins retryFailedStep --profile sauce:tablet --grep @tablet",
"test:acceptance:parallel": "npx codeceptjs run-multiple parallel --plugins retryFailedStep --profile",
"test:acceptance:multibrowsers": "npx codeceptjs run-multiple multibrowsers --plugins retryFailedStep --profile",
"test:acceptance:report": "./node_modules/.bin/allure serve test/acceptance/report",
"bdd:snippets": "./node_modules/.bin/codeceptjs bdd:snippets --path",
"compile:scss": "sgmf-scripts --compile css",
"compile:js": "sgmf-scripts --compile js",
"compile:fonts": "node bin/Makefile compileFonts",
"build": "npm run compile:js && npm run compile:fonts && npm run compile:scss",
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "sgmf-scripts --lint css",
"lint:js": "sgmf-scripts --lint js",
"init:isml": "./node_modules/.bin/isml-linter --init",
"lint:isml": "./node_modules/.bin/isml-linter",
"build:isml": "./node_modules/.bin/isml-linter --build",
"fix:isml": "./node_modules/.bin/isml-linter --autofix",
"upload": "sgmf-scripts --upload",
"uploadCartridge": "sgmf-scripts --uploadCartridge app_storefront_base && sgmf-scripts --uploadCartridge modules && sgmf-scripts --uploadCartridge bm_app_storefront_base",
"watch": "sgmf-scripts --watch",
"watch:static": "sgmf-scripts --watch static",
"release": "node bin/Makefile release --"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SalesforceCommerceCloud/storefront-reference-architecture.git"
},
"devDependencies": {
"@babel/core": "^7.6.3",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.6.3",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.6",
"babel-preset-env": "^1.7.0",
"chai": "^3.5.0",
"chai-subset": "^1.6.0",
"css-loader": "^0.28.11",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^5.0.3",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-sitegenesis": "~1.0.0",
"husky": "^4.2.5",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"node-sass": "^4.12.0",
"postcss-loader": "^2.1.6",
"proxyquire": "1.7.4",
"request-promise": "^4.2.4",
"sass-loader": "^7.3.1",
"sgmf-scripts": "^2.3.0",
"sinon": "^1.17.7",
"stylelint": "^8.4.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-scss": "^2.5.0",
"url": "^0.11.0",
"wdio-sauce-service": "^0.4.14",
"webdriverio": "^5.14.5",
"xml2js": "^0.4.22"
},
"dependencies": {
"bootstrap": "4.3.1",
"cleave.js": "^1.5.3",
"flag-icon-css": "^2.9.0",
"font-awesome": "^4.7.0",
"jquery": "^3.4.1",
"parse-price": "^1.1.8"
},
"browserslist": [
"last 2 versions",
"ie >= 10"
],
"packageName": "int_afterpay_sfra",
"paths": {
"base": "../storefront-reference-architecture/cartridges/app_storefront_base/"
},
"babel": {
"presets": [
"env"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test"
}
}
}