Commit 19b8d818 authored by Vadim Makeev's avatar Vadim Makeev

Update cli, change prepare to bundle

parent 54bef8dd
node_modules
prepared
bundled
presentation.zip
index.pdf
......@@ -43,9 +43,9 @@ You’ll need [Node.js](https://nodejs.org/) installed on your computer.
Once you’re done you can build a clean copy of your slides:
npm run prepare
npm run bundle
You’ll find your presentation in `prepared` folder. You can also run `npm run archive` to get the same files in `presentation.zip`.
You’ll find your presentation in `bundled` folder. You can also run `npm run archive` to get the same files in `presentation.zip`.
Publish your presentation online by running:
......
[build]
publish = "prepared"
command = "npm run prepare"
publish = "bundled"
command = "npm run bundle"
This diff is collapsed.
......@@ -33,14 +33,14 @@
},
"devDependencies": {
"@shower/cli": "^0.3.1",
"path-exists-cli": "^1.0.0"
"path-exists-cli": "^2.0.0"
},
"scripts": {
"pdf": "shower pdf",
"start": "shower serve",
"prepare": "shower prepare --files '**' --files '!{docs,node_modules,prepared}{,/**}' --files '!*.{md,toml,json}'",
"archive": "shower archive --files '**' --files '!{docs,node_modules,prepared}{,/**}' --files '!*.{md,toml,json}'",
"publish": "shower publish --files '**' --files '!{docs,node_modules,prepared}{,/**}' --files '!*.{md,toml,json}'",
"test": "npm run prepare && ls prepared && npm run archive && path-exists presentation.zip"
"bundle": "shower bundle --files '**' --files '!{docs,node_modules,bundled}{,/**}' --files '!*.{md,toml,json}'",
"archive": "shower archive --files '**' --files '!{docs,node_modules,bundled}{,/**}' --files '!*.{md,toml,json}'",
"publish": "shower publish --files '**' --files '!{docs,node_modules,bundled}{,/**}' --files '!*.{md,toml,json}'",
"test": "npm run bundle && ls bundled && npm run archive && path-exists presentation.zip"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment