News for hackers. Stuff that matters.
Re:React 0.14 Release Candidate by Scarbutt on Thursday September 10, 2015 @01:23PM (#10199339)
What does react use typescript and coffescript for? they are listed as a dep in package.json
Re:React 0.14 Release Candidate by spicyj on Thursday September 10, 2015 @01:24PM (#10199345)
We just test that their class systems work properly with React:

https://github.com/facebook/react/tree/v0.14.0-rc1/src/isomo...

We don't use either one outside of the tests.

Re:React 0.14 Release Candidate by draw_down on Thursday September 10, 2015 @01:41PM (#10199425)
I think that means you can move them to the `devDependencies`.

edit: Derp, they're there already

Re:React 0.14 Release Candidate by spicyj on Thursday September 10, 2015 @01:46PM (#10199439)
They already are in devDependencies.
Re:React 0.14 Release Candidate by Scarbutt on Thursday September 10, 2015 @01:47PM (#10199455)
Is it the same case for babel? re: ReactES6Class-test.js
Re:React 0.14 Release Candidate by spicyj on Thursday September 10, 2015 @01:51PM (#10199477)
Yes, though we use Babel to compile all of our JS source code and tests.
Re:React 0.14 Release Candidate by empyrical on Thursday September 10, 2015 @06:46PM (#10201021)
Will you end up testing a Babelified es6 class and a "native" es6 class, or will you keep testing just the Babelified version for now?
Re:React 0.14 Release Candidate by spicyj on Thursday September 10, 2015 @07:04PM (#10201096)
Probably the latter, though we might add a native one too after we run our tests using a version of Node that supports classes.
Re:React 0.14 Release Candidate by zpao on Thursday September 10, 2015 @02:00PM (#10199527)
FWIW, https://github.com/facebook/react/blob/master/package.json is not actually the package.json we ship to npm. This is just for building. https://github.com/facebook/react/blob/master/packages/react... is the package.json we ship to npm.