@io-arc/task-yaml2json
YAML to JSON conversion
Last updated 15 days ago by arcone .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @io-arc/task-yaml2json 
SYNC missed versions from official npm registry.

@io-arc/task-yaml2json

YAML to JSON conversion

Usage

$ NODE_ENV=development MODE=once ia-yaml2json

Parameters

MODE=once: Once run.
MODE=watch: Watch run.

Specification

The directory where the file copied from uses config.

Default

Default settings when no definition made.

  • Working space: <project>/src/yaml2json
  • Output directory: dist
  • Deploy a directory: <project>/dist/common/json
  • Minify: false

example

# default.yml
wsDir:
  yaml2json: y2j

outputDir: dist

deployDir:
  json: [json] 

options:
  json:
    minify: true

Result:

  • Working space: <project>/src/y2j
  • Output directory: <project>/dist
  • Deploy a directory: <project>/dist/json
  • Minify a convert: true

Current Tags

  • 0.0.2                                ...           latest (15 days ago)

2 Versions

  • 0.0.2                                ...           15 days ago
  • 0.0.1                                ...           15 days ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 15
Dependencies (8)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |