-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·94 lines (94 loc) · 2.82 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
{
"name": "int_adyen_SG",
"version": "22.2.3",
"description": "Adyen's official cartridge for SiteGenesis",
"main": "index.js",
"paths": {
"base": "../storefront-reference-architecture/cartridges/app_storefront_base/"
},
"scripts": {
"lint": "eslint --ext js src",
"lint:fix": "eslint --fix src",
"format": "prettier-eslint $PWD/src/**/*.js",
"upload": "sgmf-scripts --upload -- ",
"uploadCartridge": "sgmf-scripts --uploadCartridge int_adyen_overlay && sgmf-scripts --uploadCartridge int_adyen_controllers && sgmf-scripts --uploadCartridge adyen_controllers_changes && sgmf-scripts --uploadCartridge bm_adyen",
"watch": "sgmf-scripts --watch",
"transpile": "babel ./src/cartridges -d ./cartridges --copy-files",
"build": "npm run transpile && npm run uploadCartridge",
"test": "jest ./src",
"test:watch": "jest ./src --watch",
"test:coverage": "jest ./src --coverage",
"test:coverageHTML": "jest ./src --coverage --coverageDirectory='coverage'"
},
"engines": {
"node": ">=14.0"
},
"dependencies": {
"mobx": "^5.15.4",
"url": "^0.11.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.15.4",
"@babel/eslint-parser": "^7.15.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.10.3",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/preset-env": "^7.8.6",
"@types/jest": "^26.0.4",
"babel-loader": "^8.1.0",
"chai": "^3.5.0",
"css-loader": "^6.7.1",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.11.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-formatter-summary": "^1.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.3",
"istanbul": "^0.4.4",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.3.1",
"jquery": "^3.4.1",
"mocha": "^10.1.0",
"postcss-loader": "^3.0.0",
"prettier": "2.0.5",
"prettier-eslint-cli": "^5.0.0",
"proxyquire": "1.7.4",
"regenerator-runtime": "^0.13.5",
"resolve-url-loader": "^3.0.0",
"sgmf-scripts": "^2.4.2",
"sinon": "^1.17.4",
"style-loader": "^0.23.1",
"stylelint": "^13.5.0",
"stylelint-scss": "^3.17.2",
"webpack": "^5.74.0"
},
"resolutions": {
"minimist": "1.2.6",
"minimatch": "3.0.5",
"node-notifier": "8.0.1",
"glob-parent": "5.1.2",
"yargs-parser": "5.0.1",
"braces": "2.3.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --ext js --fix src",
"git add"
]
},
"jest": {
"setupFilesAfterEnv": [
"./jest/globals.js",
"./jest/sfccPathSetup.js",
"./jest/sfccCartridgeMocks"
]
}
}