build config updated
copying robots.txt moved to separate script export script merged with build script
This commit is contained in:
1 parent
0ae9601309
commit
dded475c47
3 files changed
+7
-6
No files matched your search
+2
-3
@@ -7,9 +7,8 @@
|
||||
"scripts": {
|
||||
"start": "NODE_ENV=production node src/server.js",
|
||||
"dev": "node src/server.js",
|
||||
"next": "next",
|
||||
"build": "next build",
|
||||
"export": "npm run build && next export -o dist && npm run sitemap && npm run feed",
|
||||
"build": "next build && next export -o dist && npm run sitemap && npm run feed && npm run robots-txt",
|
||||
"robots-txt": "node scripts/robots-txt.js",
|
||||
"sitemap": "node scripts/sitemap.js",
|
||||
"feed": "node scripts/feed.js",
|
||||
"test": "mocha --compilers js:babel-register"
|
||||
|
||||
Reference in new issue
Block a user