GT2/GT2-iOS/node_modules/react-native-scripts/build/bin/react-native-scripts.js.map

1 line
1.3 KiB
Plaintext
Raw Normal View History

2018-02-12 17:26:06 +00:00
{"version":3,"sources":["react-native-scripts.js"],"names":["script","process","argv","args","slice","validCommands","indexOf","result","sync","require","resolve","concat","stdio","exit","status","console","log"],"mappings":";;AAEA;;;;;;AAEA,IAAMA,SAASC,QAAQC,IAAR,CAAa,CAAb,CAAf;;AACA,IAAMC,OAAOF,QAAQC,IAAR,CAAaE,KAAb,CAAmB,CAAnB,CAAb;;AAEA,IAAMC,gBAAgB,CAAC,OAAD,EAAU,SAAV,EAAqB,KAArB,EAA4B,OAA5B,EAAqC,MAArC,CAAtB;;AAEA,IAAIA,cAAcC,OAAd,CAAsBN,MAAtB,MAAkC,CAAC,CAAvC,EAA0C;AACxC;AACA,MAAMO,SAAS,qBAAMC,IAAN,CACb,MADa,EAEb,CAAC,kBAAD,EAAqBC,QAAQC,OAAR,CAAgB,gBAAgBV,MAAhC,CAArB,EAA8DW,MAA9D,CAAqER,IAArE,CAFa,EAGb,EAAES,OAAO,SAAT,EAHa,CAAf;AAKAX,UAAQY,IAAR,CAAaN,OAAOO,MAApB;AACD,CARD,MAQO;AACLC,UAAQC,GAAR,wBACsBhB,MADtB;AAGD","file":"react-native-scripts.js","sourcesContent":["\n// @flow\nimport spawn from 'cross-spawn';\n\nconst script = process.argv[2];\nconst args = process.argv.slice(3);\n\nconst validCommands = ['eject', 'android', 'ios', 'start', 'test'];\n\nif (validCommands.indexOf(script) !== -1) {\n // the command is valid\n const result = spawn.sync(\n 'node',\n ['--no-deprecation', require.resolve('../scripts/' + script)].concat(args),\n { stdio: 'inherit' }\n );\n process.exit(result.status);\n} else {\n console.log(\n `Invalid command '${script}'. Please check if you need to update react-native-scripts.`\n );\n}\n"]}