@asciidoctor/core

v3.0.4
Asciidoctor - the core library
asciidoc asciidoctor opal javascript library

dist

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

docs

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

lint

npm run code:lint

test

node tasks/test/unsupported-features.cjs && npm run test:node && npm run test:browser && npm run test:types

build

node tasks/build.cjs && npm run test && npm run lint

clean

npm run clean:all

server

node tasks/server.cjs

travis

npm run lint && npm run package && npm run docs && npm run examples && npm run test:graalvm

package

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

clean:js

node tasks/clean.cjs js

examples

node tasks/examples.cjs

benchmark

node tasks/benchmark.cjs

clean:all

node tasks/clean.cjs

code:lint

standard 'src/**/*.js' 'spec/**/*.cjs' 'spec/**/*.js' 'tasks/**/*.cjs' 'benchmark/**/*.cjs'

docs:lint

documentation lint src/**

test:node

mocha spec/*/*.spec.cjs && npm run test:node:esm

clean:core

node tasks/clean.cjs core

docs:build

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

docs:serve

documentation serve src/** -g -w

test:types

rm -f types/tests.js && eslint types --ext .ts && tsc --build types/tsconfig.json && node --input-type=commonjs types/tests.js

build:quick

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

clean:patch

node tasks/clean.cjs patch

test:browser

node spec/browser/run.cjs

test:graalvm

node tasks/graalvm.cjs

test:node:esm

mocha --experimental-json-modules spec/node/asciidoctor.spec.js
npm i @asciidoctor/[email protected]

Metadata

  • MIT
  • >=16
  • Unknown
  • released 2/12/2024

Downloads