@asciidoctor/core

v2.2.8
Asciidoctor - the core library
asciidoc asciidoctor opal javascript library

test:graalvm

node tasks/graalvm.js

test:node

mocha spec/*/*.spec.js

test:browser

node spec/browser/run.js

test:types

rm -f types/tests.js && eslint types --ext .ts && 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

build:quick

node tasks/build.js && npm run test:node && npm run code:lint

clean

npm run clean:all

clean:all

node tasks/clean.js

clean:core

node tasks/clean.js core

clean:patch

node tasks/clean.js patch

clean:js

node tasks/clean.js js

dist

cross-env MINIFY=1 node tasks/dist.js

lint

npm run code:lint && npm run docs:lint

code:lint

eslint 'src/**/*.js' 'spec/**/*.js' 'spec/**/*.js' 'tasks/**/*.js' 'benchmark/**/*.js'

package

cross-env MINIFY=1 COPY_DIST=1 node tasks/build.js && cross-env MINIFY=1 npm run test

examples

node tasks/examples.js

server

node tasks/server.js

benchmark

node tasks/benchmark.js

docs:lint

documentation lint src/**

docs:build

documentation build src/** -f html -o build/docs -g

docs:serve

documentation serve src/** -g -w

docs

npm run docs:lint && npm run docs:build

travis

npm run lint && npm run package && npm run docs && npm run examples && npm run test:graalvm
npm i @asciidoctor/core

Metadata

  • MIT
  • >=8.11
  • Unknown
  • released 6/2/2024

Downloads