Installations
npm install wenke-devie8
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
6.10.0
NPM Version
3.10.10
Score
31.7
Supply Chain
76.2
Quality
62.6
Maintenance
25
Vulnerability
75
License
Releases
Contributors
Unable to fetch Contributors
Love this project? Help keep it running — sponsor us today! 🚀
Developer
mopduan
Download Statistics
Total Downloads
1,349
Last Day
1
Last Week
2
Last Month
17
Last Year
92
GitHub Statistics
MIT License
14 Stars
485 Commits
6 Forks
13 Watchers
16 Branches
16 Contributors
Updated on Dec 06, 2022
Package Meta Information
Latest Version
1.2.1
Package Id
wenke-devie8@1.2.1
Size
6.74 kB
NPM Version
3.10.10
Node Version
6.10.0
Total Downloads
Cumulative downloads
Total Downloads
1,349
Last Day
0%
1
Compared to previous day
Last Week
100%
2
Compared to previous week
Last Month
88.9%
17
Compared to previous month
Last Year
-3.2%
92
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
wenke-devie8
wenwen实时开发辅助工具 for ie8
wenke-devie8是腾讯/搜狗问问实时开发辅助工具, 主要用于将ES6/7/8、React、Vue.js、前端模板、CSS、图片等静态资源实时编译为浏览器中可以正常运行的代码
安装
npm install -g wenke-devie8
使用说明
wenke-devie8 -w 后端模板文件目录(同时处理多个工程请用"," 英文逗号分隔) -s 静态资源文件目录
目录规范说明
js文件引入规范
在后端模板中引入的JS主要有3种情况:
-
直接引入CDN中的JS, 这种引入方法会被 wenke-devie8 排除在编译列表之外;
-
业务共用库, 例如:
<script src="http://local.wenwen.sogou.com/src/js/lib/wenke/entry.js"></script>
-
具体页面入口JS文件, 例如:
<script src="http://local.wenwen.sogou.com/deploy/js/project1/wenke/wenke/bundle.js"></script>
**注意: **
- 页面入口文件名必须为: main.js
- 地址中的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

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Score
3
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More