examples/react-tests/package.json
{
"name": "react-tests",
"version": "1.0.0",
"description": "mocha-mix react test example",
"main": "index.js",
"scripts": {
"test": "mocha --require ./mocha-processor.js $(find ./src -name *.test.js)",
"test:watch": "mocha --watch --require ./mocha-processor.js $(find ./src -name *.test.js)",
"jest": "BABEL_JEST_STAGE=0 jest",
"jest:w": "BABEL_JEST_STAGE=0 jest --watch"
},
"dependencies": {
"babel-core": "^6.4.0",
"babel-eslint": "^5.0.0-beta6",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"babel-register": "^6.4.3",
"eslint-plugin-react": "^3.15.0",
"mocha": "^2.3.4",
"mocha-mix": "^1.0.0-alpha.0",
"mocha-mix-jsdom": "0.0.1-alpha.1",
"mocha-mix-mockery": "0.0.1-alpha.3",
"mocha-mix-react": "0.0.1-alpha.0",
"react": "^0.14.6",
"react-addons-test-utils": "^0.14.6",
"react-dom": "^0.14.6"
},
"author": "myungsunrex@gmail.com",
"license": "MIT",
"jest": {
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
"setupTestFrameworkScriptFile": "<rootDir>/jest-processor.js",
"testFileExtensions": ["test.js"],
"testRunner": "<rootDir>/node_modules/jest-cli/src/testRunners/jasmine/jasmine2.js",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/mocha-mix",
"<rootDir>/node_modules/mocha-mix-react",
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/react-dom",
"<rootDir>/node_modules/react-addons-test-utils",
"<rootDir>/node_modules/fbjs"
]
}
}