Skip to content

imcuttle/measure

Repository files navigation

measure

Open source Project for Measure (psd) easily

Getting started

npm i measure-export-cli -g
# Run the online server
measure-export start path/to/psdDir
# Build assets in $PWD/dist
measure-export build path/to/psdDir

measure-export --help
measure-export start --help
measure-export build --help

Processor about the monorepo

TODO

  • integration tests should be applied on ui and cli

Packages

Related

  • sketch measure - Make it a fun to create spec for developers and teammates
  • psd.js - A Photoshop PSD file parser for NodeJS and browsers

Developing

  • Install dependencies

    npm install
  • This repo use lerna for managing multiply packages, so need to bootstrap dependencies of each package.

    npx lerna bootstrap

    Note: It will run prepare script of each packages in this step

  • Dev & Build for each available packages

    # Watch mode
    npm run dev
    
    # Build
    npm run dist

Contributing

  • Fork it!
  • Create your new branch:
    git checkout -b feature-new or git checkout -b fix-which-bug
  • Start your magic work now
  • Make sure testing passes
  • Commit your changes:
    git commit -am 'feat: some description (close #123)' or git commit -am 'fix: some description (fix #123)'
  • Push to the branch: git push
  • Submit a pull request :)

Authors

This library is written and maintained by imcuttle, moyuyc95@gmail.com.

License

MIT