Standard Shared Config for Sophty UI icons
npm install @sophty-ui/icons-shared-config --save-dev
- 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
.github/*
.husky/*
.eslintrc
tsconfig.json
.gitignore
.npmignore
-
build
- build shared config -
build:ts
- transpileTS
files -
build:generate
- generate Icon components from svg images -
generate
- run allgenerate:*
-
generate:changelog
- generate changelog -
generate:ghinfo
- generate.ghinfo
file -
lint
- run all linters -
lint:eslint
- runeslint
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
-
@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
{
"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"
}
}