This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

17 lines
704 B
JavaScript

#!/usr/bin/env node
const chalk = require('chalk');
const packageJson = require('../package.json');
// Don't run the script when doing `yarn` or `npm install` in this package.
if (process.env.PWD === process.env.INIT_CWD) {
process.exit(0);
return;
}
console.info(chalk.green(`
Successfully installed ${chalk.red(packageJson.name)}. This package contains core unimodules that are commonly depended on by other unimodules. You will need to configure your project before using other unimodules like ${chalk.red('expo-camera')}, ${chalk.red('expo-media-library')} and others.
See configuration guide:
${chalk.blue(`https://www.npmjs.com/package/${packageJson.name}/v/${packageJson.version}`)}
`));