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

ok-papa-cli

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

ok-papa-cli

A frontend projects solution

  • 3.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ok-papa-cli

基于 webpack 的前端多页面解决方案。在此cli的帮助下快速部署前端页面:可多个输出或每个页面独立输出,并且包含多个环境切换、适合多个环境的最佳配置输出、其他路径代理等功能。

Feature

  • webpack使用1.x,支持ie8

Config

papa.config.json:

{
    "ftp": {
      "host": "192.168.1.1",
      "port": "",
      "user": "user",
      "password": "ps"
    },
    "remoteBasePath": "", //ftp的基目录,用于打印地址时方便排除。m.okpapa.com
    "remotePath": "/activity/{$target}",
    "localAssetPath": "build/activity/{$target}",
    "domainName": "http://m.okpapa.com",
    "cdnDomain": "https://images.okpapa.com",
    "proxyPort": 80,
    "servePort": 3005,
    "staticFileConcatOrder":[]
  }

Todo

万事开头难,然后中间难,最后结尾难

  1. write test
  2. 拆解各种配置:
    1. webpack.config
  3. webpack 热替换
  4. upload 功能没测

Keywords

FAQs

Package last updated on 30 Aug 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