summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYukai Huang2016-12-10 22:12:07 +0800
committerYukai Huang2016-12-10 22:12:07 +0800
commited83dfc862768572eab0c2aed629b1700ac9e224 (patch)
tree417752b240ba9f6cc26cfeba63b69e04d47b2bc8 /README.md
parent65a1a62cc0791cbf88a626d3cccf6fbe7bd1966e (diff)
Rename npm script
webpack scripts are meant to “build” assets, so place them under the same namespace * dev => build:dev * build => build:prod
Diffstat (limited to '')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 80efdf76..78ff6381 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ Get started
2. Enter the directory and type `bin/setup`, which will install npm/bower dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite.
3. Setup the configs, see more below
4. Setup environment variables which will overwrite the configs
-5. Build front-end bundle by `npm run build` (use `npm run dev` if you are in development)
+5. Build front-end bundle by `npm run build:prod` (use `npm run build:dev` if you are in development)
6. Run the server as you like (node, forever, pm2)
Upgrade guide