react-jalaali-dates
v0.0.0 react-jalaali-dates jalaali date picker
build
npm run clean && npm run build:js && npm run build:css && npm run build:svg
build:js
babel src/ -d lib/ --ignore src/components
build:css
node-sass css/styles.scss lib/css/_datepicker.css
build:svg
webpack
clean
rimraf lib
commit
git-cz
cover
npm run cover:clean && npm run cover:mocha && npm run cover:check
cover:clean
rimraf coverage
cover:check
babel-node ./node_modules/istanbul/lib/cli check-coverage
cover:mocha
babel-node ./node_modules/istanbul/lib/cli cover node_modules/mocha/bin/_mocha -- --compilers js:babel-register,jsx:babel-register --require airbnb-js-shims --recursive ./test/_helpers test/**/*
lint
eslint --ext .js,.jsx src test
mocha
mocha --compilers js:babel-register,jsx:babel-register --require airbnb-js-shims --recursive ./test/_helpers
pretest
npm run --silent lint
tests-only
$NODE_DEBUG_OPTION npm run mocha -R --silent test
tests-karma
karma start
test
npm run tests-karma
storybook
start-storybook -p 9001 -s ./public
tag
git tag v$npm_package_version
gh-pages:clean
rimraf _gh-pages
gh-pages:build
$(npm bin)/build-storybook -o _gh-pages
gh-pages:copy-public
cp public/* _gh-pages/$1
gh-pages:publish
$(npm bin)/git-directory-deploy --directory _gh-pages
gh-pages
npm run gh-pages:clean && npm run gh-pages:build && npm run gh-pages:copy-public && npm run gh-pages:publish
version:patch
npm --no-git-tag-version version patch
version:minor
npm --no-git-tag-version version minor
version:major
npm --no-git-tag-version version major
preversion
npm run test && npm run check-changelog && npm run check-only-changelog-changed
postversion
git commit package.json CHANGELOG.md -m "Version $npm_package_version" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/
prepublish
in-publish && safe-publish-latest && npm run build || not-in-publish
postpublish
npm run gh-pages
check-changelog
expr $(git status --porcelain 2>/dev/null| grep "^\s*M.*CHANGELOG.md" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)
check-only-changelog-changed
(expr $(git status --porcelain 2>/dev/null| grep -v "CHANGELOG.md" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0
semantic-release
semantic-release pre && npm publish && semantic-release post
npm i react-jalaali-dates
Metadata
- MIT
- Whatever
- Ali Ghanavatian
- released 3/20/2017