
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@winner-fed/create-win
Advanced tools
🚀 WinJS 框架官方脚手架工具,快速创建现代化前端应用项目
@winner-fed/create-win
是 WinJS 框架的官方脚手架工具,提供了丰富的项目模板和配置选项。通过交互式命令行界面,帮助开发者快速搭建基于 WinJS 框架的各类前端应用项目,包括 H5 应用、企业级 Web 应用、混合式移动应用等。
# 使用 npm
npm create win@latest my-project
# 使用 yarn
yarn create win my-project
# 使用 pnpm
pnpm create win my-project
# 使用 bun
bun create win my-project
# 全局安装
npm install -g @winner-fed/create-win
# 创建项目
create-win my-project
# 交互式创建项目
create-win
# 指定项目名称
create-win my-project
# 查看版本
create-win --version
# 查看帮助
create-win --help
适用场景: 移动端 H5 应用开发
技术栈:
特性:
适用场景: 企业级后台管理系统
技术栈:
特性:
适用场景: PC 端 Web 应用
技术栈:
特性:
适用场景: 混合式移动应用
技术栈:
特性:
适用场景: 学习示例和快速原型
技术栈:
特性:
适用场景: WinJS 插件开发
技术栈:
特性:
创建项目时,脚手架会询问以下配置选项:
my-project/
├── src/ # 源代码目录
│ ├── app.js # 应用入口文件
│ ├── global.less # 全局样式
│ ├── constant.js # 常量定义
│ ├── assets/ # 静态资源
│ ├── layouts/ # 布局组件
│ ├── pages/ # 页面组件
│ └── services/ # 服务层
├── .winrc.ts # WinJS 配置文件
├── package.json # 项目依赖配置
├── tsconfig.json # TypeScript 配置
├── .eslintrc.js # ESLint 配置
├── .prettierrc.js # Prettier 配置
├── .stylelintrc.js # StyleLint 配置
├── .gitignore # Git 忽略文件
└── README.md # 项目说明文档
所有模板都内置了完整的开发工具链:
我们欢迎任何形式的贡献!请查看 贡献指南 了解详细信息。
本项目基于 MIT License 开源协议。
如果这个项目对你有帮助,请给我们一个 ⭐!
FAQs
@winner-fed/create-win
The npm package @winner-fed/create-win receives a total of 615 weekly downloads. As such, @winner-fed/create-win popularity was classified as not popular.
We found that @winner-fed/create-win demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.