react-datepicker
v2.12.0 react datepicker calendar date react-component
flow
flow
lint
run-p eslint flow sass-lint
test
cross-env NODE_ENV=test karma start karma.conf.js --single-run
build
cross-env NODE_ENV=production run-p build:** && run-p css:**
start
yarn --cwd docs-site install && yarn --cwd docs-site start
eslint
eslint --ext .js,.jsx src test
css:dev
node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css
build:js
rollup -c
css:prod
node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css
build-dev
cross-env NODE_ENV=development run-p build:** && run-p css:**
precommit
lint-staged
sass-lint
sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss'
test:watch
cross-env NODE_ENV=test karma start karma.conf.js --watch
css:modules:dev
node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css
css:modules:prod
node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css