jest-css-modules-transform
v4.0.2 jest webpack css-import transform preprocessor class classname css stylus and 6 more...
build
rm -fr dist && mkdir dist && tsc -p src --outDir dist
coverage
jest --coverage
lint
eslint src --ext ts
prepare
npm run lint && npm test
test
node test.js
test:unix
npm run build && npm run test:base && npm run test:config && npm run test:sassrc && npm run test:camel-case && npm run test:dashes && npm run test:camel-case-only && npm run test:prepend-data && npm run test:prepend-data-relative
test:windows
npm run build && npm run test:base && npm run test:config && npm run test:sassrc && npm run test:camel-case && npm run test:dashes && npm run test:prepend-data && npm run test:prepend-data-relative
test:base
jest --no-cache
test:config
jest --no-cache --config jest-with-css-config.js
test:sassrc
jest --no-cache --config jest-with-sassrc.js
test:camel-case
jest --no-cache --config jest-with-camel-case.js
test:camel-case-only
JEST_CSS_MODULES_TRANSFORM_CONFIG=other-config.js jest --no-cache --config jest-with-camel-case-only.js
test:dashes
jest --no-cache --config jest-with-dashes.js
test:prepend-data
jest --no-cache --config jest-prepend-data.js
test:prepend-data-relative
jest --no-cache --config jest-prepend-data-relative-path.js
npm i [email protected]
Metadata
- MIT
- >=10.0.0
- Mikhail Bodrov
- released 10/29/2020