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

wenke-devie8

v1.2.1

Published

dev tool for wenke-webpack && ie8

Downloads

7

Readme

wenke-devie8

wenwen实时开发辅助工具 for ie8

NPM

npm version

wenke-devie8是腾讯/搜狗问问实时开发辅助工具, 主要用于将ES6/7/8、React、Vue.js、前端模板、CSS、图片等静态资源实时编译为浏览器中可以正常运行的代码

安装

npm install -g wenke-devie8

使用说明

wenke-devie8 -w 后端模板文件目录(同时处理多个工程请用"," 英文逗号分隔) -s 静态资源文件目录

目录规范说明

js文件引入规范

在后端模板中引入的JS主要有3种情况:

  1. 直接引入CDN中的JS, 这种引入方法会被 wenke-devie8 排除在编译列表之外;

  2. 业务共用库, 例如:

    <script src="http://local.wenwen.sogou.com/src/js/lib/wenke/entry.js"></script>
  3. 具体页面入口JS文件, 例如:

    <script src="http://local.wenwen.sogou.com/deploy/js/project1/wenke/wenke/bundle.js"></script>

**注意: **

  1. 页面入口文件名必须为: main.js
  2. 地址中的src必须修改为deploy, 这样主要是为了避免svn识别src目录下实时编译产生的中间文件

后端模板文件目录

后端模板文件目录下必须要有src目录,例如后端模板文件目录为view的话,如下:

view
└─src

构建后的后端模板文件会放置在与src同级目录下的deploy目录,无需用户手动创建,构建时会自动建立,编译后的目录结构如下:

view
├─deploy
└─src  

静态资源文件目录

静态资源根目录下必须要有src目录,例如静态资源根目录为static的话,如下:

static
└─src

构建后的静态资源会放置在与src同级目录下的deploy目录,无需用户手动创建,构建时会自动建立,编译后的目录结构如下:

static
├─deploy
└─src  

更详细的目录规范请参考wenke中的目录规范说明

命令行参数说明

-s 必需

静态资源文件目录

-w 必需

后端模板文件目录

-d

本地调试域名, 默认为local.wenwen.sogou.com

--inline

设置webpack的devtool的编译方式为: inline-source-map, 默认编译方式为: eval

Report an issue

欢迎大家将使用wenke-devie8中遇到的任何问题提交给我,提问地址:Report an issue

Pull Requests

如果您发现了代码中的问题,可以 New pull request


如果wenke-devie8对您有帮助,欢迎打赏:)

欢迎打赏

License

wenke-devie8 使用 MIT License