UNPKG

babel-plugin-optimize-clsx

Version:

Babel plugin to optimize the use of clsx, classnames, and all libraries with a compatible API

75 lines 2.12 kB
{ "name": "babel-plugin-optimize-clsx", "version": "2.6.2", "main": "./dist/index.js", "module": "./dist/index.mjs", "files": [ "dist" ], "repository": "https://github.com/merceyz/babel-plugin-optimize-clsx.git", "author": "merceyz <merceyz@users.noreply.github.com>", "license": "MIT", "keywords": [ "babel", "clsx", "classnames", "optimize", "minimize" ], "description": "Babel plugin to optimize the use of clsx, classnames, and all libraries with a compatible API", "scripts": { "test": "jest", "test:dev": "DEV_MODE=true jest", "test:build": "TEST_BUILD=true jest", "build": "rm -rf dist && rollup -c", "release": "run build && run test:build && standard-version", "prepack": "run build", "benchmark": "node benchmark/index.js" }, "devDependencies": { "@babel/core": "^7.8.4", "@babel/plugin-transform-modules-commonjs": "^7.8.3", "@babel/plugin-transform-template-literals": "^7.8.3", "@babel/plugin-transform-typescript": "^7.8.3", "@babel/preset-env": "^7.8.4", "@types/babel__core": "^7.1.5", "@types/babel__generator": "^7.6.1", "@types/babel__template": "^7.0.2", "@types/find-cache-dir": "^2.0.0", "@types/lodash": "^4.14.149", "@types/node": "^12.12.17", "@types/object-hash": "^1.3.0", "babel-plugin-lodash": "^3.3.4", "babel-plugin-tester": "^7.0.3", "benchmark": "^2.1.4", "classnames": "^2.2.6", "clsx": "^1.0.4", "husky": "^4.2.3", "jest": "^24.9.0", "prettier": "^2.0.1", "pretty-quick": "^2.0.1", "rollup": "^1.23.1", "rollup-plugin-babel": "^4.3.3", "standard-version": "^8.0.0", "ts-jest": "^24.2.0", "typescript": "^3.7.4" }, "dependencies": { "@babel/generator": "^7.6.2", "@babel/template": "^7.6.0", "@babel/types": "^7.6.1", "find-cache-dir": "^3.2.0", "lodash": "^4.17.15", "object-hash": "^2.0.3" }, "dependenciesMeta": { "core-js": { "built": false } }, "husky": { "hooks": { "pre-commit": "yarn pretty-quick --staged && yarn test" } } }