1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-09-03 02:42:55 +02:00

Merge pull request #93 from tabler/package-rename

This commit is contained in:
Paweł Kuna
2020-11-11 14:22:11 +01:00
committed by GitHub
2 changed files with 19 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ A set of over 850 free MIT-licensed high-quality SVG icons for you to use in you
## Installation ## Installation
``` ```
npm install tabler-icons --save npm install @tabler/icons --save
``` ```
or just [download from Github](https://github.com/tabler/tabler-icons/releases). or just [download from Github](https://github.com/tabler/tabler-icons/releases).
@@ -78,7 +78,7 @@ Add an icon to be displayed on your page with the following markup (`activity` i
Import the icon and render it in your component. You can adjust SVG properties through React props: Import the icon and render it in your component. You can adjust SVG properties through React props:
```jsx ```jsx
import { IconAward } from 'tabler-icons'; import { IconAward } from '@tabler/icons';
const MyComponent = () => { const MyComponent = () => {
return <IconAward return <IconAward
@@ -90,7 +90,7 @@ const MyComponent = () => {
} }
``` ```
`tabler-icons` exports it's own type declarations for usage with React and Typescript. `@tabler/icons` exports it's own type declarations for usage with React and Typescript.
## Multiple strokes ## Multiple strokes

View File

@@ -1,5 +1,5 @@
{ {
"name": "tabler-icons", "name": "@tabler/icons",
"version": "1.35.0", "version": "1.35.0",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -9,7 +9,8 @@
"module": "./icons-react/dist/index.esm.js", "module": "./icons-react/dist/index.esm.js",
"browser": "./icons-react/dist/index.umd.js", "browser": "./icons-react/dist/index.umd.js",
"types": "./icons-react/index.d.ts", "types": "./icons-react/index.d.ts",
"author": "", "sideEffects": false,
"author": "codecalm",
"license": "MIT", "license": "MIT",
"bugs": { "bugs": {
"url": "https://github.com/tabler/tabler-icons/issues" "url": "https://github.com/tabler/tabler-icons/issues"
@@ -27,6 +28,9 @@
"tabler-sprite.svg", "tabler-sprite.svg",
"tabler-sprite-nostroke.svg" "tabler-sprite-nostroke.svg"
], ],
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/tabler/tabler-icons#readme", "homepage": "https://github.com/tabler/tabler-icons#readme",
"scripts": { "scripts": {
"start": "bundle exec jekyll serve --watch --livereload --trace --livereload_port 8888", "start": "bundle exec jekyll serve --watch --livereload --trace --livereload_port 8888",
@@ -35,7 +39,16 @@
"optimize": "gulp optimize", "optimize": "gulp optimize",
"release": "release-it" "release": "release-it"
}, },
"description": "", "description": "A set of free MIT-licensed high-quality SVG icons for you to use in your web projects.",
"keywords": [
"icons",
"svg",
"png",
"iconfont",
"react",
"front-end",
"web"
],
"devDependencies": { "devDependencies": {
"@babel/core": "7.11.6", "@babel/core": "7.11.6",
"@babel/parser": "7.11.5", "@babel/parser": "7.11.5",