contentful-sdk-core

v6.7.0
Core modules for the Contentful JS SDKs

tsc

tsc --noEmit

lint

eslint src test --ext '.ts,.js'

test

tsdx test

build

npm run clean && npm run build:types && npm run build:js

clean

rimraf coverage && rimraf dist

prepush

npm run test:unit

pretest

npm run lint

build:js

rollup -c

prettier

prettier --write '**/*.{jsx,js,ts,tsx}'

precommit

npm run lint

prepublish

in-publish && npm run build || not-in-publish

test:cover

tsdx test --coverage

test:watch

tsdx test --watch

build:types

tsc --emitDeclarationOnly

prettier:check

prettier --check '**/*.{jsx,js,ts,tsx}'

browser-coverage

npm run test:cover && opener coverage/lcov-report/index.html

semantic-release

semantic-release

Metadata

  • MIT
  • >=6
  • Contentful
  • released 12/7/2020

Downloads