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-05-22 10:39:13 +00:00
|
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.20.0",
|
2017-05-23 10:40:47 +00:00
|
|
|
"babel-plugin-transform-async-to-generator": "^6.24.1",
|
2017-05-22 10:39:13 +00:00
|
|
|
"babel-plugin-transform-class-properties": "^6.18.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-05-22 10:39:13 +00:00
|
|
|
"babel-plugin-transform-flow-strip-types": "^6.21.0",
|
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.20.2",
|
2017-05-23 10:40:47 +00:00
|
|
|
"babel-preset-es2015-node": "^6.1.1",
|
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",
|
2017-05-23 10:40:47 +00:00
|
|
|
"codecov": "^2.2.0",
|
2017-01-26 12:56:40 +00:00
|
|
|
"eslint": "^3.11.1",
|
2017-05-23 10:40:47 +00:00
|
|
|
"eslint-config-fb-strict": "^20.0.3",
|
2017-01-26 12:56:40 +00:00
|
|
|
"eslint-plugin-babel": "^4.0.0",
|
|
|
|
"eslint-plugin-flowtype": "^2.28.2",
|
2017-05-23 10:40:47 +00:00
|
|
|
"eslint-plugin-react": "^7.0.1",
|
|
|
|
"flow-bin": "^0.46.0",
|
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-05-23 10:40:47 +00:00
|
|
|
"lerna": "^2.0.0-rc.5",
|
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-05-23 10:58:55 +00:00
|
|
|
"sinon": "^2.3.1",
|
|
|
|
"temp": "^0.8.3"
|
2017-01-26 12:56:40 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build-clean": "rm -rf ./packages/*/build",
|
|
|
|
"build": "node ./scripts/build.js",
|
2017-05-22 10:51:24 +00:00
|
|
|
"clean-all": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules && yarn run build-clean",
|
2017-01-26 12:56:40 +00:00
|
|
|
"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",
|
2017-05-22 10:51:24 +00:00
|
|
|
"watch": "yarn run build --silent && node ./scripts/watch.js"
|
2017-01-26 12:56:40 +00:00
|
|
|
},
|
|
|
|
"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",
|
2017-06-01 09:47:51 +00:00
|
|
|
"sinon",
|
|
|
|
"core-js"
|
2017-04-11 18:19:25 +00:00
|
|
|
]
|
2017-01-26 12:56:40 +00:00
|
|
|
}
|
|
|
|
}
|