api-check
v7.5.0 javascript validation api function propTypes
start
npm run test
test
COVERAGE=true NODE_ENV=test karma start
test:single
COVERAGE=true NODE_ENV=test karma start --single-run
test:debug
echo 'WARNING: This is currently not working quite right...' && NODE_ENV=test karma start --browsers Chrome
build:dist
NODE_ENV=development webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors
build:prod
NODE_ENV=production webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors
build
npm run build:dist & npm run build:prod
ci
npm run code-checks && npm run test:single && npm run check-coverage && npm run build
check-coverage
./node_modules/istanbul/lib/cli.js check-coverage --statements 100 --functions 100 --lines 100 --branches 100
report-coverage
codeclimate < ./coverage/lcov.info
deploy
npm run deployClean && npm run deployCopy && npm run deploySurge
deploySurge
surge -p deploy.ignored -d api-check.surge.sh
deployCopy
cp index.html deploy.ignored/ && cp dist/api-check.js deploy.ignored/dist/
deployClean
rm -rf deploy.ignored/ && mkdir deploy.ignored/ && mkdir deploy.ignored/dist/
only-check
node node_modules/kcd-common-tools/shared/scripts/only-check.js
console-check
node node_modules/kcd-common-tools/shared/scripts/console-check.js
code-checks
npm run only-check && npm run console-check
release
npm run build && with-package git commit -am pkg.version && with-package git tag pkg.version && git push && npm publish && git push --tags
release:beta
npm run release && npm run tag:beta
tag:beta
with-package npm dist-tag add [email protected] beta
npm i [email protected]
Metadata
- MIT
- Whatever
- Kent C. Dodds
- released 6/22/2015