2017-01-26 12:56:40 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2017-02-25 08:24:59 +00:00
|
|
|
"babel-core": "^6.23.1",
|
2018-02-10 05:43:48 +00:00
|
|
|
"babel-eslint": "8.2.1",
|
2017-10-12 14:37:11 +00:00
|
|
|
"babel-generator": "^6.26.0",
|
2018-03-27 19:27:32 +00:00
|
|
|
"babel-jest": "23.0.0-alpha.4",
|
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-06-26 12:05:54 +00:00
|
|
|
"babel-plugin-transform-es2015-spread": "^6.22.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",
|
2018-02-10 05:43:48 +00:00
|
|
|
"eslint": "4.17.0",
|
|
|
|
"eslint-config-fb-strict": "22.1.0",
|
|
|
|
"eslint-plugin-babel": "4.1.2",
|
|
|
|
"eslint-plugin-flowtype": "2.43.0",
|
2018-02-28 12:07:25 +00:00
|
|
|
"eslint-plugin-import": "^2.9.0",
|
2018-02-10 05:43:48 +00:00
|
|
|
"eslint-plugin-jest": "21.8.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "6.0.3",
|
|
|
|
"eslint-plugin-prettier": "2.6.0",
|
|
|
|
"eslint-plugin-react": "7.6.1",
|
|
|
|
"eslint-plugin-relay": "0.0.21",
|
2018-03-29 13:24:04 +00:00
|
|
|
"flow-bin": "^0.69.0",
|
2017-01-26 12:56:40 +00:00
|
|
|
"glob": "^7.1.1",
|
|
|
|
"istanbul-api": "^1.1.0",
|
|
|
|
"istanbul-lib-coverage": "^1.0.0",
|
2018-03-27 19:27:32 +00:00
|
|
|
"jest": "23.0.0-alpha.4",
|
2017-11-18 08:55:31 +00:00
|
|
|
"lerna": "2.4.0",
|
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-12-07 01:25:06 +00:00
|
|
|
"prettier": "1.9.1",
|
2017-04-11 18:19:25 +00:00
|
|
|
"promise": "^7.1.1",
|
2018-02-28 12:07:25 +00:00
|
|
|
"sinon": "^2.2.0",
|
2017-05-23 10:58:55 +00:00
|
|
|
"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-11-18 18:41:01 +00:00
|
|
|
"jest-coverage": "yarn run jest --coverage",
|
2017-01-26 12:56:40 +00:00
|
|
|
"lint": "eslint . --cache",
|
2017-06-12 08:14:59 +00:00
|
|
|
"lint-fix": "eslint . --fix --cache",
|
2017-11-18 08:55:31 +00:00
|
|
|
"postinstall": "node ./scripts/build.js",
|
2018-03-21 02:19:15 +00:00
|
|
|
"publish": "yarn run build-clean && yarn run build && lerna run prepare-release && lerna exec -- npm publish",
|
2017-06-23 16:03:10 +00:00
|
|
|
"postpublish": "lerna run cleanup-release",
|
2017-11-18 18:41:01 +00:00
|
|
|
"test-ci": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest-coverage -i && node scripts/mapCoverage.js && codecov",
|
2017-07-19 17:18:01 +00:00
|
|
|
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest",
|
2017-01-26 12:56:40 +00:00
|
|
|
"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
|
|
|
},
|
2017-11-18 08:55:31 +00:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2017-01-26 12:56:40 +00:00
|
|
|
"jest": {
|
2017-06-13 16:11:57 +00:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"packages/.*/build"
|
|
|
|
],
|
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"
|
2017-11-08 14:47:17 +00:00
|
|
|
]
|
2017-01-26 12:56:40 +00:00
|
|
|
}
|
|
|
|
}
|