@style-hooks/core
v1.0.7 css-in-js css in js css styles react hook react react hooks use-styles use styles hook and 7 more...
build
npm run build:cjs && npm run build:es
build:cjs
babel src -d dist/cjs -x .js --ignore "**/*.test.js","**/test.js","**/testUtils.js" --delete-dir-on-start
build:es
cross-env BABEL_ENV=es babel src -d dist/es -x .js --ignore "**/*.test.js","**/test.js","**/testUtils.js" --delete-dir-on-start
format
npm run format:cjs && npm run format:es && npm run format:src
format:cjs
prettier --write "dist/cjs/**/*.js"
format:es
prettier --write "dist/es/**/*.js"
format:src
prettier --write "src/**/*.js"
lint
eslint src
prepublishOnly
npm run lint && npm run test -- --coverage && npx codecov@3 -t 2f208bff-5c9a-4df1-8ee7-bec78eca0933 && npm run build && npm run format
test
jest
validate
npm run lint && npm run test -- --coverage && npm run format:src
npm i @style-hooks/[email protected]
Metadata
- MIT
- Whatever
- Jared Lunde
- released 8/14/2019