Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reack-a0

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reack-a0

$ cp -rf reack-a0 reack-coolname

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

复制 reack-a0 文件夹

$ cp -rf reack-a0 reack-coolname

替换文件夹下的所有内容

$ search a0 and replace to coolname

重命名一个文件

$ mv src/react_a0_export.js src/react_coolname_export.js

install all modules

$ npm install

windows 下需执行 npm run dist2

npm install -g win-node-env

npm install -g cross-env

新建项目

$ sudo npm install -g npx $ sudo npm install -g create-react-app $ npx create-react-app rock-reack $ cd rock-reack && npm start

新建一个 Button 组件

index.js Button.js

启动

npm start

打包(生成 dist 文件夹)

npm run dist

发布 npmjs.org (发布前自增 package.json 里的版本号)

npm publish

发布到 npm 私服 (发布前自增 package.json 里的版本号)

....

项目引用

import { Button } from 'reack-a0';

使用

a0

启动本地服务

$ npm run start

本地构建(生成 build 文件夹)

$ npm run build

ENOSPC: System limit for number of file watchers reached

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

查看最新版本

npm info reack-a0 version

FAQs

Package last updated on 09 Feb 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc