File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 2424 },
2525 "scripts" : {
2626 "start" : " node node_modules/react-native/local-cli/cli.js start" ,
27- "test" : " jest" ,
27+ "test" : " cross-env-shell jest" ,
2828 "android" : " react-native run-android --variant=Debug" ,
29- "lint" : " tslint --project ./tsconfig.json" ,
30- "lint:fix" : " tslint --fix --project ./tsconfig.json"
29+ "lint" : " cross-env-shell tslint --project ./tsconfig.json" ,
30+ "lint:fix" : " cross-env-shell tslint --fix --project ./tsconfig.json"
3131 },
3232 "dependencies" : {
3333 "react" : " 16.6.3" ,
5353 "babel-jest" : " 24.0.0" ,
5454 "babel-preset-airbnb" : " ^3.2.0" ,
5555 "babel-preset-react-native" : " ^4.0.1" ,
56+ "cross-env" : " ^5.2.0" ,
5657 "eslint" : " ^5.12.1" ,
5758 "eslint-config-airbnb" : " ^17.1.0" ,
5859 "eslint-plugin-import" : " ^2.14.0" ,
Original file line number Diff line number Diff line change @@ -2112,6 +2112,14 @@ create-react-class@^15.6.3:
21122112 loose-envify "^1.3.1"
21132113 object-assign "^4.1.1"
21142114
2115+ cross-env@^5.2.0 :
2116+ version "5.2.0"
2117+ resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"
2118+ integrity sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==
2119+ dependencies :
2120+ cross-spawn "^6.0.5"
2121+ is-windows "^1.0.0"
2122+
21152123cross-spawn@^5.0.1, cross-spawn@^5.1.0 :
21162124 version "5.1.0"
21172125 resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
@@ -3528,7 +3536,7 @@ is-typedarray@~1.0.0:
35283536 version "1.0.0"
35293537 resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
35303538
3531- is-windows@^1.0.2 :
3539+ is-windows@^1.0.0, is-windows@^1.0. 2 :
35323540 version "1.0.2"
35333541 resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
35343542
You can’t perform that action at this time.
0 commit comments