@sophty-ui/icons-shared-config
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

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"
  }
}

Package Sidebar

Install

npm i @sophty-ui/icons-shared-config

Weekly Downloads

1

Version

1.4.0

License

MIT

Unpacked Size

39.6 kB

Total Files

8

Last publish

Collaborators

  • keindev