@style-hooks/core
v2.0.2 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" --delete-dir-on-start
build:es
cross-env BABEL_ENV=es babel src -d dist/es -x .js --ignore "**/*.test.js","**/test.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 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/24/2019