now

v13.2.0-canary.5
The command-line interface for Now

test

yarn test-lint

test-unit

nyc --reporter=html --reporter=text --all ava test/unit.js --fail-fast

test-integration

ava test/integration.js --serial --fail-fast

test-lint

eslint .

prepublishOnly

yarn build-download && cp download/default.js download/dist/now

coverage

nyc report --reporter=text-lcov > coverage.lcov && codecov

postinstall

node download/install.js

gzip

ls packed/now* | xargs gzip

bundle

pkg bin/now.js -c package.json -o packed/now --options no-warnings

pack

rm -rf packed && yarn build && yarn bundle

build-download

ncc build ./download/src --out ./download/dist

link

yarn run build-dev && cd link && npm link

build

ncc build -m -s ./src

build-dev

ncc build ./src

format-modified

prettier --parser typescript --write --single-quote `git diff --name-only | grep -e ".*\.ts$" -e ".*\.js$" | xargs echo`

Metadata

Downloads