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 🙏

© 2026 – Pkg Stats / Ryan Hefner

cra-template-cinoval

v1.9.4

Published

The CRA Template from Cinaval company.

Downloads

81

Readme

#cra-template-cinoval

这是一个React模版

##立即使用 运行以下命令,一键生成 React 项目:

yarn create react-app [name of app/location] --template cra-template-cinoval

##注意

npx 方式暂时有问题,推荐 yarn create

  Installing template dependencies using npm...
  npm ERR! code ERESOLVE
  npm ERR! ERESOLVE unable to resolve dependency tree
  npm ERR!
  npm ERR! While resolving: [email protected]
  npm ERR! Found: [email protected]
  npm ERR! node_modules/react-scripts
  npm ERR!   react-scripts@"5.0.1" from the root project
  npm ERR!
  npm ERR! Could not resolve dependency:
  npm ERR! peer react-scripts@"^4.0.0" from @craco/[email protected]
  npm ERR! node_modules/@craco/craco
  npm ERR!   @craco/craco@"^6.4.5" from the root project
  npm ERR!
  npm ERR! Fix the upstream dependency conflict, or retry
  npm ERR! this command with --force, or --legacy-peer-deps
  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  npm ERR!
  npm ERR! See C:\Users\Administrator\AppData\Local\npm-cache\eresolve-report.txt for a full report.

  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2023-08-15T01_40_59_131Z-debug.log
  `npm install --no-audit --save @ant-design/icons@^4.7.0 @craco/craco@^6.4.5 @csstools/normalize.css@^12.0.0 @reduxjs/toolkit@^1.8.6 @testing-library/jest-dom@^5.16.5 @testing-library/react@^13.4.0 @testing-library/user-event@^13.5.0 ahooks@^3.7.8 animate.css@^4.1.1 antd@^4.23.6 axios@^1.1.3 craco@^0.0.3 craco-less@^2.0.0 d3@^7.6.1 echarts@^5.4.0 i18n-react@^0.7.0 i18next@^21.10.0 i18next-browser-languagedetector@^6.1.8 i18next-http-backend@^1.4.4 less-loader@^11.1.0 lodash@^4.17.21 moment@^2.29.4 nprogress@^0.2.0 react@^18.2.0 react-dom@^18.2.0 react-i18next@^11.18.6 react-redux@^8.0.4 react-router-dom@^6.4.2 [email protected] redux-persist@^6.0.0 sass@^1.55.0 sass-loader@^13.1.0 styled-components@^5.3.6 web-vitals@^2.1.4` failed

##疑问

  1. 为什么使用style-components?
    • 組件化樣式: 使你能夠將CSS直接與React組件相結合,確保樣式與組件邏輯高度一致。
    • 動態樣式: 可以根據組件的props動態生成樣式,這讓你能更輕鬆地根據狀態或屬性改變樣式。
    • 主題支援: 通過主題提供者,你可以輕鬆共享樣式變數,使整個應用程序具有一致的外觀。
    • 自動供應商前綴: 透過自動添加瀏覽器供應商前綴,增強了跨瀏覽器的兼容性。
    • 開發體驗: styled-components支援熱重載和有助於調試的有意義的類名,讓開發過程更為順暢。