From 3a10205b2b0b3c9cca5181c4b5a58856b4492db9 Mon Sep 17 00:00:00 2001 From: Michal Wolny Date: Wed, 11 Nov 2020 14:03:12 +0100 Subject: publish tabler-icons under @tabler namespace on npm --- README.md | 6 +++--- package.json | 16 +++++++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 332f8911..1ac1afb2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A set of over 850 free MIT-licensed high-quality SVG icons for you to use in you ## Installation ``` -npm install tabler-icons --save +npm install @tabler/icons --save ``` 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: ```jsx -import { IconAward } from 'tabler-icons'; +import { IconAward } from '@tabler/icons'; const MyComponent = () => { return { } ``` -`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 diff --git a/package.json b/package.json index 7424b8b5..36506d53 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "tabler-icons", + "name": "@tabler/icons", "version": "1.35.0", "repository": { "type": "git", @@ -9,7 +9,8 @@ "module": "./icons-react/dist/index.esm.js", "browser": "./icons-react/dist/index.umd.js", "types": "./icons-react/index.d.ts", - "author": "", + "sideEffects": false, + "author": "codecalm", "license": "MIT", "bugs": { "url": "https://github.com/tabler/tabler-icons/issues" @@ -35,7 +36,16 @@ "optimize": "gulp optimize", "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": { "@babel/core": "7.11.6", "@babel/parser": "7.11.5", -- cgit v1.2.1 From a29fad8722a9311cc1e5b94a5984be16b0d64bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Wed, 11 Nov 2020 14:19:12 +0100 Subject: added `publishConfig` to `package.json` --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 36506d53..9e84fc04 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,9 @@ "tabler-sprite.svg", "tabler-sprite-nostroke.svg" ], + "publishConfig": { + "access": "public" + }, "homepage": "https://github.com/tabler/tabler-icons#readme", "scripts": { "start": "bundle exec jekyll serve --watch --livereload --trace --livereload_port 8888", -- cgit v1.2.1