react-figma

v0.0.1-alpha.22
This plugin template uses Typescript. If you are familiar with Javascript, Typescript will look very familiar. In fact, valid Javascript code is already valid Typescript code.
figma react figma-plugins

tsc

tsc -p tsconfig.json

test

jest

prettify

prettier "src/**/*.{js,jsx,ts,tsx}" "examples/**/*.{js,jsx,ts,tsx}" --ignore-path ./.prettierignore --write && git add . && git status

build

npm run build:clean && npm run build:lib && npm run build:js

build:clean

rimraf dist

build:lib

cross-env BABEL_ENV=production tsc -p tsconfig.json

build:js

copyfiles -u 1 src/**/*.js dist

prepublish

npm run build

gitbook:clean

rm -rf _book/

gitbook:start

gitbook serve

gitbook:build

gitbook build

now-build

npm run gitbook:build

Metadata

  • MIT
  • >=10.16.2 <12.0.0
  • Ilya Lesik
  • released 11/25/2019

Downloads

Maintainers