Files
Kacper WiszczukandMichał Pierzchała b03f7413cc chore: migrate tools to TypeScript (#296)
* Migrate tools package to Typescript

* Prebuild ts

* Improve yarn build-clean

* Remove unnecessary statements

* Fix linting

* Fix eslint

* Update packages/tools/src/isPackagerRunning.ts

Co-Authored-By: Michał Pierzchała <[email protected]>

* adjust package.json

* add vscode helper settings

* remove dead node-fetch references
2019-05-17 22:32:54 +02:00

51 lines
1.6 KiB
JSON

{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"prebuild": "yarn build:ts",
"build": "node ./scripts/build.js",
"build:ts": "node ./scripts/buildTs.js",
"build-clean": "rm -rf ./packages/*/build ./packages/*/tsconfig.tsbuildinfo",
"watch": "node ./scripts/watch.js",
"test": "jest",
"test:ci:unit": "jest packages --ci --coverage",
"test:ci:e2e": "jest e2e --ci -i",
"lint": "eslint --ext .js,.ts . --cache --report-unused-disable-directives",
"test:ci:cocoapods": "ruby packages/platform-ios/native_modules.rb",
"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",
"@babel/preset-typescript": "^7.3.3",
"@react-native-community/eslint-config": "^0.0.5",
"@types/jest": "^24.0.11",
"@types/node": "^11.13.0",
"babel-jest": "^24.6.0",
"babel-plugin-module-resolver": "^3.2.0",
"chalk": "^2.4.2",
"eslint": "^5.10.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.17.0",
"execa": "^1.0.0",
"flow-bin": "^0.97.0",
"flow-typed": "^2.5.1",
"glob": "^7.1.3",
"jest": "^24.6.0",
"lerna": "^3.14.0",
"metro-memory-fs": "^0.53.1",
"micromatch": "^3.1.10",
"mkdirp": "^0.5.1",
"string-length": "^2.0.0",
"typescript": "^3.4.5"
}
}