@fmal/test-lib

v3.0.3
Test lib

test

jest

test:coverage

npm test -- --coverage

typecheck

tsc

lint

eslint . --cache --fix --ext ".js,.ts" --ignore-path ../../../.prettierignore

clean

rimraf dist coverage ../../node_modules/@fmal/test-lib

_babel

babel src -x ".js,.ts" --root-mode upward

prebuild

npm run clean

postbuild

cpy package.json ../../node_modules/@fmal/test-lib

build:types

tsc -p tsconfig.gentypes.json

build:cjs

cross-env BABEL_ENV=cjs npm run _babel -- -d ../../node_modules/@fmal/test-lib/dist/cjs

build:es

cross-env BABEL_ENV=es npm run _babel -- -d ../../node_modules/@fmal/test-lib/dist/es

build

cross-env NODE_ENV=production run-p build:*

prepublishOnly

rimraf dist && cpy "@fmal/test-lib/dist/**/*" .. --cwd=../../node_modules --parents
npm i @fmal/test-lib

Metadata

Downloads

Maintainers