@iconis/icons 0.1.0 → 0.1.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/LICENSE +21 -0
- package/README.md +63 -0
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +115 -3
- package/dist/index.d.ts +115 -3
- package/dist/index.js +2 -2
- package/package.json +14 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Pedro Marques
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# iconis
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@iconis/icons)
|
|
4
|
+
[](https://www.npmjs.com/package/@iconis/icons)
|
|
5
|
+
[](https://www.npmjs.com/package/@iconis/icons)
|
|
6
|
+
|
|
7
|
+
Iconis é uma biblioteca de ícones em **SVG inline** para uso em projetos web.
|
|
8
|
+
- Sem webfont - Evita “texto virando ícone” do nada por atraso de carregamento ou peso do bundle
|
|
9
|
+
- Ícones com `fill="currentColor"` - Possibilita controlar cor via CSS/Tailwind;
|
|
10
|
+
- Exports tipados e documentados usando TSDocs - Disponibilizando tooltip amigavel que ajuda na hora de implementar no código;
|
|
11
|
+
|
|
12
|
+
## Instalação
|
|
13
|
+
No terminal do projeto:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install @iconis/icons
|
|
17
|
+
```
|
|
18
|
+
## Uso
|
|
19
|
+
### Exemplo de uso em Angular 17+ (com inject)
|
|
20
|
+
Em versões mais novas do angular temos o inject moderno disponivel, sem necessidade de usar o construtor.
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
import { Component, inject } from '@angular/core';
|
|
24
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
25
|
+
import { cakeIconRegular } from '@iconis/icons';
|
|
26
|
+
|
|
27
|
+
@Component({
|
|
28
|
+
selector: 'app-exemplo',
|
|
29
|
+
standalone: true,
|
|
30
|
+
template: `<span class="w-6 h-6 text-slate-600" [innerHTML]="icone"></span>`,
|
|
31
|
+
})
|
|
32
|
+
export class ExemploComponent {
|
|
33
|
+
private readonly sanitizer = inject(DomSanitizer);
|
|
34
|
+
|
|
35
|
+
protected readonly icone: SafeHtml =
|
|
36
|
+
this.sanitizer.bypassSecurityTrustHtml(cakeIconRegular);
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Exemplo de uso em versões anteriores do Angular (com constructor)
|
|
41
|
+
Em versões mais antigas do Angular precisamos injetar através do construtor, do modo tradicional.
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
import { Component } from '@angular/core';
|
|
45
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
46
|
+
import { cakeIconRegular } from '@iconis/icons';
|
|
47
|
+
|
|
48
|
+
@Component({
|
|
49
|
+
selector: 'app-exemplo',
|
|
50
|
+
template: `<span class="w-6 h-6 text-slate-600" [innerHTML]="icone"></span>`,
|
|
51
|
+
})
|
|
52
|
+
export class ExemploComponent {
|
|
53
|
+
public readonly icone: SafeHtml;
|
|
54
|
+
|
|
55
|
+
constructor(private readonly sanitizer: DomSanitizer) {
|
|
56
|
+
this.icone = this.sanitizer.bypassSecurityTrustHtml(cakeIconRegular);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
> **Nota:** Por ser SVG inline (string), de modo geral basta importar o icone, atrelar a uma variavel (para ser usado no template html) e Sanitizar para aplicar no `innerHTML`
|
|
61
|
+
|
|
62
|
+
## Licença
|
|
63
|
+
MIT © [Iconis](https://github.com/Pdro-marqss/iconis-lib)
|
package/dist/index.cjs
CHANGED
|
@@ -20,7 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
-
|
|
23
|
+
cakeIconRegular: () => cakeIconRegular,
|
|
24
24
|
handCoinsIconRegular: () => handCoinsIconRegular,
|
|
25
25
|
refundIconRegular: () => refundIconRegular,
|
|
26
26
|
refundIconThin: () => refundIconThin
|
|
@@ -28,7 +28,7 @@ __export(index_exports, {
|
|
|
28
28
|
module.exports = __toCommonJS(index_exports);
|
|
29
29
|
|
|
30
30
|
// src/icones/cake.ts
|
|
31
|
-
var
|
|
31
|
+
var cakeIconRegular = `
|
|
32
32
|
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
33
33
|
<path d="M232,112a24,24,0,0,0-24-24H136V79a32.06,32.06,0,0,0,24-31c0-28-26.44-45.91-27.56-46.66a8,8,0,0,0-8.88,0C122.44,2.09,96,20,96,48a32.06,32.06,0,0,0,24,31v9H48a24,24,0,0,0-24,24v23.33a40.84,40.84,0,0,0,8,24.24V200a24,24,0,0,0,24,24H200a24,24,0,0,0,24-24V159.57a40.84,40.84,0,0,0,8-24.24ZM112,48c0-13.57,10-24.46,16-29.79,6,5.33,16,16.22,16,29.79a16,16,0,0,1-32,0ZM40,112a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8v23.33c0,13.25-10.46,24.31-23.32,24.66A24,24,0,0,1,168,136a8,8,0,0,0-16,0,24,24,0,0,1-48,0,8,8,0,0,0-16,0,24,24,0,0,1-24.68,24C50.46,159.64,40,148.58,40,135.33Zm160,96H56a8,8,0,0,1-8-8V172.56A38.77,38.77,0,0,0,62.88,176a39.69,39.69,0,0,0,29-11.31A40.36,40.36,0,0,0,96,160a40,40,0,0,0,64,0,40.36,40.36,0,0,0,4.13,4.67A39.67,39.67,0,0,0,192,176c.38,0,.76,0,1.14,0A38.77,38.77,0,0,0,208,172.56V200A8,8,0,0,1,200,208Z"/>
|
|
34
34
|
</svg>
|
|
@@ -54,7 +54,7 @@ var refundIconRegular = `
|
|
|
54
54
|
`;
|
|
55
55
|
// Annotate the CommonJS export names for ESM import in node:
|
|
56
56
|
0 && (module.exports = {
|
|
57
|
-
|
|
57
|
+
cakeIconRegular,
|
|
58
58
|
handCoinsIconRegular,
|
|
59
59
|
refundIconRegular,
|
|
60
60
|
refundIconThin
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,120 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @description
|
|
3
|
+
* Bolo de Aniversário | Regular | SVG.
|
|
4
|
+
*
|
|
5
|
+
* <br/>
|
|
6
|
+
*
|
|
7
|
+
* `No Angular TS:`
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { cakeIconRegular } from '@iconis/icons';
|
|
10
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
11
|
+
*
|
|
12
|
+
* export class ExemploComponent {
|
|
13
|
+
* public readonly iconeCake: SafeHtml;
|
|
14
|
+
*
|
|
15
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
16
|
+
* this.iconeCake = this.sanitizer.bypassSecurityTrustHtml(cakeIconRegular);
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* <br/>
|
|
22
|
+
*
|
|
23
|
+
* `No HTML:`
|
|
24
|
+
*
|
|
25
|
+
* ```html
|
|
26
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeCake"></span>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
declare const cakeIconRegular: string;
|
|
2
30
|
|
|
3
|
-
|
|
31
|
+
/**
|
|
32
|
+
* @description
|
|
33
|
+
* Mão com moedas caindo | Regular | SVG.
|
|
34
|
+
*
|
|
35
|
+
* <br/>
|
|
36
|
+
*
|
|
37
|
+
* `No Angular TS:`
|
|
38
|
+
* ```ts
|
|
39
|
+
* import { handCoinsIconRegular } from '@iconis/icons';
|
|
40
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
41
|
+
*
|
|
42
|
+
* export class ExemploComponent {
|
|
43
|
+
* public readonly iconeHandCoins: SafeHtml;
|
|
44
|
+
*
|
|
45
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
46
|
+
* this.iconeHandCoins = this.sanitizer.bypassSecurityTrustHtml(handCoinsIconRegular);
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* <br/>
|
|
52
|
+
*
|
|
53
|
+
* `No HTML:`
|
|
54
|
+
*
|
|
55
|
+
* ```html
|
|
56
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeHandCoins"></span>
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
declare const handCoinsIconRegular: string;
|
|
4
60
|
|
|
61
|
+
/**
|
|
62
|
+
* @description
|
|
63
|
+
* Simbolo dinheiro circulando | Thin | SVG.
|
|
64
|
+
*
|
|
65
|
+
* <br/>
|
|
66
|
+
*
|
|
67
|
+
* `No Angular TS:`
|
|
68
|
+
* ```ts
|
|
69
|
+
* import { refundIconThin } from '@iconis/icons';
|
|
70
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
71
|
+
*
|
|
72
|
+
* export class ExemploComponent {
|
|
73
|
+
* public readonly iconeReembolso: SafeHtml;
|
|
74
|
+
*
|
|
75
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
76
|
+
* this.iconeReembolso = this.sanitizer.bypassSecurityTrustHtml(refundIconThin);
|
|
77
|
+
* }
|
|
78
|
+
* }
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* <br/>
|
|
82
|
+
*
|
|
83
|
+
* `No HTML:`
|
|
84
|
+
*
|
|
85
|
+
* ```html
|
|
86
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeReembolso"></span>
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
5
89
|
declare const refundIconThin: string;
|
|
90
|
+
/**
|
|
91
|
+
* @description
|
|
92
|
+
* Simbolo dinheiro circulando | Regular | SVG.
|
|
93
|
+
*
|
|
94
|
+
* <br/>
|
|
95
|
+
*
|
|
96
|
+
* `No Angular TS:`
|
|
97
|
+
* ```ts
|
|
98
|
+
* import { refundIconRegular } from '@iconis/icons';
|
|
99
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
100
|
+
*
|
|
101
|
+
* export class ExemploComponent {
|
|
102
|
+
* public readonly iconeReembolso: SafeHtml;
|
|
103
|
+
*
|
|
104
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
105
|
+
* this.iconeReembolso = this.sanitizer.bypassSecurityTrustHtml(refundIconRegular);
|
|
106
|
+
* }
|
|
107
|
+
* }
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* <br/>
|
|
111
|
+
*
|
|
112
|
+
* `No HTML:`
|
|
113
|
+
*
|
|
114
|
+
* ```html
|
|
115
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeReembolso"></span>
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
6
118
|
declare const refundIconRegular: string;
|
|
7
119
|
|
|
8
|
-
export {
|
|
120
|
+
export { cakeIconRegular, handCoinsIconRegular, refundIconRegular, refundIconThin };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,120 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @description
|
|
3
|
+
* Bolo de Aniversário | Regular | SVG.
|
|
4
|
+
*
|
|
5
|
+
* <br/>
|
|
6
|
+
*
|
|
7
|
+
* `No Angular TS:`
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { cakeIconRegular } from '@iconis/icons';
|
|
10
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
11
|
+
*
|
|
12
|
+
* export class ExemploComponent {
|
|
13
|
+
* public readonly iconeCake: SafeHtml;
|
|
14
|
+
*
|
|
15
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
16
|
+
* this.iconeCake = this.sanitizer.bypassSecurityTrustHtml(cakeIconRegular);
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* <br/>
|
|
22
|
+
*
|
|
23
|
+
* `No HTML:`
|
|
24
|
+
*
|
|
25
|
+
* ```html
|
|
26
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeCake"></span>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
declare const cakeIconRegular: string;
|
|
2
30
|
|
|
3
|
-
|
|
31
|
+
/**
|
|
32
|
+
* @description
|
|
33
|
+
* Mão com moedas caindo | Regular | SVG.
|
|
34
|
+
*
|
|
35
|
+
* <br/>
|
|
36
|
+
*
|
|
37
|
+
* `No Angular TS:`
|
|
38
|
+
* ```ts
|
|
39
|
+
* import { handCoinsIconRegular } from '@iconis/icons';
|
|
40
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
41
|
+
*
|
|
42
|
+
* export class ExemploComponent {
|
|
43
|
+
* public readonly iconeHandCoins: SafeHtml;
|
|
44
|
+
*
|
|
45
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
46
|
+
* this.iconeHandCoins = this.sanitizer.bypassSecurityTrustHtml(handCoinsIconRegular);
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* <br/>
|
|
52
|
+
*
|
|
53
|
+
* `No HTML:`
|
|
54
|
+
*
|
|
55
|
+
* ```html
|
|
56
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeHandCoins"></span>
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
declare const handCoinsIconRegular: string;
|
|
4
60
|
|
|
61
|
+
/**
|
|
62
|
+
* @description
|
|
63
|
+
* Simbolo dinheiro circulando | Thin | SVG.
|
|
64
|
+
*
|
|
65
|
+
* <br/>
|
|
66
|
+
*
|
|
67
|
+
* `No Angular TS:`
|
|
68
|
+
* ```ts
|
|
69
|
+
* import { refundIconThin } from '@iconis/icons';
|
|
70
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
71
|
+
*
|
|
72
|
+
* export class ExemploComponent {
|
|
73
|
+
* public readonly iconeReembolso: SafeHtml;
|
|
74
|
+
*
|
|
75
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
76
|
+
* this.iconeReembolso = this.sanitizer.bypassSecurityTrustHtml(refundIconThin);
|
|
77
|
+
* }
|
|
78
|
+
* }
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* <br/>
|
|
82
|
+
*
|
|
83
|
+
* `No HTML:`
|
|
84
|
+
*
|
|
85
|
+
* ```html
|
|
86
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeReembolso"></span>
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
5
89
|
declare const refundIconThin: string;
|
|
90
|
+
/**
|
|
91
|
+
* @description
|
|
92
|
+
* Simbolo dinheiro circulando | Regular | SVG.
|
|
93
|
+
*
|
|
94
|
+
* <br/>
|
|
95
|
+
*
|
|
96
|
+
* `No Angular TS:`
|
|
97
|
+
* ```ts
|
|
98
|
+
* import { refundIconRegular } from '@iconis/icons';
|
|
99
|
+
* import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
100
|
+
*
|
|
101
|
+
* export class ExemploComponent {
|
|
102
|
+
* public readonly iconeReembolso: SafeHtml;
|
|
103
|
+
*
|
|
104
|
+
* constructor(private readonly sanitizer: DomSanitizer) {
|
|
105
|
+
* this.iconeReembolso = this.sanitizer.bypassSecurityTrustHtml(refundIconRegular);
|
|
106
|
+
* }
|
|
107
|
+
* }
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* <br/>
|
|
111
|
+
*
|
|
112
|
+
* `No HTML:`
|
|
113
|
+
*
|
|
114
|
+
* ```html
|
|
115
|
+
* <span class="w-6 h-6 text-slate-600" [innerHTML]="iconeReembolso"></span>
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
6
118
|
declare const refundIconRegular: string;
|
|
7
119
|
|
|
8
|
-
export {
|
|
120
|
+
export { cakeIconRegular, handCoinsIconRegular, refundIconRegular, refundIconThin };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/icones/cake.ts
|
|
2
|
-
var
|
|
2
|
+
var cakeIconRegular = `
|
|
3
3
|
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4
4
|
<path d="M232,112a24,24,0,0,0-24-24H136V79a32.06,32.06,0,0,0,24-31c0-28-26.44-45.91-27.56-46.66a8,8,0,0,0-8.88,0C122.44,2.09,96,20,96,48a32.06,32.06,0,0,0,24,31v9H48a24,24,0,0,0-24,24v23.33a40.84,40.84,0,0,0,8,24.24V200a24,24,0,0,0,24,24H200a24,24,0,0,0,24-24V159.57a40.84,40.84,0,0,0,8-24.24ZM112,48c0-13.57,10-24.46,16-29.79,6,5.33,16,16.22,16,29.79a16,16,0,0,1-32,0ZM40,112a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8v23.33c0,13.25-10.46,24.31-23.32,24.66A24,24,0,0,1,168,136a8,8,0,0,0-16,0,24,24,0,0,1-48,0,8,8,0,0,0-16,0,24,24,0,0,1-24.68,24C50.46,159.64,40,148.58,40,135.33Zm160,96H56a8,8,0,0,1-8-8V172.56A38.77,38.77,0,0,0,62.88,176a39.69,39.69,0,0,0,29-11.31A40.36,40.36,0,0,0,96,160a40,40,0,0,0,64,0,40.36,40.36,0,0,0,4.13,4.67A39.67,39.67,0,0,0,192,176c.38,0,.76,0,1.14,0A38.77,38.77,0,0,0,208,172.56V200A8,8,0,0,1,200,208Z"/>
|
|
5
5
|
</svg>
|
|
@@ -24,7 +24,7 @@ var refundIconRegular = `
|
|
|
24
24
|
</svg>
|
|
25
25
|
`;
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
cakeIconRegular,
|
|
28
28
|
handCoinsIconRegular,
|
|
29
29
|
refundIconRegular,
|
|
30
30
|
refundIconThin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iconis/icons",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Ícones SVG inline (strings) para projetos web",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
"main": "./dist/index.cjs",
|
|
9
9
|
"module": "./dist/index.js",
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/Pdro-marqss/iconis-lib.git"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/Pdro-marqss/iconis-lib.git#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/Pdro-marqss/iconis-lib/issues"
|
|
18
|
+
},
|
|
11
19
|
"exports": {
|
|
12
20
|
".": {
|
|
13
21
|
"types": "./dist/index.d.ts",
|
|
@@ -15,7 +23,11 @@
|
|
|
15
23
|
"require": "./dist/index.cjs"
|
|
16
24
|
}
|
|
17
25
|
},
|
|
18
|
-
"files": [
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
19
31
|
"scripts": {
|
|
20
32
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
|
21
33
|
"prepublishOnly": "npm run build"
|
|
@@ -25,4 +37,3 @@
|
|
|
25
37
|
"typescript": "^5.9.3"
|
|
26
38
|
}
|
|
27
39
|
}
|
|
28
|
-
|