now

v15.6.0-canary.4
The command-line interface for Now

test

yarn test-lint

test-unit

nyc ava test/*unit.js --serial --fail-fast

test-integration

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

test-lint

eslint . --ext .js,.ts

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

node build.js

build-dev

node build.js --dev

format-modified

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

Metadata

Downloads