stampit-org / stamp-specification

The Stamp Specification: Composables
434 stars 16 forks source link

Implement "$ check-compose FILENAME" command. #80

Closed koresar closed 8 years ago

koresar commented 8 years ago

@troutowicz So I implemented this thing. Usage:

$ npm i stamp-specification -g
$ check-compose path/to/compose.js

The compose.js can be either ES5 or ES6 (babel is integrated into check-composecommand).

Q1: is this a good implementation? Q2: can someone throw an idea where to document ^that^? Same README or new README or new repo?

koresar commented 8 years ago

Ignore the circle.ci build failure. It's buggy. For some weird reason it tried to build the build/ directory using babel@5, although in package.json it clearly stated babel@6.

ericelliott commented 8 years ago

CircleCI caches dependencies, so when there are breaking dependency updates, the build can fail. To get it passing, select "Rebuild without cache".

koresar commented 8 years ago

CI builds fine. I'm merging this and moving test and the command line to the new repo + new NPM module https://github.com/stampit-org/check-compose.