ldclient-js-common
v2.10.2lint
eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore
lint:all
eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src
format
npm run format:md && npm run format:js
format:md
prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'
format:js
prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'
format:test
npm run format:test:md && npm run format:test:js
format:test:md
prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'
format:test:js
prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'
build
cross-env NODE_ENV=development rollup -c rollup.config.js
build:min
cross-env NODE_ENV=production rollup -c rollup.config.js
test
cross-env NODE_ENV=test jest
test:junit
cross-env NODE_ENV=test jest --testResultsProcessor jest-junit
check-typescript
node_modules/typescript/bin/tsc
clean
rimraf dist/**
prepublishOnly
npm run build:min
npm i ldclient-js-common
Metadata
- Apache-2.0
- Whatever
- LaunchDarkly
- released 5/2/2019