mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
* Remove unnecessary dependencies(#751) * Sort alphabetically
This commit is contained in:
14
packages/react-dev-utils/inquirer.js
vendored
Normal file
14
packages/react-dev-utils/inquirer.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var inquirer = require('inquirer');
|
||||
|
||||
module.exports = inquirer;
|
||||
@@ -19,6 +19,7 @@
|
||||
"FileSizeReporter.js",
|
||||
"formatWebpackMessages.js",
|
||||
"getProcessForPort.js",
|
||||
"inquirer.js",
|
||||
"InterpolateHtmlPlugin.js",
|
||||
"launchEditor.js",
|
||||
"noopServiceWorkerMiddleware.js",
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
"file-loader": "0.11.1",
|
||||
"fs-extra": "3.0.1",
|
||||
"html-webpack-plugin": "2.28.0",
|
||||
"inquirer": "3.0.6",
|
||||
"jest": "20.0.3",
|
||||
"object-assign": "4.1.1",
|
||||
"postcss-flexbugs-fixes": "3.0.0",
|
||||
|
||||
2
packages/react-scripts/scripts/eject.js
vendored
2
packages/react-scripts/scripts/eject.js
vendored
@@ -21,9 +21,9 @@ const path = require('path');
|
||||
const execSync = require('child_process').execSync;
|
||||
const spawnSync = require('cross-spawn').sync;
|
||||
const chalk = require('chalk');
|
||||
const inquirer = require('inquirer');
|
||||
const paths = require('../config/paths');
|
||||
const createJestConfig = require('./utils/createJestConfig');
|
||||
const inquirer = require('react-dev-utils/inquirer');
|
||||
|
||||
const green = chalk.green;
|
||||
const cyan = chalk.cyan;
|
||||
|
||||
Reference in New Issue
Block a user