
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
yhtml5-scripts
Advanced tools
YHTML5-Seed scaffolds out a new application. We can building a SPA or MPA. writing your build configuration, and package manager dependencies (e.g npm) that you might need for your build
This is not only a project-seed for front-end. It is a complete set of solutions from the client to the server: react,redux,webpack,web security,nodejs,express,api,git version,performance optimization what you want technology stack all in one, and provides many out-of-the-box features
YHTML5-Seed 还提供了相应的加载策略, 缓存策略, 兼容策略, 安全策略. 更好的为业务服务, 创造商业价值
前端世界的变化总是惊人的,在这个项目里,我们会及时更新依赖的技术到最新稳定版本,同时及时淘汰一些过时的技术元素 我们不建议重度依赖别人发明的轮子,我们鼓励自己重复造轮子。在编码中了解底层原理,创造出更适合团队的解决方案
Welcome to NEW front-end world and enjoy yourself
参考
我们为不同的项目类型准备了不同的开发脚手架:
| name | demo | path | document |
|---|---|---|---|
| react-dashboard | react + redux + webpack2 + ant-design | apps/react-dashboard | apps/react-dashboard/document/ |
| MPA | -- | apps/mpa | apps/mpa/document/ |
| fis3 | fis3 | apps/fis3/ | `` |
| vue | vue | apps/vue | `` |
A simple CLI for scaffolding front-end projects.
npm i yhtml5-cli -g
yhtml5 init <project-name>
# select template
# waiting
cd <project-name>
npm i
npm run dev
npm run build
| Command line | Usage |
|---|---|
| npm start | install dependencies, and become building exmple program, please be patience |
| npm run build | build production |
| npm run build-debug | debug model |
| npm run dev | develop model |
| npm run scripts:u | update scripts |
| npm run test | test code |
| npm run git | commit your code to git remote repertory |
| npm i | --registry=https://registry.npm.taobao.org |
For detailed explanation on how things work, checkout the YHTML5-Seed document
There are so many problems when we start a front-end project
../../../a.js, ~/components/a.jsmarkdown => html, 使用 github-markdown-cssreact => react/react.min.js['react-hot-loader','react-hot-loader/patch', 'webpack-hot-middleware/client']目前,还有一些新功能及bug需要解决,详见问题列列表
| Name | Usage | Note |
|---|---|---|
| babel | ||
| [express] | service | [Express 中文文档][express-cn] |
| [echarts][echarts] | 图表库 | 数据可视化、开放、大气 |
| react | ||
| redux | ||
| Eslint | ||
| NodeJS | ||
| Normalize.css | 重置浏览器css样式 | |
| NPM | ||
| PM2 | ||
| postCSS | ||
| webpack | 构建工具 | |
| shelljs | Portable Unix shell commands for Node.jshttps://github.com/shelljs/shelljs | |
| ora | Elegant terminal spinner | https://github.com/sindresorhus/ora |
| opn | open browser |
FAQs
Configuration and scripts for Create Web App.
We found that yhtml5-scripts demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.