@gbraver-burst-network/browser-sdk 1.16.17 → 1.16.19
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/Readme.md +8 -1
- package/package.json +10 -18
package/Readme.md
CHANGED
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
# GブレイバーバーストブラウザSDK
|
|
2
2
|
|
|
3
3
|
## はじめに
|
|
4
|
+
|
|
4
5
|
本リポジトリは、GブレイバーバーストのブラウザSDKです。
|
|
5
6
|
|
|
6
7
|
## コマンド例のカレントディレクトリについて
|
|
7
|
-
|
|
8
|
+
|
|
9
|
+
特に断りがない限り、本書のコマンド例のカレントディレクトリは`<本リポジトリをcloneした場所>/packages/browser-sdk`であるとします。
|
|
8
10
|
|
|
9
11
|
## 前提条件
|
|
12
|
+
|
|
10
13
|
プロジェクトルートに記載されている[前提条件](../../Readme.md#pre-required)をクリアしてください。
|
|
11
14
|
|
|
12
15
|
## ビルド
|
|
16
|
+
|
|
13
17
|
```shell
|
|
14
18
|
npm run build
|
|
15
19
|
```
|
|
20
|
+
|
|
16
21
|
## 脆弱性チェック
|
|
22
|
+
|
|
17
23
|
```shell
|
|
18
24
|
npm audit --omit=dev
|
|
19
25
|
```
|
|
20
26
|
|
|
21
27
|
## package.jsonフォーマット
|
|
28
|
+
|
|
22
29
|
```shell
|
|
23
30
|
# 本コマンドの実行にはfixpackが必要
|
|
24
31
|
# https://www.npmjs.com/package/fixpack
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gbraver-burst-network/browser-sdk",
|
|
3
3
|
"description": "gbraver burst browser sdk",
|
|
4
|
-
"version": "1.16.
|
|
4
|
+
"version": "1.16.19",
|
|
5
5
|
"author": "Y.Takeuchi",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/kaidouji85/gbraver-burst-network/issues",
|
|
8
8
|
"email": "kaidouji85@gmail.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-amplify": "^6.13.
|
|
12
|
-
"gbraver-burst-core": "^1.
|
|
11
|
+
"aws-amplify": "^6.13.5",
|
|
12
|
+
"gbraver-burst-core": "^1.36.0",
|
|
13
13
|
"rxjs": "^7.8.2",
|
|
14
14
|
"zod": "^3.24.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/jest": "^29.5.14",
|
|
18
18
|
"dependency-cruiser": "^16.10.0",
|
|
19
|
-
"eslint": "^9.
|
|
19
|
+
"eslint": "^9.22.0",
|
|
20
20
|
"eslint-plugin-jest": "^28.11.0",
|
|
21
21
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
22
22
|
"jest": "^29.7.0",
|
|
23
23
|
"npm-run-all": "^4.1.5",
|
|
24
|
-
"prettier": "3.5.
|
|
24
|
+
"prettier": "3.5.3",
|
|
25
25
|
"rimraf": "^6.0.1",
|
|
26
26
|
"ts-jest": "^29.2.6",
|
|
27
|
-
"typescript-eslint": "^8.
|
|
27
|
+
"typescript-eslint": "^8.26.1",
|
|
28
28
|
"webpack": "^5.98.0",
|
|
29
29
|
"webpack-cli": "^6.0.1"
|
|
30
30
|
},
|
|
@@ -44,22 +44,14 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "run-s clean transpile",
|
|
46
46
|
"clean": "rimraf lib",
|
|
47
|
-
"code-format": "
|
|
48
|
-
"code-format-check": "
|
|
49
|
-
"code-format-check:src": "prettier --check src",
|
|
50
|
-
"code-format-check:test": "prettier --check test",
|
|
51
|
-
"code-format:src": "prettier --write src",
|
|
52
|
-
"code-format:test": "prettier --write test",
|
|
47
|
+
"code-format": "prettier . --write",
|
|
48
|
+
"code-format-check": "prettier . --check",
|
|
53
49
|
"coverage": "jest --coverage",
|
|
54
50
|
"dependency-check": "run-s dependency-check:*",
|
|
55
51
|
"dependency-check:src": "depcruise src",
|
|
56
52
|
"dependency-check:test": "depcruise test",
|
|
57
|
-
"lint": "
|
|
58
|
-
"lint-fix": "
|
|
59
|
-
"lint-fix:src": "eslint --fix --max-warnings 0 src",
|
|
60
|
-
"lint-fix:test": "eslint --fix --max-warnings 0 test",
|
|
61
|
-
"lint:src": "eslint --max-warnings 0 src",
|
|
62
|
-
"lint:test": "eslint --max-warnings 0 test",
|
|
53
|
+
"lint": "eslint .",
|
|
54
|
+
"lint-fix": "eslint --fix .",
|
|
63
55
|
"test": "jest",
|
|
64
56
|
"transpile": "tsc -d --outDir lib",
|
|
65
57
|
"type-check": "tsc --noEmit"
|