diff --git a/README.adoc b/README.adoc index f8523dac..54f2b6af 100644 --- a/README.adoc +++ b/README.adoc @@ -26,7 +26,7 @@ endif::[] ifdef::env-github[] image:https://travis-ci.org/asciidoctor/asciidoctor-reveal.js.svg?branch=master[Build Status,link=https://travis-ci.org/asciidoctor/asciidoctor-reveal.js] image:http://img.shields.io/gem/v/asciidoctor-revealjs.svg[gem, link=https://rubygems.org/gems/asciidoctor-revealjs] -image:http://img.shields.io/npm/v/asciidoctor-reveal.js.svg[npm, link=https://www.npmjs.org/package/asciidoctor-reveal.js] +image:http://img.shields.io/npm/v/@asciidoctor/reveal.js.svg[npm, link=https://www.npmjs.org/package/@asciidoctor/reveal.js] endif::[] // IMPORTANT: Changes made to this description should be sync'ed with the readme field in package.json. @@ -143,7 +143,7 @@ If you don't have a `package.json` file in your project directory, you can creat You can now install the dependencies: - $ npm i --save asciidoctor asciidoctor-reveal.js + $ npm i --save asciidoctor @asciidoctor/reveal.js === Convert AsciiDoc into slides @@ -182,11 +182,11 @@ If you don't have an existing presentation, you can create a sample presentation To convert the sample presentation into slides, open a terminal and type: - $ $(npm bin)/asciidoctor -r asciidoctor-reveal.js -b revealjs presentation.adoc + $ $(npm bin)/asciidoctor -r @asciidoctor/reveal.js -b revealjs presentation.adoc On windows, open PowerShell and type: - $ .\node_modules\.bin\asciidoctor.cmd -r asciidoctor-reveal.js -b revealjs presentation.adoc + $ .\node_modules\.bin\asciidoctor.cmd -r @asciidoctor/reveal.js -b revealjs presentation.adoc The above command will generate a file named [.path]_presentation.html_. You can open this file in a browser. @@ -200,7 +200,7 @@ Alternatively, you can use the JavaScript API to register the converter and conv ---- // Load Asciidoctor.js and the reveal.js converter var asciidoctor = require('@asciidoctor/core')() -var asciidoctorRevealjs = require('asciidoctor-reveal.js') +var asciidoctorRevealjs = require('@asciidoctor/reveal.js') asciidoctorRevealjs.register() // Convert the document 'presentation.adoc' using the reveal.js converter diff --git a/package-lock.json b/package-lock.json index e07bfc73..1f5b0dff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "asciidoctor-reveal.js", - "version": "2.0.2-dev", + "name": "@asciidoctor/reveal.js", + "version": "3.0.0-dev", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a994817e..dac3b185 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "asciidoctor-reveal.js", + "name": "@asciidoctor/reveal.js", "version": "3.0.0-dev", "description": "A reveal.js converter for Asciidoctor.js. Write your slides in AsciiDoc!", "main": "dist/main.js",