0.3.3 • Published 1 year ago

@design-sync/json-plugin v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@design-sync/json-plugin

npm version npm downloads

Transforms design tokens to flat json structure without all the tokens metadata and types, also dereference all token aliases

Usage

Install package:

# npm
npm install @design-sync/json-plugin

# yarn
yarn add @design-sync/json-plugin

# pnpm
pnpm install @design-sync/json-plugin

# bun
bun install @design-sync/json-plugin

in the config file add the plugin to the plugins array

import { jsonPlugin } from '@design-sync/json-plugin'

export default {
  plugins: [jsonPlugin({
    // relative path in the `out` root config, default ''
    outDir: 'json',
  })],
}

Development

  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Made with 💛

Published under MIT License.

0.3.2

1 year ago

0.3.3

1 year ago

0.3.0

1 year ago

0.3.1

1 year ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.3

2 years ago

0.2.4

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago