@diez/sources
Utilities and metaprogramming extensions for design sources.
Last updated 10 months ago by diezadmin .
SEE LICENSE.md · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @diez/sources 
SYNC missed versions from official npm registry.

@diez/sources

This package provides utilities and metaprogramming extensions for design sources. Its current capabilities include:

  • Extracting design systems from files with support for Sketch.
  • Extracting designs systems from services including Figma and InVision Design System Manager.

Extraction as a service is provided via the CLI command diez extract for any Diez project that depends on @diez/sources. Services can be registered in .diezrc like so:

{
  "designs": {
    "services": [
      "https://projects.invisionapp.com/dsm-export/...",
      "https://www.figma.com/file/...",
      ...
    ]
  }
}

In addition to services you register, diez extract will automatically look for design files in ./designs/. Supported assets will be extracted to ./assets/, and source code will be generated in ./src/designs.

If desired, these directories can be customized using .diezrc:

{
  "designs": {
    "sources": "./my-designs",
    "assets": "./my-assets",
    "code": "./src/my-designs",
    "services": [...]
  }
}

Current Tags

  • 10.0.0-beta.4                                ...           latest (10 months ago)

13 Versions

  • 10.0.0-beta.4                                ...           10 months ago
  • 10.0.0-beta.3                                ...           10 months ago
  • 10.0.0-beta.2                                ...           a year ago
  • 10.0.0-beta.1                                ...           a year ago
  • 10.0.0-beta.0                                ...           a year ago
  • 10.0.0-alpha.8                                ...           a year ago
  • 10.0.0-alpha.7                                ...           a year ago
  • 10.0.0-alpha.6                                ...           a year ago
  • 10.0.0-alpha.5                                ...           a year ago
  • 10.0.0-alpha.4                                ...           a year ago
  • 10.0.0-alpha.3                                ...           a year ago
  • 10.0.0-alpha.2                                ...           a year ago
  • 10.0.0-alpha.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 13
Dependencies (13)
Dev Dependencies (16)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |