UNPKG

classjoin

Version:

A bit simpler utility for conditionally joining classNames together

52 lines (51 loc) 1.51 kB
{ "name": "classjoin", "version": "0.2.1", "description": "A bit simpler utility for conditionally joining classNames together", "main": "./es5/index.js", "module": "./es5-esm/index.js", "types": "./es2015/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "lint:scripts-project": "tslint -c tslint-type-check.json -p tsconfig.json --type-check", "lint:scripts-other": "tslint \"*.js\"", "lint": "npm run lint:scripts-project && npm run lint:scripts-other", "build": "tsc", "build:es5": "tsc --target es5 --outDir ./es5-esm", "build:umd": "rollup -c", "build:all": "npm run build && npm run build:es5 && npm run build:umd", "minify": "uglifyjs ./es5/index.js -c -m -o ./es5/classjoin.min.js", "prepublish": "npm run lint && npm run build:all && npm run minify" }, "repository": { "type": "git", "url": "git+https://github.com/m18ru/classjoin.git" }, "keywords": [ "react", "css", "classes", "classname", "classnames", "classjoin", "join", "preact", "simple", "small", "util", "utility" ], "author": "Andrey Avol Volynkin <code@m18.ru>", "license": "MIT", "bugs": { "url": "https://github.com/m18ru/classjoin/issues" }, "homepage": "https://github.com/m18ru/classjoin#readme", "devDependencies": { "rollup": "^0.41.6", "tslint": "^5.2.0", "tslint-config-m18": "^1.2.0", "typescript": "^2.3.2", "uglify-js": "^3.0.8" } }