MatthewYoung91 / applause-reporter-common

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client API for automation backend

Used by reporter integrations for JS test frameworks.

Written in TypeScript, transpiled to JS for NPM packaging using Rollup

creates NPM package in /dist folder in ES, UMD, and CJS module formats

also publishes Typescript types and sourcemaps into NPM package

runs tests using Node and Jest

Configured for Node 14+ . To update, change base tsconfig from "extends": "@tsconfig/node14/tsconfig.json", update "engines" section in package.json, and update .node-version file

Running

Use yarn run all . It will configure and run all the build steps

Run through local dev setup and build

yarn all

build

yarn build

test

yarn test

clean

yarn clean

lint

yarn lint

Publishing

yarn publish-verify

CI will do actual pubish on merge

About

License:MIT License


Languages

Language:TypeScript 94.2%Language:Shell 5.8%