tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257)

This commit is contained in:
Jiansen HE
2016-09-02 16:34:34 +01:00
committed by Dan Abramov
parent 2d99415fa0
commit 6c8713b7d1
23 changed files with 204 additions and 69 deletions

View File

@@ -51,7 +51,7 @@ var pathExists = require('path-exists');
* Example of valid values:
* - a specific npm version: "0.22.0-rc1"
* - a .tgz archive from any npm repo: "https://registry.npmjs.org/react-scripts/-/react-scripts-0.20.0.tgz"
* - a package prepared with `npm pack`: "/Users/home/vjeux/create-react-app/react-scripts-0.22.0.tgz"
* - a package prepared with `tasks/clean_pack.sh`: "/Users/home/vjeux/create-react-app/react-scripts-0.22.0.tgz"
*/
var commands = argv._;
if (commands.length === 0) {