60frames / jestpack

Jest Webpack Integration
MIT License
66 stars 3 forks source link

Support jest-cli@0.5.x and add supported node engines to package.json #4

Closed richardscarrott closed 9 years ago

richardscarrott commented 9 years ago

I think I need to use peerDependencies for jest-cli as it must use the same version as the host application but last I read it was being deprecated...

richardscarrott commented 9 years ago

I've now setup the example to use 'jest-webpack' as an installed package rather than just reaching into the parent dir.

Test Plan: If running Node 0.10.x cd example npm install npm install jest-cli@0.4 // to be compatible with Node 0.10.x (even with dep set to support 0.4 and 0.5 we still need to explicitly install it) npm start

Expect: All tests to pass

if running Node 4.x.x npm link cd example npm link jest-cli // because current master won't install all on Node 4.x.x npm install npm start

Expect: All tests to pass