ledger-libs

v0.0.0
| Package | Version | Descriptio

preinstall

node -e "if (process.env.npm_execpath.indexOf('yarn') === -1) { console.log('Please use yarn'); process.exit(1); }"

postinstall

flow-mono create-symlinks packages/hw-transport/.flowconfig && flow-mono install-types --overwrite --ignoreDeps=peer && rm packages/*/flow-typed/npm/react-redux_v5.x.x.js || echo 'failed to setup flow-typed'

test

yarn run build && lerna run test && yarn run lint && yarn run flow && yarn run prettier-diff

test-node

cd packages/test && yarn run test-node

test-browser

cd packages/test && yarn run test-browser

documentation

documentation build packages/hw-*/src/** packages/react-native-*/src/** --project-name '@ledgerhq/*' --project-version `node -e "console.log(require('./lerna.json').version)"` --project-homepage https://github.com/LedgerHQ/ledgerjs --config documentation.yml -g -f html -o packages/documentation-website/public/docs

prettier

prettier --write 'packages/*/src/**/*.js'

prettier-diff

prettier --list-different 'packages/*/src/**/*.js'

lint

eslint packages/**/src

flow

lerna --concurrency 1 run flow & sleep 600 && killall flow

build

BABEL_ENV=production && yarn run documentation && lerna run build

watch

lerna run --parallel watch

clean

rm -rf node_modules packages/*/node_modules/ packages/*/flow-typed/ packages/*/lib flow-typed

rebuild

lerna run clean && lerna run build

publish

yarn && lerna run clean && lerna run build && lerna publish --registry=https://registry.npmjs.org/
npm i ledger-libs

Metadata

Downloads