UNPKG

react-classnaming

Version:

Tools to establish CSS classes as an explicit abstraction layer and to handle it as an interface between React and CSSStyleDeclaration

89 lines (88 loc) 2.37 kB
{ "name": "react-classnaming", "version": "0.16.4", "description": "Tools to establish CSS classes as an explicit abstraction layer and to handle it as an interface between React and CSSStyleDeclaration", "dependencies": {}, "keywords": [ "typescript", "declarative", "css-classes", "react", "bem", "css", "classname", "css-modules", "classnames", "classnaming", "react-classnaming" ], "author": "Andrii Kirmas <kirmas@phystech.edu>", "homepage": "https://github.com/askirmas/react-classnaming#readme", "repository": { "type": "git", "url": "git+https://github.com/askirmas/react-classnaming.git" }, "bugs": { "url": "https://github.com/askirmas/react-classnaming/issues#bugs" }, "license": "MIT", "scripts": { "dev": "npm run jest -- --collectCoverageFrom=[] --bail=false --onlyFailures --watch", "test": "npm run jest --", "pretest": "jest --clearCache", "build": "npm run compile", "prebuild": "npm run test", "postbuild": "npm run spec", "release": "np", "-prerelease": "./prerelease.sh", "-postrelease": "./postrelease.sh", "compile": "tsc --project tsconfig.compile.json", "precompile": "rm -rf dist types", "postcompile": "./postcompile.sh", "spec": "cd __recipes__ && npm run test --", "setup": "git config include.path ../.gitconfig && git-hooks-wrapper init", "jest": "jest --runInBand", "tsc": "tsc" }, "private": false, "main": "./dist/index.js", "types": "./dist/", "exports": { ".": "./dist/index.js", "./": "./dist/", "./bem": "./dist/bem.js", "./naming": "./dist/naming.js", "./map": "./dist/map.js", "./check": "./dist/check.js" }, "publishConfig": { "access": "public" }, "np": { "yarn": false, "branch": "main", "2fa": false }, "files": [ "dist" ], "peerDependencies": { "typescript": ">=4.2", "@types/react": "*" }, "devDependencies": { "@types/classnames": "^2.2.11", "@types/node": "^14.14.33", "@types/react": "^17.0.1", "@types/react-dom": "^17.0.1", "@types/reactstrap": "^8.7.2", "classnames": "^2.2.6", "git-hooks-wrapper": "^0.7.1", "jest": "^26.6.3", "np": "^7.3.0", "react": "^17.0.1", "react-dom": "^17.0.1", "ts-jest": "^26.5.0", "typescript": "^4.2.3" } }