e2-html-cli
E2 html cli library.
Last updated 19 days ago by dbuhon .
Unlicensed · Original npm · Tarball · package.json
$ cnpm install e2-html-cli 
SYNC missed versions from official npm registry.

❯ E2 HTML CLI

CLI E2 utility.

❯ Getting started

Step 1: Install

Install the module.

npm install e2-html-cli --save

Step 2: Configuration

Create a file name 'e2.config.json' at the root of your project.

The file should at least include the following property.

{
  "prefabPath":"src/myPrefab",
  "styleFilePath":"styles/myCssFile.scss",
  "assetPath":"src/assets",
}

Property

prefabPath Path to the prefab folder. Prefab

styleFilePath Path to the css file where the E2 core style will be applied. Style

assetPath Path to the asset folder where the definition file will be saved. Asset

Add build command

Add the E2 cli command to the site build process. The command should be execute before the site compilation.

The command can be execute locally by calling it with npm binary execution

npx e2

The command should be execute every time a change is made to the prefab folder.

❯ Author

❯ License

This project is unlicensed.

Current Tags

  • 0.0.501                                ...           latest (19 days ago)

10 Versions

  • 0.0.501                                ...           19 days ago
  • 0.0.435                                ...           4 months ago
  • 0.0.205                                ...           8 months ago
  • 0.0.193                                ...           9 months ago
  • 0.0.191                                ...           10 months ago
  • 0.0.189                                ...           10 months ago
  • 0.0.187                                ...           10 months ago
  • 0.0.185                                ...           10 months ago
  • 0.0.184                                ...           10 months ago
  • 0.0.171                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 37
Last Day 0
Last Week 1
Last Month 10
Dependencies (6)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |