npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cclkit4svelte

v1.0.10

Published

Component kit for CANDY CHUPS Lab.

Downloads

91

Readme

ccl-component-kit4svelte

Release Storybook to GitHubPages Publish Package to npmjs

library_card

CANDY CHUPS Labのサイトで使うコンポーネントのキットです。 元々Reactコンポーネントで開発していたのをSvelteに移行しました。

このライブラリの開発を行うにはSvelteの導入が必要です。

Figma

Figma

Chromatic

Chromatic

Chromaticによるビジュアルテストをローカルで実施したい場合はreiji1020までご連絡ください。

利用用途

CANDY CHUPS Lab.名義でWebサービスを開発したり、ハッカソンに参加する時に簡単に使用できるコンポーネントになります。

基本的にはCCLメンバー以外が使ってもうま味はないです。俺得ライブラリの予定です。

利用方法

以下のコマンドでライブラリを導入して下さい。

> yarn add cclkit4svelte

or

> npm i cclkit4svelte

本ライブラリの開発について

コンポーネントライブラリの開発には、Node.jsのVersion20以降の環境が必要です。パッケージマネージャにはnpmを使用します。詳細なバージョンについてはpackage.jsonに記載をしていますのでご確認ください。

Node.jsのバージョン切り替えにはVoltaをおすすめします。

volta install node
# or
volta install node@20

node -v
#任意のNodeのバージョンが表示されればOK
v18.16.1

また、本ライブラリの開発にはpnpmの導入が必要です。npmyarnでは開発準備ができないためご注意ください。voltaを使用している場合、pnpmもvoltaを使用して導入することができます。

volta install pnpm

新規コンポーネントを開発する場合は、必ずStorybookで確認できるコンポーネント仕様書を一緒に作成してください。storiessrc/storiesディレクトリの中に格納してください。

コンポーネントそのものはlibディレクトリの中に格納してください。


ccl-component-kit

This is a kit of components for use at the CANDY CHUPS Lab site. Originally developed with React components, we migrated to Svelte.

Everything you need to build a Svelte project, powered by create-svelte.

Figma

Figma

Chromatic

Chromatic

Please contact reiji1020 if you wish to carry out visual testing with Chromatic locally.

Usage

It will be a component that can be easily used when developing web services under the name of CANDY CHUPS Lab. or participating in hackathons.

Basically, it is not intended to be used by non-CCL members. It is planned to be a private library.

How to use

Please install the library with the following command.

> yarn add cclkit4svelte

or

> npm i cclkit4svelte

About the development of this library

The development of component libraries requires a Node.js environment with Version 20 or higher. Use npm as the package manager. Please check the package.json for detailed version information.

We recommend Volta for switching Node.js versions.

volta install node
# or
volta install node@20

node -v
#Once the desired Node version is displayed, it is OK.
v18.16.1

Also, you need to install pnpm to develop this library. Note that npm and yarn do not prepare you for development; if you are using volta, pnpm can also be installed using volta.

volta install pnpm

When developing a new component, always create a component specification together with it, which can be found in the Storybook. Store stories in the src/stories directory.

The component itself should be stored in the lib directory.