mirror of
https://github.com/status-im/metro.git
synced 2025-01-25 02:21:15 +00:00
5fdef3bdb2
Summary: I'm working on getting CI to pass. As a first step, I'll upgrade the lerna setup to use Yarn's workspaces (when yarn is run from the Metro root) as well as upgrading Flow to the same version we use in xplat. I also copied over the Jest type definitions. This should fix all type errors for a start. Reviewed By: davidaurelio Differential Revision: D6361276 fbshipit-source-id: 4e8661b7d5fe4e3f6dd1e6923891bd2d23c9b4db
68 lines
2.4 KiB
JSON
68 lines
2.4 KiB
JSON
{
|
|
"private": true,
|
|
"devDependencies": {
|
|
"babel-core": "^6.23.1",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-generator": "^6.26.0",
|
|
"babel-jest": "^19.0.0",
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.20.0",
|
|
"babel-plugin-transform-async-to-generator": "^6.24.1",
|
|
"babel-plugin-transform-class-properties": "^6.18.0",
|
|
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
|
|
"babel-plugin-transform-es2015-parameters": "^6.23.0",
|
|
"babel-plugin-transform-es2015-spread": "^6.22.0",
|
|
"babel-plugin-transform-flow-strip-types": "^6.21.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.20.2",
|
|
"babel-preset-es2015-node": "^6.1.1",
|
|
"babel-preset-fbjs": "^2.1.0",
|
|
"chalk": "^1.1.3",
|
|
"codecov": "^2.2.0",
|
|
"eslint": "^3.11.1",
|
|
"eslint-config-fb-strict": "^20.0.3",
|
|
"eslint-plugin-babel": "^4.0.0",
|
|
"eslint-plugin-flowtype": "^2.28.2",
|
|
"eslint-plugin-prettier": "2.1.1",
|
|
"eslint-plugin-react": "^7.2.1",
|
|
"flow-bin": "0.59.0",
|
|
"glob": "^7.1.1",
|
|
"istanbul-api": "^1.1.0",
|
|
"istanbul-lib-coverage": "^1.0.0",
|
|
"jest": "21.3.0-beta.8",
|
|
"lerna": "2.4.0",
|
|
"micromatch": "^2.3.11",
|
|
"mkdirp": "^0.5.1",
|
|
"prettier": "1.7.0",
|
|
"promise": "^7.1.1",
|
|
"sinon": "^2.3.1",
|
|
"temp": "^0.8.3"
|
|
},
|
|
"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",
|
|
"lint-fix": "eslint . --fix --cache",
|
|
"postinstall": "node ./scripts/build.js",
|
|
"publish": "yarn run build-clean && yarn run build && lerna run prepare-release && lerna publish",
|
|
"postpublish": "lerna run cleanup-release",
|
|
"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",
|
|
"typecheck": "flow check",
|
|
"watch": "yarn run build --silent && node ./scripts/watch.js"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"jest": {
|
|
"modulePathIgnorePatterns": [
|
|
"packages/.*/build"
|
|
],
|
|
"testEnvironment": "node",
|
|
"timers": "fake",
|
|
"setupFiles": [
|
|
"<rootDir>/scripts/setupJest.js"
|
|
]
|
|
}
|
|
}
|