@goodgamestudios/cxf-webshop 7.0.0-qa.8 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,130 +1,130 @@
|
|
|
1
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
2
|
+
"name": "@goodgamestudios/cxf-webshop",
|
|
3
|
+
"description": "WebShop CXF Module",
|
|
4
|
+
"version": "7.0.0",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git@gitlab.goodgamestudios.com:cxf/webshop-cxf.git"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"start:bddsite": "node esbuild.serve.js",
|
|
16
|
+
"start:webshop": "node esbuild.serve.webshop.js",
|
|
17
|
+
"build": "node esbuild.build.js",
|
|
18
|
+
"build:qa": "cross-env STAGE=qa npm run build",
|
|
19
|
+
"build:live": "cross-env STAGE=live npm run build",
|
|
20
|
+
"lint": "eslint './src/**/*.ts'",
|
|
21
|
+
"lint:fix": "npm run lint -- --fix",
|
|
22
|
+
"test:unit": "jest test/* --env=jsdom",
|
|
23
|
+
"test": "npm run test:unit && npm run test:e2e",
|
|
24
|
+
"commit": "git-cz",
|
|
25
|
+
"------------------BDD-----------------": "",
|
|
26
|
+
"test:e2e": "npm-run-all --parallel start:bddsite bdd:test-stop",
|
|
27
|
+
"bdd:test": "jest bdd/*",
|
|
28
|
+
"bdd:test-stop": "npm run bdd:test && pkill -f esbuild-serve",
|
|
29
|
+
"------------------DEPLOY--------------": "",
|
|
30
|
+
"release": "semantic-release",
|
|
31
|
+
"deploy:dev": "npm run build:qa && npm publish --tag qa --access public",
|
|
32
|
+
"deploy:qa": "npm run build:qa && npm run release",
|
|
33
|
+
"deploy:live": "npm run build:live && npm run release",
|
|
34
|
+
"prepare": ""
|
|
35
|
+
},
|
|
36
|
+
"main": "dist/webshop-cxf.js",
|
|
37
|
+
"author": "Igor Babkin <ibabkin@goodgamestudios.com>",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@goodgamestudios/cxf-events": "^1.24.0",
|
|
40
|
+
"@goodgamestudios/cxf-ready": "^1.0.7",
|
|
41
|
+
"@goodgamestudios/cxf-runtime": "^1.3.0",
|
|
42
|
+
"@goodgamestudios/game-alias": "^0.2.11",
|
|
43
|
+
"@lukeed/uuid": "^2.0.1",
|
|
44
|
+
"debug": "^4.4.3"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@commitlint/cli": "^19.8.0",
|
|
48
|
+
"@commitlint/config-conventional": "^19.8.0",
|
|
49
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
50
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
51
|
+
"@semantic-release/git": "^10.0.1",
|
|
52
|
+
"@semantic-release/npm": "^12.0.1",
|
|
53
|
+
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
54
|
+
"@types/debug": "^4.1.12",
|
|
55
|
+
"@types/jest": "^29.5.14",
|
|
56
|
+
"@types/node": "^22.13.14",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
58
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
59
|
+
"cross-env": "^7.0.3",
|
|
60
|
+
"cz-conventional-changelog": "3.3.0",
|
|
61
|
+
"esbuild": "^0.25.1",
|
|
62
|
+
"eslint": "^8.57.1",
|
|
63
|
+
"eslint-config-prettier": "^8.10.0",
|
|
64
|
+
"eslint-config-standard": "^17.1.0",
|
|
65
|
+
"eslint-plugin-import": "^2.31.0",
|
|
66
|
+
"eslint-plugin-n": "^15.7.0",
|
|
67
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
68
|
+
"eslint-plugin-promise": "^6.6.0",
|
|
69
|
+
"eslint-plugin-unicorn": "52.0.0",
|
|
70
|
+
"eventemitter3": "^4.0.7",
|
|
71
|
+
"jest": "^29.7.0",
|
|
72
|
+
"jest-environment-jsdom": "^28.1.3",
|
|
73
|
+
"lint-staged": "^15.5.0",
|
|
74
|
+
"npm-run-all": "^4.1.5",
|
|
75
|
+
"prettier": "^3.6.2",
|
|
76
|
+
"puppeteer": "^24.30.0",
|
|
77
|
+
"semantic-release": "^24.2.3",
|
|
78
|
+
"simple-git-hooks": "^2.13.1",
|
|
79
|
+
"ts-jest": "^29.3.0",
|
|
80
|
+
"ts-loader": "^9.5.2",
|
|
81
|
+
"typescript": "^4.9.5"
|
|
82
|
+
},
|
|
83
|
+
"commitlint": {
|
|
84
|
+
"extends": [
|
|
85
|
+
"@commitlint/config-conventional"
|
|
86
|
+
],
|
|
87
|
+
"rules": {
|
|
88
|
+
"body-max-line-length": [
|
|
89
|
+
1,
|
|
90
|
+
"always",
|
|
91
|
+
100
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"release": {
|
|
96
|
+
"branches": [
|
|
97
|
+
{
|
|
98
|
+
"name": "master"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "develop",
|
|
102
|
+
"channel": "qa",
|
|
103
|
+
"prerelease": "qa"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"plugins": [
|
|
107
|
+
"@semantic-release/commit-analyzer",
|
|
108
|
+
"@semantic-release/release-notes-generator",
|
|
109
|
+
"@semantic-release/changelog",
|
|
110
|
+
"@semantic-release/npm",
|
|
111
|
+
"@semantic-release/git"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"lint-staged": {
|
|
115
|
+
"*.ts": "npm run lint:fix"
|
|
116
|
+
},
|
|
117
|
+
"config": {
|
|
118
|
+
"commitizen": {
|
|
119
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"simple-git-hooks": {
|
|
123
|
+
"pre-commit": "npx lint-staged",
|
|
124
|
+
"commit-msg": "npx commitlint --edit $1"
|
|
125
|
+
},
|
|
126
|
+
"engines": {
|
|
127
|
+
"node": "22"
|
|
128
|
+
},
|
|
129
|
+
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
130
130
|
}
|
package/.eslintrc.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
parser: '@typescript-eslint/parser',
|
|
4
|
-
env: {
|
|
5
|
-
browser: true,
|
|
6
|
-
es6: true,
|
|
7
|
-
node: true,
|
|
8
|
-
es2022: false
|
|
9
|
-
},
|
|
10
|
-
ignorePatterns: ['dist/*', '.eslintrc.js', '.prettierrc.js', '*.config.js', 'esbuild*'],
|
|
11
|
-
plugins: ['@typescript-eslint', 'prettier'],
|
|
12
|
-
extends: [
|
|
13
|
-
'eslint:recommended',
|
|
14
|
-
'standard',
|
|
15
|
-
'plugin:prettier/recommended',
|
|
16
|
-
'plugin:unicorn/all',
|
|
17
|
-
'plugin:@typescript-eslint/recommended'
|
|
18
|
-
],
|
|
19
|
-
rules: {
|
|
20
|
-
'unicorn/filename-case': 'off',
|
|
21
|
-
'unicorn/prevent-abbreviations': 'off',
|
|
22
|
-
'unicorn/prefer-module': 'off',
|
|
23
|
-
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
24
|
-
}
|
|
25
|
-
}
|