New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

front-build

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

front-build

build front project

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

Front-Build

  • 约定高于配置
  • 面向前端

目录

Root

Common

Page 目录

Version 目录

core
mods
utils

Build 目录

安装

- 首先安装nodejs环境 (and npm);
- npm install front-build
- done!

兼容性

用法

fb init

初始化一个项目文件夹, 只有在Root目录里才能执行下面的命令

fb add {pagename}

创建一个Page

fb version {versionNumber}

在page文件夹里面执行 为当前Page 创建一个version

fb build {pagename} -v {version} -t {timestame}

打包{version} 目录 {timestamp} 目录

会自动编译core 目录下面的less 文件到 打包目录的 core目录 会自动打包core目录下的kissy1.2入口文件到core目录, 并生成一个-min.js压缩版

fb build -t {timestamp}

Bug

FAQs

Package last updated on 14 May 2012

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc