lucide-astro 0.256.0 → 0.256.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/README.md +41 -0
- package/package.json +7 -5
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2023 Dzeio
|
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,41 @@
|
|
1
|
+
# lucide-astro
|
2
|
+
|
3
|
+
Astro library to get the Lucide.dev icons to the Astro Framework
|
4
|
+
|
5
|
+
_We follow the Lucide versions for our release, with the exception of the patches_
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
```
|
10
|
+
npm i lucide-astro
|
11
|
+
```
|
12
|
+
|
13
|
+
```
|
14
|
+
yarn add lucide-astro
|
15
|
+
```
|
16
|
+
|
17
|
+
## Usage
|
18
|
+
|
19
|
+
You can import each icons individually like below
|
20
|
+
|
21
|
+
```astro
|
22
|
+
---
|
23
|
+
import { WifiOff } from 'lucide-astro'
|
24
|
+
---
|
25
|
+
|
26
|
+
<Layout>
|
27
|
+
<WifiOff />
|
28
|
+
</Layout>
|
29
|
+
```
|
30
|
+
|
31
|
+
## Compile
|
32
|
+
|
33
|
+
1. run `npm i` to install the dependencies
|
34
|
+
2. run `npm run build` to launch the build
|
35
|
+
3. done! you can publish it or use it as you like
|
36
|
+
|
37
|
+
## Attributions
|
38
|
+
|
39
|
+
Use the awesome icons from [Lucide](https://lucide.dev/)
|
40
|
+
|
41
|
+
based on [astro-feather](https://github.com/gabrlyg/astro-feather)
|
package/package.json
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "lucide-astro",
|
3
|
-
"version": "0.256.
|
4
|
-
"description": "",
|
3
|
+
"version": "0.256.1",
|
4
|
+
"description": "Get your Lucide icons right into your Astro project",
|
5
5
|
"main": "dist/index.js",
|
6
|
+
"homepage": "https://github.com/dzeiocom/lucide-astro",
|
7
|
+
"repository": "https://github.com/dzeiocom/lucide-astro.git",
|
6
8
|
"scripts": {
|
7
9
|
"prepublish": "node src/build.js",
|
8
10
|
"build": "node src/build.js"
|
@@ -17,10 +19,10 @@
|
|
17
19
|
"lucide",
|
18
20
|
"icons"
|
19
21
|
],
|
20
|
-
"author": "",
|
21
|
-
"license": "
|
22
|
+
"author": "Aviortheking",
|
23
|
+
"license": "MIT",
|
22
24
|
"devDependencies": {
|
23
|
-
"lucide-static": "
|
25
|
+
"lucide-static": "0.256.0"
|
24
26
|
},
|
25
27
|
"peerDependencies": {
|
26
28
|
"astro": "^2.7.1"
|