mirror of
https://github.com/expo/react-native-community-cli.git
synced 2026-11-14 19:11:48 -10:00
54 lines
1.3 KiB
JSON
54 lines
1.3 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",
|
|
"@callstack/eslint-config": "^3.0.2",
|
|
"babel-jest": "^24.0.0",
|
|
"chalk": "^2.4.2",
|
|
"eslint": "^5.10.0",
|
|
"eslint-plugin-prettier": "^3.0.1",
|
|
"flow-bin": "^0.87.0",
|
|
"glob": "^7.1.3",
|
|
"jest": "^24.0.0",
|
|
"lerna": "^3.10.6",
|
|
"micromatch": "^3.1.10",
|
|
"mkdirp": "^0.5.1",
|
|
"prettier": "^1.16.0",
|
|
"string-length": "^2.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@callstack",
|
|
"rules": {
|
|
"global-require": 0,
|
|
"no-console": 0
|
|
}
|
|
},
|
|
"prettier": {
|
|
"proseWrap": "never",
|
|
"singleQuote": true,
|
|
"trailingComma": "es5"
|
|
},
|
|
"jest": {
|
|
"projects": [
|
|
"packages/*"
|
|
]
|
|
}
|
|
}
|