Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fis-lol

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-lol

德玛西亚万岁

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

fis-lol

德玛西亚万岁!基于fis的二次解决方案。

安装

npm install -g fis-lol

使用

跟fis的命令差不多。

lol releas

模块化

类似scrat,同时支持业务模块生态模块

  1. 业务模块:modules下的模块,模块主入口与模块名相同。比如 /modules/app/app.js
  2. 生态模块:lego_modules下的模块,模块主入口由main字段声明,否则为index.js,比如/lego_modules/jquery/2.0.0/jquery.js
  3. 同时存在同名的业务模块、生态模块,业务模块优先

业务模块引用

比如要引用modules下的app模块,只需要这样

require('app');

目录结构如下:

modules/
├── app
│   └── app.js
├── footer
│   ├── footer.js
│   └── lib.js
└── jquery1
    └── jquery.js

生态模块引用

比如要引用lego_modules下的jquery模块,只需要

require('jquery');

目录结构如下:

lego_modules/
├── header
│   └── 1.0.0
└── jquery
    └── 2.0.0

FAQs

Package last updated on 25 May 2015

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