mirror of
https://github.com/astefanutti/decktape.git
synced 2024-12-02 06:35:51 +03:00
c8dd3b742d
With this package.json file, it is simpler to launch decktape. You no longer need to type the strange `./bin/phantomjs decktape.js` as it is embedded in the package.json file. You now have to enter one of the following command: ```bash npm start <command> <url> <file> npm start remark http://presentation.example.com> my-exported-presentation.pdf ``` This makes the user interface more consistent and easy to use. Other script aliases can also be easily defined.
21 lines
562 B
JSON
21 lines
562 B
JSON
{
|
|
"name": "decktape",
|
|
"version": "1.0.0",
|
|
"description": "high-quality PDF exporter for HTML5 presentation frameworks",
|
|
"main": "decktape.js",
|
|
"scripts": {
|
|
"start": "./bin/phantomjs decktape.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/astefanutti/decktape.git"
|
|
},
|
|
"author": "astefanutti",
|
|
"license": "unknown",
|
|
"bugs": {
|
|
"url": "https://github.com/astefanutti/decktape/issues"
|
|
},
|
|
"homepage": "https://github.com/astefanutti/decktape"
|
|
}
|