2017-01-26 12:56:40 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2017-02-25 08:24:59 +00:00
|
|
|
"babel-core": "^6.23.1",
|
2017-01-26 12:56:40 +00:00
|
|
|
"babel-eslint": "^7.1.1",
|
2017-02-23 16:38:25 +00:00
|
|
|
"babel-jest": "^19.0.0",
|
2017-01-26 12:56:40 +00:00
|
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.13.0",
|
|
|
|
"babel-plugin-transform-async-to-generator": "^6.16.0",
|
2017-02-25 08:24:59 +00:00
|
|
|
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
|
|
|
|
"babel-plugin-transform-es2015-parameters": "^6.23.0",
|
2017-01-26 12:56:40 +00:00
|
|
|
"babel-plugin-transform-flow-strip-types": "^6.18.0",
|
2017-02-23 16:11:05 +00:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
2017-04-11 17:14:28 +00:00
|
|
|
"babel-preset-fbjs": "^2.1.0",
|
2017-01-26 12:56:40 +00:00
|
|
|
"chalk": "^1.1.3",
|
|
|
|
"codecov": "^1.0.1",
|
|
|
|
"eslint": "^3.11.1",
|
2017-02-28 11:45:45 +00:00
|
|
|
"eslint-config-fb-strict": "^19.0.1",
|
2017-01-26 12:56:40 +00:00
|
|
|
"eslint-plugin-babel": "^4.0.0",
|
|
|
|
"eslint-plugin-flowtype": "^2.28.2",
|
2017-02-25 08:24:59 +00:00
|
|
|
"eslint-plugin-react": "^6.10.0",
|
2017-04-11 17:22:31 +00:00
|
|
|
"flow-bin": "^0.43.1",
|
2017-01-26 12:56:40 +00:00
|
|
|
"glob": "^7.1.1",
|
|
|
|
"istanbul-api": "^1.1.0",
|
|
|
|
"istanbul-lib-coverage": "^1.0.0",
|
2017-02-23 16:38:25 +00:00
|
|
|
"jest": "^19.0.2",
|
2017-03-01 11:01:24 +00:00
|
|
|
"lerna": "v2.0.0-beta.38",
|
2017-01-26 12:56:40 +00:00
|
|
|
"micromatch": "^2.3.11",
|
2017-02-23 16:38:25 +00:00
|
|
|
"mkdirp": "^0.5.1",
|
2017-04-11 18:19:25 +00:00
|
|
|
"promise": "^7.1.1",
|
2017-02-23 16:38:25 +00:00
|
|
|
"sinon": "^1.17.7"
|
2017-01-26 12:56:40 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build-clean": "rm -rf ./packages/*/build",
|
|
|
|
"build": "node ./scripts/build.js",
|
|
|
|
"clean-all": "rm -rf ./node_modules; rm -rf ./packages/*/node_modules; yarn run build-clean",
|
|
|
|
"jest-coverage": "yarn run jest -- --coverage",
|
|
|
|
"lint": "eslint . --cache",
|
|
|
|
"postinstall": "node ./scripts/postinstall.js && node ./scripts/build.js",
|
|
|
|
"publish": "yarn run build-clean && yarn run build && lerna publish",
|
|
|
|
"test-ci": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest-coverage -- -i && node scripts/mapCoverage.js && codecov",
|
|
|
|
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest && yarn run test-examples",
|
|
|
|
"typecheck": "flow check",
|
|
|
|
"watch": "yarn run build; node ./scripts/watch.js"
|
|
|
|
},
|
|
|
|
"jest": {
|
2017-04-11 18:19:25 +00:00
|
|
|
"automock": true,
|
2017-04-11 17:14:28 +00:00
|
|
|
"testEnvironment": "node",
|
2017-04-11 18:19:25 +00:00
|
|
|
"timers": "fake",
|
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/scripts/setupJest.js"
|
|
|
|
],
|
|
|
|
"unmockedModulePathPatterns": [
|
|
|
|
"promise",
|
|
|
|
"source-map",
|
|
|
|
"denodeify",
|
|
|
|
"fbjs",
|
|
|
|
"sinon"
|
|
|
|
]
|
2017-01-26 12:56:40 +00:00
|
|
|
}
|
|
|
|
}
|