@sophty-ui/icons-shared-config
v1.4.0
Published
Shared config for @sophty-ui/icons
Downloads
6
Maintainers
Readme
Standard Shared Config for Sophty UI icons
Install
npm install @sophty-ui/icons-shared-config --save-dev
Usage
- Add
"prepare:config": "icons-shared-config"
toscripts
property in yourpackage.json
- Rename your
prepare
scripts toprepare:[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 configbuild:ts
- transpileTS
filesbuild:generate
- generate Icon components from svg imagesgenerate
- run allgenerate:*
generate:changelog
- generate changeloggenerate:ghinfo
- generate.ghinfo
filelint
- run all linterslint:eslint
- runeslint
TS files lintingprepare
- run all prepare scriptsprepare:config
- rebuild local configsprepare:husky
- install husky hooksrelease
- build, lint, generate changelog and bump package version
dependencies:
- @tagproject/docs-shared-config:
3.x
- @tagproject/vscode-shared-config:
4.x
- @types/react:
18.x
- @typescript-eslint/eslint-plugin:
7.x
- @typescript-eslint/parser:
7.x
- changelog-guru:
5.x
- eslint:
8.x
- eslint-config-prettier:
9.x
- eslint-plugin-import:
2.x
- eslint-plugin-jest:
27.x
- eslint-plugin-node:
11.x
- eslint-plugin-optimize-regex:
1.x
- eslint-plugin-promise:
6.x
- eslint-plugin-react:
7.x
- eslint-plugin-react-hooks:
4.x
- ghinfo:
latest
- husky:
9.x
- rimraf:
latest
- ts-node:
10.x
- typescript:
5.x
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"
}
}