Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
generator-symmetra
Advanced tools
> 基于ant Design、dva、roadhog搭建的脚手架,目的快速搭建类商家后台项目,其中包括了在商家端体系中不断的沉淀的util(用于处理复杂场景的tools和中间层)、eslint配置、roadhog配置、webpack.config、tsconfig。
基于ant Design、dva、roadhog搭建的脚手架,目的快速搭建类商家后台项目,其中包括了在商家端体系中不断的沉淀的util(用于处理复杂场景的tools和中间层)、eslint配置、roadhog配置、webpack.config、tsconfig。
mac获取权限请使用sudo
npm install -g tnpm@2 --registry=http://registry.npm.alibaba-inc.com
tnpm install -g yo grunt-cli bower
tnpm install -g @ali/generator-symmetra
在gitlab中新建项目(比如trvale-seller-test
),并在本地checkout出目录,进入到trvale-seller-test
目录中,执行
yo symmetra
根据提示完成初始化任务:
后台项目架子初始化完成,目录结构如下:(这是暂时的架构要和@石濑对接,计划在7月中旬确定最后的目录结构)
├── build/
├── grunt/
└── exec.js // grunt自动化任务配置文件
├── Gruntfile.js
└── src/
├── components/
├── common // 公共组件 -> 后续将以tnpm方式模块化
└── xxx // 业务组件
├── models/ // 业务逻辑
├── routes/ // 路由以及入口文件
├── services/ // 服务api
├── tests/ // 测试
├── utils/ // 工具
├── index.html // spa的html
├── index.jsx // router文件
├── index.js // dva入口文件
└── index.less // 对全局影响的less文件
├── .roadhogrc // roadhog配置文件
├── webpack.config.js // 用于补足roadhog的配置缺陷
在当前项目根目录下执行
1、 本地开发启动服务
grunt dev
2、 拉取最新分支基于当前分支的最大版本号,以及(major
、minor
)
grunt newbranch
3、 发布到预发支持nobuild
grunt prepub:<message>
4、 发布到正式支持nobuild
grunt publish:<message>
社区开源项目: grunt yeoman bower Less
FAQs
> 基于ant Design、dva、roadhog搭建的脚手架,目的快速搭建类商家后台项目,其中包括了在商家端体系中不断的沉淀的util(用于处理复杂场景的tools和中间层)、eslint配置、roadhog配置、webpack.config、tsconfig。
The npm package generator-symmetra receives a total of 2 weekly downloads. As such, generator-symmetra popularity was classified as not popular.
We found that generator-symmetra 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.