# ne-ci

> ne-ci specail version to support lazy-load

Latest version **1.0.5** (published 2019-09-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install ne-ci
pnpm add ne-ci
yarn add ne-ci
bun add ne-ci
```

Provides the command `ne-ci`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-09-29 |
| First published | 2019-08-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 133.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ancaiu9@gmail.com |
| Maintainers | bjzhangchengsi |
| Keywords | build, pack, publish, CMS |

## Links

- npm: https://www.npmjs.com/package/ne-ci
- npm.io page: https://npm.io/package/ne-ci

## Dependencies (3)

- [commander](https://npm.io/package/commander.md) ^2.17.1
- [uglify-js](https://npm.io/package/uglify-js.md) ^3.4.9
- [iconv-lite](https://npm.io/package/iconv-lite.md) ^0.4.24

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-09-29
- 1.0.4 — 2019-08-07
- 1.0.3 — 2019-08-07
- 1.0.2 — 2019-08-07
- 1.0.1 — 2019-08-06

## README

# ne-ci

> Front-end project packaging tools

## Installation

\$ npm install ne-ci --g

## Option

### step 1

ne-ci init | i [create initialize your project config]

### step 2

ne-ci build | b [integration of resources, inject dependency, compress code]

### step 3

ne-ci upload | u [upload static assets to CDN]

### step 4 (optional, only for CMS project)

ne-ci publish | p [push html file into the CMS template]

### for more option of configuration

```
{
  encoding: 'UTF-8',
  entry: '*.html', // or an array exp: ['./a.html', './module/b.html', './11/*.html']
  output: {
    cdnPath: '',
    clean: true, // whether remove existing file in dist folder, before each building
    dir: {
      root: 'dist',
      image: 'images',
      js: 'js',
      css: 'css',
      others: 'assets'
    },
    cssFile: 'head~[hash].css',
    jsFile: 'foot~[hash].js',
  },
  svnRoot: 'd:/frontend', // setting svn root dir for compatible with absolute paths of previous projects
  log: false,
  image: {
    base64: 1024 // less than 1024 byte, would convert to base64 url
  },
  upload: { // add item of "otppwd: ******" in outer network environment
    username: '',
    password: '',
    path: '',
    includeHtml: false,
    exclude: []
  },
  api: {}
}
```

### >= 0.3.3

- support dynamic dependence and router

### v0.4.0

- fix bug: remove js file of unnecessary built [dist.js]

### v0.4.2

- optimize output formation of uploaded CDN url

---
_Source: https://npm.io/package/ne-ci · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
