@contentful/app-sdk

v4.0.0-alpha.7
SDK to develop custom UI Extension for the Contentful Web App

lint

eslint '{lib,test}/**/*.{t,j}s'

size

echo "Gzipped, estimate: $(gzip -9 -c dist/cf-extension-api.js | wc -c) bytes"

test

ts-mocha -p tsconfig.test.json 'test/unit/*.[jt]s' --reporter mocha-multi-reporters --reporter-options configFile=mocha.unit-reporters.json

build

rollup -c --compact

verify

node ./scripts/verify.js

lint:fix

npm run lint -- --fix

build:debug

npm run build -- --sourcemap

cypress:run

cypress run --browser chrome

integration

ts-node -P tsconfig.test.json test/integration

publish-all

node ./scripts/publish.js

cypress:open

cypress open

merge-report

mochawesome-merge ./test/cypress/reports/separate-reports/*.json > ./test/cypress/reports/full_report.json

clean-reports

rm -rf cypress/reports

prepublishOnly

npm run build

generate-report

npx mochawesome-report-generator --reportDir test/cypress/reports test/cypress/reports/full_report.json

semantic-release

semantic-release

integration:local

ts-node -P tsconfig.test.json test/integration/local
npm i @contentful/[email protected]

Metadata

  • MIT
  • Whatever
  • Contentful GmbH
  • released 5/26/2021

Downloads