merge-class-names
Version:
A function that merges given class names, no matter their format: string with single or multiple class names or an array of class names. Filters out invalid class names as well.
54 lines • 1.56 kB
JSON
{
"name": "merge-class-names",
"version": "1.4.2",
"description": "A function that merges given class names, no matter their format: string with single or multiple class names or an array of class names. Filters out invalid class names as well.",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"source": "src/index.js",
"sideEffects": false,
"scripts": {
"build": "yarn build-esm && yarn build-umd",
"build-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js\"",
"build-umd": "BABEL_ENV=production-umd babel src -d dist/umd --ignore \"**/*.spec.js\"",
"clean": "rimraf dist",
"jest": "jest",
"jest-coverage": "jest --coverage",
"lint": "eslint src/ --ext .jsx,.js",
"prepack": "yarn clean && yarn build",
"test": "yarn lint && yarn jest"
},
"keywords": [
"class",
"class names",
"class list",
"merge"
],
"author": {
"name": "Wojciech Maj",
"email": "kontakt@wojtekmaj.pl"
},
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.8.0",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"eslint": "~7.19.0",
"eslint-config-wojtekmaj": "^0.5.0",
"jest": "^26.6.0",
"rimraf": "^3.0.0"
},
"resolutions": {
"semver@7.0.0": "^7.0.0"
},
"files": [
"LICENSE",
"README.md",
"dist/",
"src/"
],
"repository": {
"type": "git",
"url": "https://github.com/wojtekmaj/merge-class-names.git"
},
"funding": "https://github.com/wojtekmaj/merge-class-names?sponsor=1"
}