Skip to content

Instantly share code, notes, and snippets.

@fakenickels
Created August 3, 2020 17:54
Show Gist options
  • Save fakenickels/94de72957639d361599884eef8321038 to your computer and use it in GitHub Desktop.
Save fakenickels/94de72957639d361599884eef8321038 to your computer and use it in GitHub Desktop.
var wat = {
name: "ghostflame",
version: "80.50.49",
private: !0,
scripts: {
"clean-generated": "./scripts/clean-generated.sh",
"compile-relay": "./scripts/compile-relay.sh",
"watch-relay": "./scripts/watch-relay.sh",
devtools: "react-devtools",
lint: "tslint --project ./tsconfig.json --config ./tslint.json",
"lint-fix": "tslint --fix --project ./tsconfig.json --config ./tslint.json",
"react-tests": "NODE_ENV=test jest --verbose --no-cache",
"test:ci":
"NODE_ENV=test jest --no-cache --runInBand --reporters jest-silent-reporter jest-junit --silent",
start: "react-native start --host 127.0.0.1",
"start:remote": "react-native start",
test: "NODE_ENV=test jest --watch",
"test-integration:ci":
"NODE_ENV=test TEST_TYPE=integration jest --runInBand --no-cache --forceExit --reporters jest-silent-reporter jest-junit --silent",
"test-integration":
"NODE_ENV=test TEST_TYPE=integration jest --verbose --runInBand --no-cache --forceExit",
"tsconfig:detox":
"jq '.compilerOptions.module |= \"commonjs\"' tsconfig.json > tsconfig-detox.json",
"test-e2e-install:remote":
"npm run tsconfig:detox && npx ts-mocha --project tsconfig-detox.json --paths 'e2e/init.ts' --opts e2e/mocha.opts --configuration android.emu.genymotion",
"test-e2e":
"npm run tsconfig:detox && npx ts-mocha --project tsconfig-detox.json --paths 'e2e/**/*.ts' --opts e2e/mocha.opts --configuration android.emu --reporter mocha-multi-reporters --reporter-options configFile=e2e/config.json",
"test-e2e-local:lending":
"npm run tsconfig:detox && npx ts-mocha --project ./tsconfig-detox.json e2e/init.ts --paths 'e2e/tests/lending/*.ts' --opts e2e/mocha.opts --configuration android.emu.local --reporter mocha-multi-reporters --reporter-options configFile=e2e/config.json",
"test-e2e-local:blackmirror":
"npm run tsconfig:detox && npx ts-mocha --project ./tsconfig-detox.json e2e/init.ts --paths 'e2e/tests/blackmirror/*.ts' --opts e2e/mocha.opts --configuration android.emu.local --reporter mocha-multi-reporters --reporter-options configFile=e2e/config.json",
"test-e2e-local":
"npm run tsconfig:detox && npx ts-mocha --project tsconfig-detox.json --paths 'e2e/**/*.ts' --opts e2e/mocha.opts --configuration android.emu.local --reporter mocha-multi-reporters --reporter-options configFile=e2e/config.json",
"test-e2e-local:stormguild-staging":
"npm run tsconfig:detox && npx ts-mocha --project tsconfig-detox.json --paths 'e2e/**/*.ts' --opts e2e/mocha.opts --configuration android.emu.local-to-stormguild-staging --reporter mocha-multi-reporters --reporter-options configFile=e2e/config.json",
"test-e2e-local:paths":
"npm run tsconfig:detox && npx ts-mocha --project tsconfig-detox.json e2e/init.ts --opts e2e/mocha.opts --configuration android.emu.local --reporter mocha-multi-reporters --reporter-options configFile=e2e/config.json --paths",
"test-e2e-genymotion":
"npm run test-e2e-install:remote && npx ts-mocha --project tsconfig-detox.json --opts e2e/mocha.opts --configuration android.emu.genymotion --reuse --reporter mocha-spec-json-output-reporter --reporter-options fileName=detox-report.json",
"test-verbose": "NODE_ENV=test jest --watch --verbose",
"update-schema": "mkdir -p data/ && node ./scripts/update-schema.js",
"check-typescript": "tsc --pretty",
clean:
"rm -rf node_modules ../../ios/react-native/Carthage ../../ios/react-native/Pods ../../build ../../android/cross-platform/react-native/build ../../android/cross-platform/react-native-app/build ./ios/react-native/*.ipa ./ios/react-native/DerivedData .jest && watchman watch-del $NU_HOME/mini-meta-repo/native/cross-platform/react-native",
postinstall: "bash ./scripts/postinstall.sh",
storybook: "storybook start -p 7007",
docs: "cd ./docs/website && npm ci && npm start",
"check-unused-exports":
"ts-unused-exports tsconfig.json $(find -E . -regex '^(node_modules).*(.ts|.tsx|.js|.jsx)$')",
"test-integration-modified":
"npm run test-integration $(git status -s | grep '__integration-tests__' | awk '{print $2}')",
stormguild: "npm run --prefix ../../../stormguild start:dev",
},
rnpm: { assets: ["./fonts/gotham"], android: { sourceDir: "react-native" } },
dependencies: {
"@babel/runtime": "7.2.0",
"@svgr/cli": "^4.2.0",
"apollo-cache-inmemory": "^1.2.8",
"apollo-client": "^2.4.0",
"apollo-link-http": "^1.5.4",
"apollo-link-state": "^0.4.1",
blankets:
"git+ssh://[email protected]/nubank/blankets.git#49e8a6fb7b7a1cf2c683e3a70f0470023574f3ad",
"bugsnag-react-native": "2.9.4",
"core-js": "^2.5.7",
cpf_cnpj: "^0.2.0",
d3: "^4.10.2",
"d3-shape": "^1.2.0",
formik: "^0.11.11",
"fuse.js": "^3.4.5",
graphql: "^0.13.2",
"graphql-tag": "^2.9.1",
"html-parse-stringify": "^1.0.3",
"i18n-js": "^3.3.0",
"js-joda": "^1.11.0",
"js-joda-timezone": "^2.1.1",
latinize: "^0.4.0",
"left-pad": "^1.1.3",
lodash: "^4.17.15",
"memoize-one": "^3.1.1",
metro: "^0.55.0",
"prop-types": "15.6.0",
react: "16.8.3",
"react-apollo": "^2.1.11",
"react-native": "^0.59.10",
"react-native-calendars": "^1.21.0",
"react-native-camera": "2.11.0",
"react-native-dash": "0.0.9",
"react-native-fullwidth-image":
"git://github.com/nubank/react-native-fullwidth-image.git#b2a0a9b37156e7b62ad84cbaea9fe5723ac4e98c",
"react-native-gesture-recognizers":
"git://github.com/nubank/react-native-gesture-recognizers.git#20b1b5a0493d77da0c83b29e7f65139142e9759c",
"react-native-htmlview": "0.12.1",
"react-native-linear-gradient": "2.4.0",
"react-native-markdown-view": "1.1.4",
"react-native-masked-text":
"git://github.com/nubank/react-native-masked-text.git#84bfbf1e7d19fd452b74b893d171483229ce4766",
"react-native-nu-cam": "0.0.6",
"react-native-parallax-scroll-view":
"git://github.com/fungilation/react-native-parallax-scroll-view.git#edf82d5768bd97992f00ee582d313cb44a13dfe7",
"react-native-popover-tooltip":
"git://github.com/nubank/react-native-popover-tooltip.git#e79ea9182f36c05a3dbe97413e6f32de2cec173d",
"react-native-qrcode-svg": "5.0.6",
"react-native-share": "1.1.3",
"react-native-shimmer-placeholder": "^1.0.29",
"react-native-svg": "9.5.1",
"react-native-svg-uri":
"git://github.com/nubank/react-native-svg-uri.git#e34750dd031e36893b60f96c3be5a20b369110f0",
"react-native-swiper": "1.5.5",
"react-native-view-shot": "2.6.0",
"react-navigation": "2.18.2",
"react-relay": "1.4.0",
"react-router-native": "^4.2.0",
recompose: "^0.26.0",
"relay-runtime": "1.4.0",
"remove-markdown": "^0.2.2",
"uglify-es": "3.2.2",
unstated: "^2.1.1",
"url-parse": "1.4.3",
"url-pattern": "^1.0.3",
"vanilla-masker": "^1.2.0",
yup: "^0.26.2",
},
devDependencies: {
"@babel/core": "7.2.2",
"@storybook/addon-actions": "^3.3.11",
"@storybook/addon-knobs": "^3.3.15",
"@storybook/addons": "^3.3.11",
"@storybook/react-native": "^3.3.11",
"@types/d3-array": "^1.2.1",
"@types/d3-scale": "^2.0.1",
"@types/d3-shape": "^1.2.6",
"@types/detox": "^12.8.4",
"@types/graphql": "^0.12.7",
"@types/jest": "^23.3.14",
"@types/latinize": "^0.2.15",
"@types/left-pad": "^1.1.2",
"@types/lodash": "^4.14.112",
"@types/memoize-one": "^3.1.1",
"@types/mocha": "5.2.5",
"@types/nock": "9.3.0",
"@types/node": "^10.5.5",
"@types/node-fetch": "2.1.2",
"@types/prop-types": "^15.5.4",
"@types/react": "^16.4.7",
"@types/react-native": "0.56.24",
"@types/react-native-calendars": "^1.20.7",
"@types/react-native-htmlview": "^0.12.2",
"@types/react-router": "^4.0.30",
"@types/react-router-native": "^4.2.3",
"@types/react-test-renderer": "^16.0.1",
"@types/url-parse": "~1.1.1",
"@types/yup": "^0.24.7",
"apollo-codegen": "0.17.0-alpha.13",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.4.2",
"babel-plugin-module-resolver": "2.5.0",
"babel-plugin-relay": "1.4.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react-native": "5.0.2",
"bugsnag-sourcemaps": "^1.0.1",
chai: "4.1.0",
"chai-as-promised": "7.1.1",
colors: "^1.1.2",
detox: "12.10.0",
"fs-extra": "^3.0.1",
"graphql-query-test-mock": "0.9.3",
"jasmine-check": "^1.0.0-rc.0",
jest: "23.4.2",
"jest-haste-map": "23.4.1",
"jest-junit": "^6.3.0",
"jest-silent-reporter": "^0.1.2",
"metro-react-native-babel-preset": "^0.45.0",
"metro-react-native-babel-transformer": "0.51.1",
mocha: "5.2.0",
"mocha-junit-reporter": "^1.22.0",
"mocha-multi-reporters": "^1.1.7",
"mocha-spec-json-output-reporter": "^1.1.7",
nock: "10.0.0",
"node-fetch": "2.2.0",
"pixel-diff": "^1.0.1",
"react-dom": "16.8.3",
"react-native-testing-library": "1.3.0",
"react-native-typescript-transformer": "1.2.11",
"react-test-renderer": "16.8.3",
"relay-compiler": "1.4.0",
request: "^2.81.0",
"ts-jest": "18.0.3",
"ts-mocha": "2.0.0",
"ts-unused-exports": "2.0.11",
tslint: "5.8.0",
typescript: "^3.1.6",
"wait-for-expect": "1.0.1",
wd: "^1.11.3",
weak: "^1.0.1",
xtend: "^4.0.1",
},
detox: {
configurations: {
"android.emu.local": {
binaryPath:
"../../../build/react-native-app/outputs/apk/mockApiTest/debug/react_native-mockApiTest-debug.apk",
build: "./scripts/build-detox.sh --flavor mockApiTest",
type: "android.emulator",
name: "Nexus_5X_API_25",
},
"android.emu.local-to-stormguild-staging": {
binaryPath:
"../../../build/react-native-app/outputs/apk/appiumTest/debug/react_native-appiumTest-debug.apk",
build: "./scripts/build-detox.sh --flavor appiumTest",
type: "android.emulator",
name: "Nexus_5X_API_25",
},
"android.emu.genymotion": {
binaryPath:
"../../../build/react-native-app/outputs/apk/mockApiTest/debug/react_native-mockApiTest-debug.apk",
build: "./scripts/build-detox.sh --flavor mockApiTest",
type: "android.attached",
name: "localhost:9999",
session: {
server: "ws://127.0.0.1:8099",
sessionId: "remote-connection",
},
},
},
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment