@zinaid/str 0.0.1 → 0.0.2

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.
Files changed (1) hide show
  1. package/package.json +69 -11
package/package.json CHANGED
@@ -1,25 +1,52 @@
1
1
  {
2
2
  "name": "@zinaid/str",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Utilities for working with strings similar to Laravel's Str & Stringable classes.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
7
7
  "keywords": [],
8
8
  "author": "",
9
9
  "license": "MIT",
10
+ "sideEffects": false,
10
11
  "dependencies": {
11
- "@types/markdown-it": "^14.1.2",
12
- "@types/pluralize": "^0.0.33",
13
- "any-ascii": "^0.3.3",
12
+ "@zinaid/num": "^0.0.2",
13
+ "@zinaid/utils": "^0.0.2"
14
+ },
15
+ "peerDependencies": {
14
16
  "markdown-it": "^14.1.0",
15
17
  "markdown-it-anchor": "^9.2.0",
16
18
  "markdown-it-task-lists": "^2.1.1",
17
19
  "pluralize": "^8.0.0",
20
+ "any-ascii": "^0.3.3",
18
21
  "transliteration": "^2.3.5",
19
22
  "ulid": "^2.4.0",
20
- "uuid": "^11.1.0",
21
- "@zinaid/utils": "^0.0.1",
22
- "@zinaid/num": "^0.0.1"
23
+ "uuid": "^11.1.0"
24
+ },
25
+ "peerDependenciesMeta": {
26
+ "markdown-it": {
27
+ "optional": true
28
+ },
29
+ "markdown-it-anchor": {
30
+ "optional": true
31
+ },
32
+ "markdown-it-task-lists": {
33
+ "optional": true
34
+ },
35
+ "pluralize": {
36
+ "optional": true
37
+ },
38
+ "any-ascii": {
39
+ "optional": true
40
+ },
41
+ "transliteration": {
42
+ "optional": true
43
+ },
44
+ "ulid": {
45
+ "optional": true
46
+ },
47
+ "uuid": {
48
+ "optional": true
49
+ }
23
50
  },
24
51
  "files": [
25
52
  "dist"
@@ -34,10 +61,41 @@
34
61
  "require": "./dist/index.js",
35
62
  "types": "./dist/index.d.ts"
36
63
  },
37
- "./*": {
38
- "import": "./dist/*.js",
39
- "require": "./dist/*.js",
40
- "types": "./dist/*.d.ts"
64
+ "./base64": {
65
+ "import": "./dist/base64.js",
66
+ "types": "./dist/base64.d.ts"
67
+ },
68
+ "./convertcase": {
69
+ "import": "./dist/convertcase.js",
70
+ "types": "./dist/convertcase.d.ts"
71
+ },
72
+ "./markdown": {
73
+ "import": "./dist/markdown.js",
74
+ "types": "./dist/markdown.d.ts"
75
+ },
76
+ "./pluralizer": {
77
+ "import": "./dist/pluralizer.js",
78
+ "types": "./dist/pluralizer.d.ts"
79
+ },
80
+ "./random": {
81
+ "import": "./dist/random.js",
82
+ "types": "./dist/random.d.ts"
83
+ },
84
+ "./replacer": {
85
+ "import": "./dist/replacer.js",
86
+ "types": "./dist/replacer.d.ts"
87
+ },
88
+ "./str": {
89
+ "import": "./dist/str.js",
90
+ "types": "./dist/str.d.ts"
91
+ },
92
+ "./stringable": {
93
+ "import": "./dist/stringable.js",
94
+ "types": "./dist/stringable.d.ts"
95
+ },
96
+ "./trimmer": {
97
+ "import": "./dist/trimmer.js",
98
+ "types": "./dist/trimmer.d.ts"
41
99
  }
42
100
  }
43
101
  }