@alfalab/bridge-to-native 1.6.0-beta.9fedfeb → 1.6.1
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 +123 -123
package/package.json
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/core-ds/bridge-to-native.git"
|
|
13
|
-
},
|
|
14
|
-
"exports": {
|
|
15
|
-
"./client": {
|
|
16
|
-
"import": "./client/index.js",
|
|
17
|
-
"require": "./client/index.js",
|
|
18
|
-
"types": "./client/index.d.ts"
|
|
2
|
+
"name": "@alfalab/bridge-to-native",
|
|
3
|
+
"version": "1.6.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Утилита для удобной работы веб приложения внутри нативного приложения и коммуникации с ним.",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20.19.2",
|
|
8
|
+
"npm": "please-use-yarn"
|
|
19
9
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"types": "./client/primitives.d.ts"
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/core-ds/bridge-to-native.git"
|
|
24
13
|
},
|
|
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
|
-
"shx": "0.3.4",
|
|
60
|
-
"typescript": "5.5.4"
|
|
61
|
-
},
|
|
62
|
-
"commitlint": {
|
|
63
|
-
"extends": "./node_modules/arui-presets-lint/commitlint"
|
|
64
|
-
},
|
|
65
|
-
"eslintConfig": {
|
|
66
|
-
"extends": "./node_modules/arui-presets-lint/eslint",
|
|
67
|
-
"settings": {
|
|
68
|
-
"react": {
|
|
69
|
-
"version": "18.0.0"
|
|
70
|
-
}
|
|
14
|
+
"exports": {
|
|
15
|
+
"./client": {
|
|
16
|
+
"import": "./client/index.js",
|
|
17
|
+
"require": "./client/index.js",
|
|
18
|
+
"types": "./client/index.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./client/primitives": {
|
|
21
|
+
"import": "./client/primitives.js",
|
|
22
|
+
"require": "./client/primitives.js",
|
|
23
|
+
"types": "./client/primitives.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./server": {
|
|
26
|
+
"import": "./server/index.js",
|
|
27
|
+
"require": "./server/index.js",
|
|
28
|
+
"types": "./server/index.d.ts"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": false,
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/core-ds/bridge-to-native/issues"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "yarn build:clean && yarn build:ts",
|
|
37
|
+
"build:clean": "shx rm -rf .publish",
|
|
38
|
+
"build:copy-package-json": "shx cp package.json .publish/package.json",
|
|
39
|
+
"build:ts": "tsc --build",
|
|
40
|
+
"format": "arui-presets-lint format",
|
|
41
|
+
"format:check": "arui-presets-lint format:check",
|
|
42
|
+
"lint": "yarn lint:scripts && yarn format:check",
|
|
43
|
+
"lint:fix": "yarn lint:scripts --fix && yarn format",
|
|
44
|
+
"lint:scripts": "arui-presets-lint scripts",
|
|
45
|
+
"pub": "npm publish .publish --userconfig \"../.npmrc\" --tag \"$TAG\"",
|
|
46
|
+
"release": "yarn build && yarn build:copy-package-json && yarn pub",
|
|
47
|
+
"test": "arui-scripts test --silent --collect-coverage"
|
|
71
48
|
},
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@happy-dom/jest-environment": "18.0.1",
|
|
51
|
+
"@types/jest": "29.5.14",
|
|
52
|
+
"@types/node": "20.19.1",
|
|
53
|
+
"arui-presets-lint": "8.7.0",
|
|
54
|
+
"arui-scripts": "19.0.7",
|
|
55
|
+
"copyfiles": "2.4.1",
|
|
56
|
+
"jest-junit": "10.0.0",
|
|
57
|
+
"lint-staged": "^12.5.0",
|
|
58
|
+
"promisify-child-process": "4.1.1",
|
|
59
|
+
"shx": "0.3.4",
|
|
60
|
+
"typescript": "5.5.4"
|
|
61
|
+
},
|
|
62
|
+
"commitlint": {
|
|
63
|
+
"extends": "./node_modules/arui-presets-lint/commitlint"
|
|
64
|
+
},
|
|
65
|
+
"eslintConfig": {
|
|
66
|
+
"extends": "./node_modules/arui-presets-lint/eslint",
|
|
67
|
+
"settings": {
|
|
68
|
+
"react": {
|
|
69
|
+
"version": "18.0.0"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"parserOptions": {
|
|
73
|
+
"project": [
|
|
74
|
+
"./__tests__/tsconfig.json",
|
|
75
|
+
"./src/client/tsconfig.json",
|
|
76
|
+
"./src/server/tsconfig.json"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"overrides": [
|
|
80
|
+
{
|
|
81
|
+
"files": [
|
|
82
|
+
"__tests__/**/*"
|
|
83
|
+
],
|
|
84
|
+
"rules": {
|
|
85
|
+
"max-lines": "off"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
78
89
|
},
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
90
|
+
"jest": {
|
|
91
|
+
"projects": [
|
|
92
|
+
{
|
|
93
|
+
"displayName": "client-tests",
|
|
94
|
+
"testEnvironment": "@happy-dom/jest-environment",
|
|
95
|
+
"testPathIgnorePatterns": [
|
|
96
|
+
"/__tests__/server/"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"displayName": "server-tests",
|
|
101
|
+
"testEnvironment": "node",
|
|
102
|
+
"testPathIgnorePatterns": [
|
|
103
|
+
"/__tests__/client/"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
83
106
|
],
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"testPathIgnorePatterns": [
|
|
96
|
-
"/__tests__/server/"
|
|
107
|
+
"testRegex": [
|
|
108
|
+
"__tests__/.*\\.test\\.ts"
|
|
109
|
+
],
|
|
110
|
+
"coveragePathIgnorePatterns": [
|
|
111
|
+
"/node_modules/",
|
|
112
|
+
"/src/(client|server)/index.ts",
|
|
113
|
+
"/src/client/primitives.ts"
|
|
114
|
+
],
|
|
115
|
+
"reporters": [
|
|
116
|
+
"default",
|
|
117
|
+
"jest-junit"
|
|
97
118
|
]
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
119
|
+
},
|
|
120
|
+
"prettier": "arui-presets-lint/prettier",
|
|
121
|
+
"stylelint": {
|
|
122
|
+
"extends": "arui-presets-lint/stylelint",
|
|
123
|
+
"ignoreFiles": [
|
|
124
|
+
"coverage/**/*.js",
|
|
125
|
+
".yarn/releases/*"
|
|
104
126
|
]
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"coveragePathIgnorePatterns": [
|
|
111
|
-
"/node_modules/",
|
|
112
|
-
"/src/(client|server)/index.ts",
|
|
113
|
-
"/src/client/primitives.ts"
|
|
114
|
-
],
|
|
115
|
-
"reporters": [
|
|
116
|
-
"default",
|
|
117
|
-
"jest-junit"
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
"prettier": "arui-presets-lint/prettier",
|
|
121
|
-
"stylelint": {
|
|
122
|
-
"extends": "arui-presets-lint/stylelint",
|
|
123
|
-
"ignoreFiles": [
|
|
124
|
-
"coverage/**/*.js",
|
|
125
|
-
".yarn/releases/*"
|
|
126
|
-
]
|
|
127
|
-
},
|
|
128
|
-
"publishConfig": {
|
|
129
|
-
"registry": "https://registry.npmjs.org"
|
|
130
|
-
},
|
|
131
|
-
"packageManager": "yarn@4.12.0"
|
|
127
|
+
},
|
|
128
|
+
"publishConfig": {
|
|
129
|
+
"registry": "https://registry.npmjs.org"
|
|
130
|
+
},
|
|
131
|
+
"packageManager": "yarn@4.12.0"
|
|
132
132
|
}
|