Socket
Socket
Sign inDemoInstall

@sophty-ui/icons-shared-config

Package Overview
Dependencies
1
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sophty-ui/icons-shared-config

Shared config for @sophty-ui/icons


Version published
Maintainers
1
Created

Readme

Source

Package logo

Build Status npm Standard Shared Config

Standard Shared Config for Sophty UI icons

Install

npm install @sophty-ui/icons-shared-config --save-dev

Usage

  • Add "prepare:config": "icons-shared-config" to scripts property in your package.json
  • Rename your prepare scripts to prepare:[NAME]
  • Add "prepare": "npm-run-all prepare:*"
  • Run npm run prepare

Configs

include shared configs:

extract actions, hooks and configs:

  • .github/*
  • .husky/*
  • .eslintrc
  • tsconfig.json

merge files:

  • .gitignore
  • .npmignore

append to package.json:

scripts:
  • build - build shared config
  • build:ts - transpile TS files
  • build:generate - generate Icon components from svg images
  • generate - run all generate:*
  • generate:changelog - generate changelog
  • generate:ghinfo - generate .ghinfo file
  • lint - run all linters
  • lint:eslint - run eslint TS files linting
  • prepare - run all prepare scripts
  • prepare:config - rebuild local configs
  • prepare:husky - install husky hooks
  • release - build, lint, generate changelog and bump package version
dependencies:
configure:
{
  "type": "module",
  "types": "./lib/index.d.ts",
  "exports": {
    ".": "./lib/index.js",
    "./theme.css": "./lib/assets/theme.css"
  },
  "peerDependencies": {
    "clsx": "1.x",
    "react": "18.x",
    "react-dom": "18.x"
  }
}

Keywords

FAQs

Last updated on 09 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc