@asciidoctor/core
Advanced tools
Comparing version 2.0.3 to 2.1.0
{ | ||
"name": "@asciidoctor/core", | ||
"version": "2.0.3", | ||
"version": "2.1.0", | ||
"description": "Asciidoctor - the core library", | ||
"main": "dist/node/asciidoctor.js", | ||
"browser": "dist/browser/asciidoctor.js", | ||
"types": "types", | ||
"engines": { | ||
@@ -21,3 +22,4 @@ "node": ">=8.11", | ||
"test:browser": "node spec/browser/run.js", | ||
"test": "node tasks/test/unsupported-features.js && npm run test:node && npm run test:browser", | ||
"test:types": "rm -f types/tests.js && dtslint types && tsc --build types/tsconfig.json && node types/tests.js", | ||
"test": "node tasks/test/unsupported-features.js && npm run test:node && npm run test:browser && npm run test:types", | ||
"build": "node tasks/build.js && npm run test && npm run lint", | ||
@@ -33,3 +35,3 @@ "build:quick": "node tasks/build.js && npm run test:node && npm run code:lint", | ||
"code:lint": "standard src/**/*.js spec/**/*.js tasks/**/*.js benchmark/**/*.js", | ||
"package": "cross-env MINIFY=1 node tasks/build.js && cross-env MINIFY=1 npm run test", | ||
"package": "cross-env MINIFY=1 COPY_DIST=1 node tasks/build.js && cross-env MINIFY=1 npm run test", | ||
"examples": "node tasks/examples.js", | ||
@@ -73,2 +75,3 @@ "server": "node tasks/server.js", | ||
"devDependencies": { | ||
"@types/node": "^12.7.8", | ||
"bestikk-download": "1.0.0", | ||
@@ -81,9 +84,11 @@ "bestikk-fs": "1.0.0", | ||
"dirty-chai": "2.0.1", | ||
"documentation": "9.1.1", | ||
"documentation": "12.1.3", | ||
"dtslint": "latest", | ||
"eslint": "5.12.1", | ||
"http-server": "0.11.1", | ||
"mocha": "5.1.1", | ||
"mocha": "6.1.4", | ||
"module-alias": "2.2.2", | ||
"opal-compiler": "1.0.13", | ||
"puppeteer": "1.14.0", | ||
"sinon": "5.0.6", | ||
"puppeteer": "1.18.0", | ||
"sinon": "7.3.2", | ||
"standard": "12.0.1" | ||
@@ -95,3 +100,6 @@ }, | ||
] | ||
}, | ||
"_moduleAliases": { | ||
"@asciidoctor/core": "dist/node/asciidoctor.js" | ||
} | ||
} |
@@ -20,3 +20,3 @@ # Asciidoctor core | ||
```javascript | ||
const asciidoctor = require('asciidoctor')() // <1> | ||
const asciidoctor = require('@asciidoctor/core')() // <1> | ||
const content = 'http://asciidoctor.org[*Asciidoctor*] ' + | ||
@@ -45,1 +45,5 @@ 'running on https://opalrb.com[_Opal_] ' + | ||
If you want to know more about Asciidoctor.js, please read the [User Manual](https://asciidoctor-docs.netlify.com/asciidoctor.js/). | ||
## Changelog | ||
Refer to the [CHANGELOG](https://github.com/asciidoctor/asciidoctor.js/blob/master/CHANGELOG.adoc) for a complete list of changes. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5640164
95733
48
18