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

senasaikou-yeoman

v1.2.2

Published

add cookie sha256 wow.js animation.css

Downloads

12

Readme

yeoman

自用的webapp配置文件及目录层级

功能

自动化前端, 功能包括: bootstrap、 less、 react

安装:

###直接安装:

    npm install senasaikou-yeoman               
    
    

在/node_modules/senasaikou-yeoman/app下进行开发

 ps:1、全大小约350M,所以很慢;2、在windows下无法复制,请妥善安排目录;3、因为淘宝的安装设计问题,不建议用cnpm;4、请尽量使用gitbash而非cmd

###clone方法: clone之后:

      cnpm install                                    //用的淘宝npm镜像(未安装可把所有的cnpm改为 npm)
      bower install

执行完后就可在app目录里进行开发。(即跳过下述过程的1-7步)      

!!!注意:仔细查看index.html的文件引入格式(less文件引入时html中的后缀名为css,实际为less;react在html中后缀名为js,实际为jsx)

##原实现过程:

1、安装 node

2、安装 yeoman、 bower、 gulp:

       cnpm install -g yo bower gulp            

3、安装yeoman的webapp插件:

       cnpm install -g generator-webapp

4、建立webapp:

       yo webapp
       

5、安装所用包:

      bower install senasaikou     
       
       

此为自己的bower,包含less, bootstrap, jquery, react( bower的github )

6、安装gulp中的less 以及 react

      cnpm install --save-dev gulp-babel babel-preset-es2015 babel-preset-react gulp-less
      

7、修改gulpfile.js                    

         因为改起来稍显杂直接拷贝此项目的文件拷贝就行(。_。)...,具体请参照最后的链接

8、开启调试

      gulp serve

9、生成项目

      gulp  
      

over


关于 webapp更多的使用方法参照 generator-webapp