codemix / babel-plugin-typecheck

Static and runtime type checking for JavaScript in the form of a Babel plugin.
MIT License
886 stars 44 forks source link

Enable self typecheck when running tests #24

Closed fixplz closed 9 years ago

fixplz commented 9 years ago

Note we have "build-typed": "npm run build && babel --plugins typecheck -d ./lib ./src", – the output has to be built twice.

I think we should remove lib/ from the repo now.

phpnode commented 9 years ago

@fixplz thanks! Not sure about removing lib though.

fixplz commented 9 years ago

@phpnode Ok. I have not been checking in lib though because I don't understand the policy for updating it. It was last committed before 1.2.0.

phpnode commented 9 years ago

@fixplz ah, yes we could remove it from the repo because it gets built with the npm publish command.

fixplz commented 9 years ago

Ok, I'll just do that.

phpnode commented 9 years ago

If you .gitignore it I think we'll need to add an empty .npmignore too, apparently npm will use .gitignore if no .npmignore file exists, so npm publish would break.

fixplz commented 9 years ago

I see, I didn't know that.

How about adding a files section to package.json?