Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vivareal/lina-icons

Package Overview
Dependencies
Maintainers
51
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivareal/lina-icons - npm Package Compare versions

Comparing version 0.1.1-alpha.2 to 0.2.0-alpha.1

CHANGELOG.md

38

package.json
{
"name": "@vivareal/lina-icons",
"version": "0.1.1-alpha.2+7abd83d",
"description": "Icons of Lina design system",
"author": "Bruno Santos <brunosaantos00@gmail.com>",
"version": "0.2.0-alpha.1",
"description": "> TODO: description",
"author": "Grupo ZAP Frontend team <frontends@grupozap.com>",
"homepage": "",
"license": "ISC",
"main": "main.js",
"main": "dist/main.js",
"module": "dist/main.esm.js",
"files": [
"*.svg"
"dist/"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"build": "rimraf dist/* && webpack",
"clean": "rimraf *.svg main.js",
"prepare": "lerna run build",
"prepublishOnly": "cp -r ./dist/* .",
"postpublish": "lerna run clean"
"build:svg": "svgo --config svgo.config.json -f ./src/images -o ./dist/images -q",
"build:generate-index-file": "node scripts/generate-index-file.js",
"prebuild": "rm -rf dist && yarn run build:generate-index-file && yarn run build:svg",
"build": "rollup -c ./rollup.config.js",
"docs:copy-svg": "cp -r ./dist/images ./docs/.vuepress/dist/",
"docs:zip-icons": "cd ./dist/images/ && bestzip ../../docs/.vuepress/dist/icons.zip *.svg",
"docs:dev": "yarn run build && vuepress dev docs",
"docs:build": "yarn run build && vuepress build docs && yarn run docs:copy-svg && yarn run docs:zip-icons",
"docs:deploy": "bash scripts/deploy-docs.sh lina-icons.grupozap.com"
},
"gitHead": "7abd83d98cccd814603853300b6bfbd5202d2308"
"devDependencies": {
"bestzip": "^2.1.5",
"rollup": "^2.0.6",
"rollup-plugin-svgo": "^1.1.0",
"svgo": "^1.3.2",
"vuepress": "^1.4.0"
},
"gitHead": "bb4926bc49094b348ddf368dda9b3cde834f69ca"
}

@@ -1,11 +0,32 @@

# `@vivareal/lina-icons`
# @vivareal/lina-icons
> Icons of Lina design system
The design system iconography
## Usage
### Installing
```
const linaIcons = require('@vivareal/lina-icons');
lerna bootstrap
```
// TODO: DEMONSTRATE API
### Usage
With `add` being one of the available icons:
```
import { add } from "@vivareal/lina-icons"
```
`add` will be the svg markup.
### Add a new icon
Add the svg file to `src/images` folder.
### Build the project
```
yarn run build
```
This will run `svgo` to optimize the icons and write them to `dist/images` folder.
Also, it will use `rollup` to bundle the icons together and export them as `cjs` and `esm` to be later imported and tree shook by the consumer project.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc