@sitecore-jss/sitecore-jss

v22.1.3
This module is provided as a part of Sitecore JavaScript Rendering SDK. It contains the core JSS APIs (layout service) and utilities.

lint

eslint "./src/**/*.ts"

test

mocha --require ts-node/register "./src/**/*.test.ts"

build

npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json

clean

del-cli dist types

coverage

nyc npm test

generate-docs

npx typedoc --plugin typedoc-plugin-markdown --readme none --out ../../ref-docs/sitecore-jss --entryPoints src/index.ts --entryPoints src/graphql/index.ts --entryPoints src/i18n/index.ts --entryPoints src/layout/index.ts --entryPoints src/media/index.ts --entryPoints src/personalize/index.ts --entryPoints src/site/index.ts --entryPoints src/tracking/index.ts --entryPoints src/utils/index.ts --entryPoints src/editing/index.ts --githubPages false

prepublishOnly

npm run build
npm i @sitecore-jss/[email protected]

Metadata

Downloads