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

fie-toolkit-nuke

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fie-toolkit-nuke

基于rax的nuke业务套件,适用于千牛、手淘等移动端weex页面开发

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

fie-toolkit-nuke

说明

集成了nuke、rax-redux等常用weex rax开发工具。小巧灵活,手淘weex、千牛qap一网打尽,居家旅行必备良品。

nuke业务开发详细文档见 http://site.alibaba.net/nuke/docs_tools/

用法

初始化

fie init nuke

可选择初始化的项目类型,目前支持千牛qap项目,二方用户可根据场景选择最贴合当前业务的主题进行开发。

开启本地服务器


fie start

将会启动如下页面

构建

- fie build

> qap应用将被打成zip,用于上传离线包。并产生用于降级的html文件。具体降级配置请参考nuke或qap开发文档。

PS:qap插件支持内置,内置详情参见[内置文档](http://beta.nuke.taobao.org/nukedocs/changelog/changes-of-buildin-vendor.html)


发布


fie publish

两种发布形式:

  • qap 离线zip todo:千牛服务端未提供接口,需手动上传至qnconsole

  • fie publish zip

  • awp package done:调用fie-plugin-awp

如果本机从未使用过fie-awp,需调用fie awp config录入用户的awp平台appkey等基础信息

  • fie publish -d '日常'
  • fie publish -p '线上'

fie.config.js 配置


  module.exports = {
    // 当前项目使用的fie套件
    toolkit: 'fie-toolkit-nuke',

    toolkitConfig: {
      // 本地服务器端口号,当前不可更改
      port: 8080,
      // 是否自动打开浏览器
      open: true,
      // 打开浏览器后 自动打开的 目标页面
      openTarget: 'demos/index.html',
      // 文件修改后是否自动刷新浏览器
      liveload: true
    },
    tasks: {
      build: [
        {
          // 同步版本号
          command: 'fie git sync'
        },
        {
          // 检测dependencies中的版本依赖
          command: 'fie check'
        }
      ],
      publish: [],
      open: [
        {
          // 打开gitlab上的项目
          command: 'fie git open'
        }
      ]
    },
    //awp设置只在rax项目中存在
    awp: {
        awpPackage: {
            dailyAppID: '702',
            onlineAppID: '***',
            zipDir: 'dest.zip'
        }
    }
  };
  

FAQs

Package last updated on 09 May 2017

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