Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
cc4aa7be
Commit
cc4aa7be
authored
8 years ago
by
Dan Abramov
Browse files
Options
Download
Email Patches
Plain Diff
Tweak init script output
parent
d279aa03
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/init.js
+10
-10
scripts/init.js
with
10 additions
and
10 deletions
+10
-10
scripts/init.js
+
10
-
10
View file @
cc4aa7be
...
...
@@ -91,22 +91,22 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
console
.
log
(
'
Success! Created
'
+
appName
+
'
at
'
+
appPath
+
'
.
'
);
console
.
log
(
'
Inside that directory, you can run several commands:
'
);
console
.
log
();
console
.
log
(
chalk
.
cyan
(
'
npm start
'
));
console
.
log
(
'
Starts the development server.
'
);
console
.
log
(
chalk
.
cyan
(
'
npm start
'
));
console
.
log
(
'
Starts the development server.
'
);
console
.
log
();
console
.
log
(
chalk
.
cyan
(
'
npm
test
'
));
console
.
log
(
'
Starts the test runner
.
'
);
console
.
log
(
chalk
.
cyan
(
'
npm
run build
'
));
console
.
log
(
'
Bundles the app into static files for production
.
'
);
console
.
log
();
console
.
log
(
chalk
.
cyan
(
'
npm
run build
'
));
console
.
log
(
'
Bundles the app into static files for production
.
'
);
console
.
log
(
chalk
.
cyan
(
'
npm
test
'
));
console
.
log
(
'
Starts the test runner
.
'
);
console
.
log
();
console
.
log
(
chalk
.
cyan
(
'
npm run eject
'
));
console
.
log
(
'
Removes this tool and copies build dependencies, configuration files
'
);
console
.
log
(
'
and scripts into the app directory. If you do this, you can’t go back!
'
);
console
.
log
(
chalk
.
cyan
(
'
npm run eject
'
));
console
.
log
(
'
Removes this tool and copies build dependencies, configuration files
'
);
console
.
log
(
'
and scripts into the app directory. If you do this, you can’t go back!
'
);
console
.
log
();
console
.
log
(
'
We suggest that you begin by typing:
'
);
console
.
log
();
console
.
log
(
'
cd
'
,
cdpath
);
console
.
log
(
chalk
.
cyan
(
'
cd
'
)
,
cdpath
);
console
.
log
(
'
'
+
chalk
.
cyan
(
'
npm start
'
));
if
(
readmeExists
)
{
console
.
log
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets