mirror of
https://github.com/expo/react-native-community-cli.git
synced 2026-11-14 19:11:48 -10:00
* fix: change diff links for upgrade command * use prettier without @format pragma
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "node ./scripts/build.js",
|
|
"build-clean": "rm -rf ./packages/*/build",
|
|
"watch": "node ./scripts/watch.js",
|
|
"test": "jest",
|
|
"lint": "eslint . --cache --report-unused-disable-directives",
|
|
"flow-check": "flow check",
|
|
"postinstall": "yarn build",
|
|
"publish": "yarn build-clean && yarn build && lerna publish"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
|
|
"@babel/plugin-transform-strict-mode": "^7.0.0",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@react-native-community/eslint-config": "^0.0.2",
|
|
"babel-jest": "^24.0.0",
|
|
"chalk": "^2.4.2",
|
|
"eslint": "^5.10.0",
|
|
"flow-bin": "^0.94.0",
|
|
"glob": "^7.1.3",
|
|
"jest": "^24.0.0",
|
|
"lerna": "^3.10.6",
|
|
"micromatch": "^3.1.10",
|
|
"mkdirp": "^0.5.1",
|
|
"string-length": "^2.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@react-native-community",
|
|
"env": {
|
|
"es6": true,
|
|
"jest": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": [2, "fb"]
|
|
}
|
|
},
|
|
"jest": {
|
|
"projects": [
|
|
"packages/*"
|
|
]
|
|
}
|
|
}
|