UNPKG

react-id-generator

Version:
68 lines (67 loc) 1.94 kB
{ "name": "react-id-generator", "version": "3.0.2", "description": "Simple and universal HTML-id generator for React.", "repository": "https://github.com/Tomekmularczyk/react-id-generator.git", "main": "lib/index.js", "files": [ "lib" ], "types": "./lib/index.d.ts", "scripts": { "dev": "concurrently \"yarn build:dev --watch\" \"yarn build:declarations --watch\"", "build:dev": "rollup -c", "build": "NODE_ENV=production rollup -c", "build:declarations": "tsc --declaration --emitDeclarationOnly --declarationDir lib", "lint": "eslint --ext .ts,.tsx .", "typecheck": "tsc --noEmit", "test": "jest", "prepare": "husky install" }, "keywords": [ "id", "react", "react-id", "id-generator" ], "author": "Tomasz Mularczyk", "license": "MIT", "devDependencies": { "@babel/core": "^7.15.5", "@babel/preset-env": "^7.15.4", "@babel/preset-react": "^7.14.5", "@babel/preset-typescript": "^7.15.0", "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@types/jest": "^27.0.1", "@types/react": "^16.9.42", "@types/react-dom": "^16.9.8", "@typescript-eslint/eslint-plugin": "^4.31.0", "@typescript-eslint/parser": "^4.31.0", "concurrently": "^6.2.1", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-react": "^7.25.1", "husky": "^7.0.0", "jest": "^27.1.0", "lint-staged": "^11.1.2", "prettier": "^2.3.2", "react": "^16.10.2", "react-dom": "^16.10.2", "rollup": "^2.56.3", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "typescript": "^4.4.2" }, "peerDependencies": { "react": ">= 16.8.0" }, "lint-staged": { "*.{js,ts,tsx}": "eslint", "*.{js,ts,tsx,css,md}": "prettier --write" }, "jest": { "testEnvironment": "jsdom" } }