3 ms·
What does react use typescript and coffescript for? they are listed as a dep in package.json
by Scarbutt 11y ago
What does react use typescript and coffescript for? they are listed as a dep in package.json
- spicyj 11y agoWe just test that their class systems work properly with React: https://github.com/facebook/react/tree/v0.14.0-rc1/src/isomorphic/modern/class/__tests__ https://github.com/facebook/react/tree/v0.14.0-rc1/src/isomo... We don't use either one outside of the tests.
- draw_down 11y agoI think that means you can move them to the `devDependencies`. edit: Derp, they're there already
- spicyj 11y agoThey already are in devDependencies.
- Scarbutt 11y agoIs it the same case for babel? re: ReactES6Class-test.js
- spicyj 11y agoYes, though we use Babel to compile all of our JS source code and tests.
- zpao 11y agoFWIW, https://github.com/facebook/react/blob/master/package.json 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/package.json https://github.com/facebook/react/blob/master/packages/react... is the package.json we ship to npm.