UNPKG

react-uid

Version:

Render-less container for ID generation

101 lines (100 loc) 2.56 kB
{ "name": "react-uid", "version": "2.3.3", "description": "Render-less container for ID generation", "sideEffects": false, "main": "dist/es5/index.js", "types": "dist/es5/index.d.ts", "jsnext:main": "dist/es2015/index.js", "module": "dist/es2015/index.js", "module:es2019": "dist/es2019/index.js", "files": [ "dist" ], "scripts": { "dev": "lib-builder dev", "bootstrap": "ts-react-toolbox init", "test": "jest", "test:ci": "jest --runInBand --coverage", "test:size": "size-limit", "build": "lib-builder build && yarn size:report", "release": "yarn build && yarn test", "prepublishOnly": "yarn build", "lint": "lib-builder lint", "static": "ts-react-toolbox publish", "typecheck:flow": "flow check", "format": "lib-builder format", "analyze": "ts-react-toolbox analyze", "size": "npx size-limit", "size:report": "npx size-limit --json > .size.json", "update": "lib-builder update", "prepublish-only": "yarn build && yarn changelog", "prepare": "husky install", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0" }, "repository": { "type": "git", "url": "git+https://github.com/thearnica/react-uid.git" }, "bugs": { "url": "https://github.com/thearnica/react-uid/issues" }, "homepage": "https://github.com/thearnica/react-uid#readme", "author": "Marina Korzunova (thearnica@gmail.com)", "license": "MIT", "devDependencies": { "@theuiteam/lib-builder": "^0.3.0", "@size-limit/preset-small-lib": "^2.1.6", "@types/react-test-renderer": "^18.0.0", "react-test-renderer": "^18.2.0" }, "size-limit": [ { "path": "dist/es2015/index.js", "limit": "1 KB" } ], "engines": { "node": ">=10" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true } }, "dependencies": { "tslib": "^2.0.0" }, "keywords": [ "react", "uid", "counter", "context" ], "lint-staged": { "*.{ts,tsx}": [ "prettier --write", "eslint --fix" ], "*.{js,css,json,md}": [ "prettier --write" ] }, "prettier": { "printWidth": 120, "trailingComma": "es5", "tabWidth": 2, "semi": true, "singleQuote": true }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }