ppfish
qiyu and prophet ui components
Last updated 20 days ago by gtopia .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ppfish 
SYNC missed versions from official npm registry.

Fish Design 网易云商服UI组件库

Introduction

Fish Design is an enterprise-class UI component library which based on React, helps designers and developers quickly build systems.

Features

  • Babel with ES6
  • Hot reloading
  • Testing
  • Linting
  • Working example app

Initial Machine Setup

  • Install Node.js

  • (Optional)Install taobao NPM image

    $ npm install -g cnpm --registry=https://registry.npm.taobao.org
    

Install

npm install ppfish --save

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'ppfish';

ReactDOM.render(
  <Button type="primary">Primary</Button>, document.getElementById('app')
);

Development

Install npm(or cnpm) package

$ npm install

Start development in your default browser

$ npm start

Open your browser and visit http://127.0.0.1:5000

Build

Build scripts ``````and css etc.

$ npm run build

Build site

$ npm run build:site

Links

The directory structure

.
├── /coverage/                        # 运行npm run test:cover输出的测试覆盖率文件
├── /dist/                            # 构建输出的文件,使用全局变量方式引用,可用于发布到CDN
├── /es/                              # 构建输出的文件,使用ES Module规范引用,可用于tree shaking优化
├── /lib/                             # 构建输出的文件,使用commonjs规范引用
├── /node_modules/                    # 第三方类库和工具
├── /site/                            # 页面入口文件
| ├── /assets                         # css、images等资源
| ├── /componentsPage                 # 组件库官网markdown
| ├── /docs                           # 组件库官网markdown
| ├── /locales                        # 本地化文案
| ├── /pages                          # 组件库官网页面入口
| ├── /static                         # 组件库官网Demo使用的icon
| ├── /styles                         # 组件库官网页面样式
| ├── /index.html                     # 组件库官网html模板
| └── /index.js                       # 组件库官网入口文件
├── /source/                          # 应用源码
│ ├── /assets/                        # 可编译静态资源文件
│ ├── /components/                    # React components
│ ├── /constants/                     # 常量配置文件
│ └── /utils/                         # 工具函数
├── /tools/                           # 项目运行脚本
├── .babelrc                          # babel配置文件, https://babeljs.io/docs/usage/babelrc/
├── .editorconfig                     # 代码风格配置文件, http://editorconfig.org
├── .eslintignore                     # eslint配置文件, http://eslint.cn/docs/user-guide/configuring
├── .eslintrc                         # eslint配置文件, http://eslint.cn/docs/user-guide/configuring
├── .gitignore                        # git配置文件, https://help.github.com/articles/ignoring-files/
├── .npmignore                        # npm配置文件,配置不需要发布到npm仓库的文件黑名单列表
├── .stylelintignore                  # stylelint配置文件
├── .stylelintrc                      # stylelint配置文件
├── jets.config.js                    # jest配置文件
├── package.json                      # 配置入口文件地址、依赖和 scripts
├── postcss.config.js                 # postcss配置文件, https://github.com/postcss/postcss-loader
├── README.md                         # readme
├── tsconfig.json                     # TypeScript配置文件
├── webpack.config.dev.site.js        # 文档网站本地开发编译配置
├── webpack.config.prod.components.js # 组件源码生产环境编译配置
└── webpack.config.prod.site.js       # 文档网站生产环境编译配置

Coding styles

  • javascript: use eslint:recommended, see https://eslint.org/docs/rules/ and /site/docs/ESLint规则清单.md for more details
  • directory、html、css、js: named using hump form
  • react component and react container: named using hump form and uppercase characters at the beginning
  • test file: named with Component + .test + .js format
  • Less: use stylelint:recommended,see /site/docs/LESS代码规范.md for more details

Current Tags

  • 1.7.3-alpha.2                                ...           alpha (5 days ago)
  • 1.7.2-beta.2                                ...           beta (2 months ago)
  • 1.7.2                                ...           latest (20 days ago)
  • 1.7.2-rc.3                                ...           rc (a month ago)

128 Versions

  • 1.7.3-alpha.2                                ...           5 days ago
  • 1.7.3-alpha.1                                ...           9 days ago
  • 1.7.2                                ...           20 days ago
  • 1.7.2-rc.3                                ...           a month ago
  • 1.7.2-rc.2                                ...           2 months ago
  • 1.7.2-rc.1                                ...           2 months ago
  • 1.7.2-beta.2                                ...           2 months ago
  • 1.7.2-beta.1                                ...           2 months ago
  • 1.7.2-alpha.3                                ...           3 months ago
  • 1.7.2-alpha.2                                ...           3 months ago
  • 1.7.2-alpha.1                                ...           3 months ago
  • 1.7.1                                ...           3 months ago
  • 1.7.1-alpha.7                                ...           3 months ago
  • 1.7.1-alpha.6                                ...           3 months ago
  • 1.7.1-alpha.5                                ...           3 months ago
  • 1.7.1-alpha.4                                ...           4 months ago
  • 1.7.1-alpha.3                                ...           4 months ago
  • 1.7.1-alpha.2                                ...           4 months ago
  • 1.7.1-alpha.1                                ...           5 months ago
  • 1.7.0                                ...           5 months ago
  • 1.7.0-rc.2                                ...           5 months ago
  • 1.7.0-rc.1                                ...           5 months ago
  • 1.7.0-beta.6                                ...           6 months ago
  • 1.7.0-beta.5                                ...           6 months ago
  • 1.7.0-beta.4                                ...           6 months ago
  • 1.7.0-beta.3                                ...           6 months ago
  • 1.6.9                                ...           6 months ago
  • 1.7.0-beta.2                                ...           7 months ago
  • 1.7.0-beta.1                                ...           7 months ago
  • 1.7.0-alpha.2                                ...           7 months ago
  • 1.6.9-rc.1                                ...           8 months ago
  • 1.7.0-alpha.1                                ...           8 months ago
  • 1.6.8                                ...           8 months ago
  • 1.6.8-rc.2                                ...           8 months ago
  • 1.6.8-rc.1                                ...           8 months ago
  • 1.6.8-beta.6                                ...           8 months ago
  • 1.6.8-beta.5                                ...           9 months ago
  • 1.6.8-beta.4                                ...           9 months ago
  • 1.6.8-beta.3                                ...           9 months ago
  • 1.6.8-beta.2                                ...           9 months ago
  • 1.6.8-beta.1                                ...           9 months ago
  • 1.6.8-alpha.2                                ...           9 months ago
  • 1.6.8-alpha.1                                ...           10 months ago
  • 1.6.7                                ...           10 months ago
  • 1.6.6                                ...           10 months ago
  • 1.6.5                                ...           10 months ago
  • 1.6.4                                ...           a year ago
  • 1.6.3                                ...           a year ago
  • 1.6.2                                ...           a year ago
  • 1.6.1                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.5.5                                ...           a year ago
  • 1.5.4-alpha.1                                ...           a year ago
  • 1.5.3                                ...           a year ago
  • 1.5.2                                ...           a year ago
  • 1.5.1                                ...           a year ago
  • 1.5.0-alpha.3                                ...           a year ago
  • 1.5.0-alpha.2                                ...           a year ago
  • 1.5.0-alpha.1                                ...           a year ago
  • 1.4.7                                ...           a year ago
  • 1.4.6                                ...           a year ago
  • 1.4.5                                ...           a year ago
  • 1.4.4-beta.1                                ...           a year ago
  • 1.4.4-alpha.3                                ...           a year ago
  • 1.4.4-alpha.2                                ...           a year ago
  • 1.4.4-alpha.1                                ...           a year ago
  • 1.4.3                                ...           a year ago
  • 1.4.3-rc.1                                ...           a year ago
  • 1.4.2                                ...           a year ago
  • 1.4.1                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.3                                ...           a year ago
  • 1.3.2-beta.1                                ...           a year ago
  • 1.3.2-alpha.18                                ...           a year ago
  • 1.3.2-alpha.17                                ...           a year ago
  • 1.3.2-alpha.16                                ...           a year ago
  • 1.3.2-alpha.15                                ...           a year ago
  • 1.3.2-alpha.14                                ...           a year ago
  • 1.3.2-alpha.13                                ...           a year ago
  • 1.3.2-alpha.12                                ...           a year ago
  • 1.3.2-alpha.11                                ...           a year ago
  • 1.3.2-alpha.10                                ...           a year ago
  • 1.3.2-alpha.9                                ...           a year ago
  • 1.3.2-alpha.8                                ...           a year ago
  • 1.3.2-alpha.7                                ...           a year ago
  • 1.3.2-alpha.6                                ...           a year ago
  • 1.3.2-alpha.5                                ...           a year ago
  • 1.3.2-alpha.4                                ...           a year ago
  • 1.3.2-alpha.3                                ...           a year ago
  • 1.3.2-alpha.2                                ...           a year ago
  • 1.3.2-alpha.1                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.1.9                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.5-0                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           2 years ago
  • 1.0.25                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.23                                ...           2 years ago
  • 1.0.22                                ...           2 years ago
  • 1.0.21                                ...           2 years ago
  • 1.0.20                                ...           2 years ago
  • 1.0.19                                ...           2 years ago
  • 1.0.18                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.16                                ...           2 years ago
  • 1.0.15                                ...           2 years ago
  • 1.0.14                                ...           2 years ago
  • 1.0.13                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 64
Last Day 0
Last Week 49
Last Month 80
Dependencies (33)
Dev Dependencies (102)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |