lotin-kirill 0.1.2 → 0.1.3
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/{pkg/dist-node → dist-node}/index.js +0 -0
- package/{pkg/dist-node → dist-node}/index.js.map +0 -0
- package/{pkg/dist-src → dist-src}/characters.js +0 -0
- package/{pkg/dist-src → dist-src}/cyrillic.js +0 -0
- package/{pkg/dist-src → dist-src}/exceptionalsCollection.js +0 -0
- package/{pkg/dist-src → dist-src}/index.js +0 -0
- package/{pkg/dist-src → dist-src}/latin.js +0 -0
- package/{pkg/dist-src → dist-src}/utils.js +0 -0
- package/{pkg/dist-types → dist-types}/characters.d.ts +0 -0
- package/{pkg/dist-types → dist-types}/cyrillic.d.ts +0 -0
- package/{pkg/dist-types → dist-types}/exceptionalsCollection.d.ts +0 -0
- package/{pkg/dist-types → dist-types}/index.d.ts +0 -0
- package/{pkg/dist-types → dist-types}/latin.d.ts +0 -0
- package/{pkg/dist-types → dist-types}/utils.d.ts +0 -0
- package/{pkg/dist-umd → dist-umd}/index.min.js +0 -0
- package/package.json +19 -52
- package/README_UZ.md +0 -158
- package/pkg/README.md +0 -158
- package/pkg/package.json +0 -54
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lotin-kirill",
|
|
3
|
-
"version": "0.1.2",
|
|
4
3
|
"description": "Transform Uzbek latin characters into Uzbek-cyrillic characters or vice versa. O'zbekcha so'zlarni lotin alifbosidan kirill alifbosiga (yoki aksincha) o'girish.",
|
|
5
|
-
"
|
|
4
|
+
"version": "0.1.3",
|
|
6
5
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist-*/",
|
|
8
|
+
"bin/"
|
|
9
|
+
],
|
|
10
|
+
"pika": true,
|
|
11
|
+
"sideEffects": false,
|
|
12
12
|
"keywords": [
|
|
13
13
|
"lotin",
|
|
14
14
|
"kirill",
|
|
@@ -17,19 +17,13 @@
|
|
|
17
17
|
"transliteratsiya",
|
|
18
18
|
"o'zbekcha"
|
|
19
19
|
],
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"lint": "eslint . --ext .ts",
|
|
28
|
-
"test": "jest --coverage",
|
|
29
|
-
"preversion": "yarn typecheck && yarn lint",
|
|
30
|
-
"version": "yarn build",
|
|
31
|
-
"postversion": "git push && git push --tags",
|
|
32
|
-
"prepublishOnly": "yarn typecheck && yarn lint && yarn build"
|
|
20
|
+
"homepage": "https://github.com/diyorbek/lotin-kirill",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/diyorbek/lotin-kirill.git"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"anchorme": "^2.1.2"
|
|
33
27
|
},
|
|
34
28
|
"devDependencies": {
|
|
35
29
|
"@pika/pack": "^0.5.0",
|
|
@@ -52,36 +46,9 @@
|
|
|
52
46
|
"ts-jest": "^26.5.3",
|
|
53
47
|
"typescript": "^4.2.3"
|
|
54
48
|
},
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
[
|
|
61
|
-
"@pika/plugin-standard-pkg",
|
|
62
|
-
{
|
|
63
|
-
"exclude": [
|
|
64
|
-
"__tests__/**/*"
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
[
|
|
69
|
-
"@pika/plugin-build-node"
|
|
70
|
-
],
|
|
71
|
-
[
|
|
72
|
-
"@pika/plugin-build-types"
|
|
73
|
-
],
|
|
74
|
-
[
|
|
75
|
-
"pika-plugin-build-legacy-browser",
|
|
76
|
-
{
|
|
77
|
-
"name": "lotinKirill",
|
|
78
|
-
"sourcemap": false,
|
|
79
|
-
"entrypoint": [
|
|
80
|
-
"unpkg",
|
|
81
|
-
"jsdelivr"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
]
|
|
86
|
-
}
|
|
49
|
+
"esnext": "dist-src/index.js",
|
|
50
|
+
"main": "dist-node/index.js",
|
|
51
|
+
"types": "dist-types/index.d.ts",
|
|
52
|
+
"unpkg": "dist-umd/index.min.js",
|
|
53
|
+
"jsdelivr": "dist-umd/index.min.js"
|
|
87
54
|
}
|
package/README_UZ.md
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
# Lotin-Kirill
|
|
2
|
-
|
|
3
|
-
[](https://github.com/diyorbek/lotin-kirill/actions)
|
|
4
|
-
[](https://codecov.io/gh/diyorbek/lotin-kirill)
|
|
5
|
-
[](https://npmjs.com/lotin-kirill)
|
|
6
|
-
[](https://npmjs.com/lotin-kirill)
|
|
7
|
-
[](https://bundlephobia.com/result?p=lotin-kirill)
|
|
8
|
-
[](https://npmjs.com/lotin-kirill)
|
|
9
|
-
|
|
10
|
-
O‘zbek tilidagi so‘zlarni yuqori aniqlikda transliteratsiya qiluvchi kutubxona. So‘zlarni lotin alifbosidan kirillga va aksincha o‘girish.
|
|
11
|
-
|
|
12
|
-
### [Read in English](https://github.com/diyorbek/lotin-kirill/blob/master/README.md)
|
|
13
|
-
|
|
14
|
-
## O‘rnatish
|
|
15
|
-
|
|
16
|
-
NPM
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
npm install lotin-kirill --save
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Yarn
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
yarn add lotin-kirill
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
UNPKG
|
|
29
|
-
|
|
30
|
-
```html
|
|
31
|
-
<script src="https://unpkg.com/lotin-kirill/dist-umd/index.min.js"></script>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Foydalanish
|
|
35
|
-
|
|
36
|
-
Initsializatsiya:
|
|
37
|
-
|
|
38
|
-
```js
|
|
39
|
-
import Transliterator from 'lotin-kirill';
|
|
40
|
-
|
|
41
|
-
const transliterator = new Transliterator();
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
UNPKG orqali ulaganda:
|
|
45
|
-
|
|
46
|
-
```html
|
|
47
|
-
<script src="https://unpkg.com/lotin-kirill/dist-umd/index.min.js"></script>
|
|
48
|
-
<script>
|
|
49
|
-
const Transliterator = lotinKirill.default;
|
|
50
|
-
const transliterator = new Transliterator();
|
|
51
|
-
</script>
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### So‘zma-so‘z o‘girish:
|
|
55
|
-
|
|
56
|
-
`toLatin(word: string): string`
|
|
57
|
-
|
|
58
|
-
`toCyrillic(word: string): string`
|
|
59
|
-
|
|
60
|
-
Naʼmuna
|
|
61
|
-
|
|
62
|
-
```js
|
|
63
|
-
const latinWord = transliterator.toLatin('мотивация');
|
|
64
|
-
console.log(latinWord); // -> 'motivatsiya'
|
|
65
|
-
|
|
66
|
-
const cyrillicWord = transliterator.toCyrillic("e'lon");
|
|
67
|
-
console.log(cyrillicWord); // -> 'эълон'
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Tekstni (bir necha so‘zdan iborat) o‘girish:
|
|
71
|
-
|
|
72
|
-
`textToLatin(text: string): string`
|
|
73
|
-
|
|
74
|
-
`textToCyrillic(text: string): string`
|
|
75
|
-
|
|
76
|
-
Naʼmuna
|
|
77
|
-
|
|
78
|
-
```js
|
|
79
|
-
const latinText = transliterator.textToLatin('Жуда узун кириллча текст.');
|
|
80
|
-
console.log(latinText); // -> 'Juda uzun kirillcha tekst.'
|
|
81
|
-
|
|
82
|
-
const cyrillicText = transliterator.textToCyrillic('Juda uzun lotincha tekst.');
|
|
83
|
-
console.log(cyrillicText); // -> 'Жуда узун лотинча текст.'
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Istisno so‘zlar
|
|
87
|
-
|
|
88
|
-
Transliterator obyektini istisno so‘zlar ro‘yhati bilan initsializatsiya qilishingiz mumkin:
|
|
89
|
-
|
|
90
|
-
```js
|
|
91
|
-
import Transliterator from 'lotin-kirill';
|
|
92
|
-
|
|
93
|
-
const transliterator = new Transliterator([
|
|
94
|
-
// [lotincha, kirillcha]
|
|
95
|
-
['oktabr', 'октябрь'],
|
|
96
|
-
['Google', 'Google'],
|
|
97
|
-
]);
|
|
98
|
-
|
|
99
|
-
const cyrillicWord = transliterator.toCyrillic('oktabr');
|
|
100
|
-
console.log(cyrillicWord); // -> 'октябрь' ('октабр' emas)
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Bir istisno juftligi kirill va lotin transliteratsiyasi uchun yetarli.
|
|
104
|
-
|
|
105
|
-
```js
|
|
106
|
-
// Bu ham ishlaydi
|
|
107
|
-
const latinWord = transliterator.toLatin('октябрь');
|
|
108
|
-
console.log(latinWord); // -> 'oktabr' (not 'oktyabr')
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
Agar istisno jusfligi bir xil so‘zlardan iborat bo‘lsa, o‘sha so‘z o‘girilmaydi.
|
|
112
|
-
|
|
113
|
-
```js
|
|
114
|
-
const cyrillicWord = transliterator.toCyrillic('Google');
|
|
115
|
-
console.log(cyrillicWord); // -> 'Google'
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
Istisnoli so‘zlar qo‘shimcha qo‘shilgan holatida ham to‘g‘ri o‘giriladi.
|
|
119
|
-
|
|
120
|
-
**Faqat old qo'shimchalar bundan mustasno!** So‘zning old qo‘shimcha qo‘shilgan varianti alohida istisno sifatida qo‘shilishi kerak.
|
|
121
|
-
|
|
122
|
-
```js
|
|
123
|
-
// Bu ham ishlaydi
|
|
124
|
-
const latinWord = transliterator.toLatin('октябрда');
|
|
125
|
-
console.log(latinWord); // -> 'oktabrda' ('oktyabrda' emas)
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
Istisno ro‘yhatini initsializatsiyadan keyin ham kengaytirish mumkin.
|
|
129
|
-
|
|
130
|
-
```js
|
|
131
|
-
transliterator.extendExceptionals([['nol', 'ноль']]);
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Yoki ro‘yhatni butunlay tozalash mumkin.
|
|
135
|
-
|
|
136
|
-
```js
|
|
137
|
-
transliterator.purgeExceptionals();
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Asl transliteratsiya funksiyalari
|
|
141
|
-
|
|
142
|
-
Kutubxonada so‘zlarni transliteratsiyaning faqat fundamental qoidalari asosoida ishlovchi asl transliteratsiya funksiyalari mavjud. Bu funksiyalar berilgan so‘zni istisno ro‘yhati bilan solishtirmaydi.
|
|
143
|
-
|
|
144
|
-
`cyrillicToLatin(word: string): string`
|
|
145
|
-
|
|
146
|
-
`latinToCyrillic(word: string): string`
|
|
147
|
-
|
|
148
|
-
```js
|
|
149
|
-
import Transliterator, { cyrillicToLatin, latinToCyrillic } from 'lotin-kirill';
|
|
150
|
-
|
|
151
|
-
const transliterator = new Transliterator([['oktabr', 'октябрь']]);
|
|
152
|
-
|
|
153
|
-
console.log(transliterator.toLatin('октябрь')); // -> 'oktabr'
|
|
154
|
-
console.log(cyrillicToLatin('октябрь')); // -> 'oktyabr'
|
|
155
|
-
|
|
156
|
-
console.log(transliterator.toCyrillic('oktabr')); // -> 'октябрь'
|
|
157
|
-
console.log(latinToCyrillic('oktabr')); // -> 'октабр'
|
|
158
|
-
```
|
package/pkg/README.md
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
# Lotin-Kirill
|
|
2
|
-
|
|
3
|
-
[](https://github.com/diyorbek/lotin-kirill/actions)
|
|
4
|
-
[](https://codecov.io/gh/diyorbek/lotin-kirill)
|
|
5
|
-
[](https://npmjs.com/lotin-kirill)
|
|
6
|
-
[](https://npmjs.com/lotin-kirill)
|
|
7
|
-
[](https://bundlephobia.com/result?p=lotin-kirill)
|
|
8
|
-
[](https://npmjs.com/lotin-kirill)
|
|
9
|
-
|
|
10
|
-
Transliterator for Uzbek words with high accuracy (from latin alphabet to cyrillic and vice versa). Used at [transliterator.uz](https://transliterator.uz/)
|
|
11
|
-
|
|
12
|
-
### [O‘zbek tilida o‘qish](https://github.com/diyorbek/lotin-kirill/blob/master/README_UZ.md)
|
|
13
|
-
|
|
14
|
-
## Installation
|
|
15
|
-
|
|
16
|
-
NPM
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
npm install lotin-kirill --save
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Yarn
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
yarn add lotin-kirill
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
UNPKG
|
|
29
|
-
|
|
30
|
-
```html
|
|
31
|
-
<script src="https://unpkg.com/lotin-kirill/dist-umd/index.min.js"></script>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Usage
|
|
35
|
-
|
|
36
|
-
Initialize the engine:
|
|
37
|
-
|
|
38
|
-
```js
|
|
39
|
-
import Transliterator from 'lotin-kirill';
|
|
40
|
-
|
|
41
|
-
const transliterator = new Transliterator();
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
When using UNPKG distribution:
|
|
45
|
-
|
|
46
|
-
```html
|
|
47
|
-
<script src="https://unpkg.com/lotin-kirill/dist-umd/index.min.js"></script>
|
|
48
|
-
<script>
|
|
49
|
-
const Transliterator = lotinKirill.default;
|
|
50
|
-
const transliterator = new Transliterator();
|
|
51
|
-
</script>
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Single word transliteration:
|
|
55
|
-
|
|
56
|
-
`toLatin(word: string): string`
|
|
57
|
-
|
|
58
|
-
`toCyrillic(word: string): string`
|
|
59
|
-
|
|
60
|
-
Example
|
|
61
|
-
|
|
62
|
-
```js
|
|
63
|
-
const latinWord = transliterator.toLatin('мотивация');
|
|
64
|
-
console.log(latinWord); // -> 'motivatsiya'
|
|
65
|
-
|
|
66
|
-
const cyrillicWord = transliterator.toCyrillic("e'lon");
|
|
67
|
-
console.log(cyrillicWord); // -> 'эълон'
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Text (multiple words) transliteration:
|
|
71
|
-
|
|
72
|
-
`textToLatin(text: string): string`
|
|
73
|
-
|
|
74
|
-
`textToCyrillic(text: string): string`
|
|
75
|
-
|
|
76
|
-
Example
|
|
77
|
-
|
|
78
|
-
```js
|
|
79
|
-
const latinText = transliterator.textToLatin('Жуда узун кириллча текст.');
|
|
80
|
-
console.log(latinText); // -> 'Juda uzun kirillcha tekst.'
|
|
81
|
-
|
|
82
|
-
const cyrillicText = transliterator.textToCyrillic('Juda uzun lotincha tekst.');
|
|
83
|
-
console.log(cyrillicText); // -> 'Жуда узун лотинча текст.'
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Exceptional words
|
|
87
|
-
|
|
88
|
-
You can initialize the transliterator object with an exceptional words list:
|
|
89
|
-
|
|
90
|
-
```js
|
|
91
|
-
import Transliterator from 'lotin-kirill';
|
|
92
|
-
|
|
93
|
-
const transliterator = new Transliterator([
|
|
94
|
-
// [latinWord, cyrillicWord]
|
|
95
|
-
['oktabr', 'октябрь'],
|
|
96
|
-
['Google', 'Google'],
|
|
97
|
-
]);
|
|
98
|
-
|
|
99
|
-
const cyrillicWord = transliterator.toCyrillic('oktabr');
|
|
100
|
-
console.log(cyrillicWord); // -> 'октябрь' (not 'октабр')
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
One exceptional pair is enough for both cyrilllic and latin transliterations.
|
|
104
|
-
|
|
105
|
-
```js
|
|
106
|
-
// This also works
|
|
107
|
-
const latinWord = transliterator.toLatin('октябрь');
|
|
108
|
-
console.log(latinWord); // -> 'oktabr' (not 'oktyabr')
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
If exceptional pair is a pair of same words, the word is not transliterated.
|
|
112
|
-
|
|
113
|
-
```js
|
|
114
|
-
const cyrillicWord = transliterator.toCyrillic('Google');
|
|
115
|
-
console.log(cyrillicWord); // -> 'Google'
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
Exceptional words with sufixes are also detected.
|
|
119
|
-
|
|
120
|
-
**Variants of a word with prefixes should be added as separate exceptionals!**
|
|
121
|
-
|
|
122
|
-
```js
|
|
123
|
-
// This also works
|
|
124
|
-
const latinWord = transliterator.toLatin('октябрда');
|
|
125
|
-
console.log(latinWord); // -> 'oktabrda' (not 'oktyabrda')
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
You can extend the exceptionals list after the initialization of the transliterator.
|
|
129
|
-
|
|
130
|
-
```js
|
|
131
|
-
transliterator.extendExceptionals([['nol', 'ноль']]);
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Or purge all of the exceptionals added to transliterator.
|
|
135
|
-
|
|
136
|
-
```js
|
|
137
|
-
transliterator.purgeExceptionals();
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Pure transliterator functions
|
|
141
|
-
|
|
142
|
-
There are pure transliterator functions which operate only on basic transliteration rules. These functions don't look up words in exceptionals list.
|
|
143
|
-
|
|
144
|
-
`cyrillicToLatin(word: string): string`
|
|
145
|
-
|
|
146
|
-
`latinToCyrillic(word: string): string`
|
|
147
|
-
|
|
148
|
-
```js
|
|
149
|
-
import Transliterator, { cyrillicToLatin, latinToCyrillic } from 'lotin-kirill';
|
|
150
|
-
|
|
151
|
-
const transliterator = new Transliterator([['oktabr', 'октябрь']]);
|
|
152
|
-
|
|
153
|
-
console.log(transliterator.toLatin('октябрь')); // -> 'oktabr'
|
|
154
|
-
console.log(cyrillicToLatin('октябрь')); // -> 'oktyabr'
|
|
155
|
-
|
|
156
|
-
console.log(transliterator.toCyrillic('oktabr')); // -> 'октябрь'
|
|
157
|
-
console.log(latinToCyrillic('oktabr')); // -> 'октабр'
|
|
158
|
-
```
|
package/pkg/package.json
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "lotin-kirill",
|
|
3
|
-
"description": "Transform Uzbek latin characters into Uzbek-cyrillic characters or vice versa. O'zbekcha so'zlarni lotin alifbosidan kirill alifbosiga (yoki aksincha) o'girish.",
|
|
4
|
-
"version": "0.1.2",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist-*/",
|
|
8
|
-
"bin/"
|
|
9
|
-
],
|
|
10
|
-
"pika": true,
|
|
11
|
-
"sideEffects": false,
|
|
12
|
-
"keywords": [
|
|
13
|
-
"lotin",
|
|
14
|
-
"kirill",
|
|
15
|
-
"lotin-kirill",
|
|
16
|
-
"alifbo",
|
|
17
|
-
"transliteratsiya",
|
|
18
|
-
"o'zbekcha"
|
|
19
|
-
],
|
|
20
|
-
"homepage": "https://github.com/diyorbek/lotin-kirill",
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "https://github.com/diyorbek/lotin-kirill.git"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"anchorme": "^2.1.2"
|
|
27
|
-
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@pika/pack": "^0.5.0",
|
|
30
|
-
"@pika/plugin-build-node": "^0.9.2",
|
|
31
|
-
"@pika/plugin-build-types": "^0.9.2",
|
|
32
|
-
"@pika/plugin-standard-pkg": "^0.9.2",
|
|
33
|
-
"@types/jest": "^26.0.20",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^3.0.2",
|
|
35
|
-
"@typescript-eslint/parser": "^3.0.2",
|
|
36
|
-
"eslint": "^7.1.0",
|
|
37
|
-
"eslint-config-prettier": "^6.11.0",
|
|
38
|
-
"eslint-plugin-jest": "^23.17.1",
|
|
39
|
-
"eslint-plugin-prettier": "^3.1.3",
|
|
40
|
-
"husky": "^6.0.0",
|
|
41
|
-
"jest": "^26.6.3",
|
|
42
|
-
"np": "^7.5.0",
|
|
43
|
-
"pika-plugin-build-legacy-browser": "^0.0.3",
|
|
44
|
-
"prettier": "^2.2.1",
|
|
45
|
-
"prettier-plugin-organize-imports": "^2.1.0",
|
|
46
|
-
"ts-jest": "^26.5.3",
|
|
47
|
-
"typescript": "^4.2.3"
|
|
48
|
-
},
|
|
49
|
-
"esnext": "dist-src/index.js",
|
|
50
|
-
"main": "dist-node/index.js",
|
|
51
|
-
"types": "dist-types/index.d.ts",
|
|
52
|
-
"unpkg": "dist-umd/index.min.js",
|
|
53
|
-
"jsdelivr": "dist-umd/index.min.js"
|
|
54
|
-
}
|