Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@evergis/ui
Advanced tools
π Before start:
yarn
Update webstorm to >2017.3.3
Install Styled Components plugin Jetbrains plugins
π οΈ Start dev:
yarn storybook
Open in browser localhost:6006
β Start tests:
yarn test
publish
)package.json
yarn
- ΠΎΡΠ²Π΅ΠΆΠΈΡΡ Π²ΡΠ΅ Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈyarn lint:fix
- Π°Π²ΡΠΎΠΏΠΎΠΏΡΠ°Π²ΠΊΠ° eslint ΠΎΡΠΈΠ±ΠΎΠΊyarn build
- ΡΠ±ΠΎΡΠΊΠ°npm publish
- ΠΏΠ°Π±Π»ΠΈΡmaster
For testing uilib locally in client (or other projects) without rebuilding after every update use linking:
yarn build
- ΡΠ±ΠΎΡΠΊΠ°yarn link
- ΡΠΎΠ·Π΄Π°ΡΠΌ Π³Π»ΠΎΠ±Π°Π»ΡΠ½ΡΡ ΡΡΡΠ»ΠΊΡ Π½Π° uilibyarn link "@evergis/ui"
- ΠΏΡΠΈΠ²ΡΠ·ΡΠ²Π°Π΅ΠΌ uilib ΠΊ ΠΏΡΠΎΠ΅ΠΊΡΡyarn start
- Π·Π°ΠΏΡΡΠΊΠ°Π΅ΠΌ ΠΏΡΠΎΠ΅ΠΊΡ Ρ ΠΏΡΠΈΠ²ΡΠ·Π°Π½Π½ΠΎΠΉ uilibyarn build
- ΠΏΠΎΡΠ»Π΅ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ Π² uilib Π΄Π΅Π»Π°Π΅ΠΌ Π΅Π³ΠΎ ΠΏΠ΅ΡΠ΅ΡΠ±ΠΎΡΠΊΡsrc/fonts/selection.json
src/fonts
Π½Π° Π·Π°Π³ΡΡΠΆΠ΅Π½Π½ΡΠ΅ ΠΈΠ· Π°ΡΡ
ΠΈΠ²Π° (ΠΏΠ°ΠΏΠΊΠ° fonts ΠΈ selection.json)Every component in separate directory
Test file in same directory, with name *.test.tsx
Do not write snapshot tests for components, for snapshot testing used stories, test only specific behavior and functions
Story file in same directory, with name *.story.tsx
Write stories for every possible component state
Every component must be working without any props
Do not create pull request with any linters or ts errors
File naming convention:
Do not use default exports
Write component description in source file
FAQs
π **Before start:**
The npm package @evergis/ui receives a total of 88 weekly downloads. As such, @evergis/ui popularity was classified as not popular.
We found that @evergis/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 0 open source maintainers collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.