UNPKG

2.56 kBJSONView Raw
1{
2 "name": "react-uid",
3 "version": "2.3.3",
4 "description": "Render-less container for ID generation",
5 "sideEffects": false,
6 "main": "dist/es5/index.js",
7 "types": "dist/es5/index.d.ts",
8 "jsnext:main": "dist/es2015/index.js",
9 "module": "dist/es2015/index.js",
10 "module:es2019": "dist/es2019/index.js",
11 "files": [
12 "dist"
13 ],
14 "scripts": {
15 "dev": "lib-builder dev",
16 "bootstrap": "ts-react-toolbox init",
17 "test": "jest",
18 "test:ci": "jest --runInBand --coverage",
19 "test:size": "size-limit",
20 "build": "lib-builder build && yarn size:report",
21 "release": "yarn build && yarn test",
22 "prepublishOnly": "yarn build",
23 "lint": "lib-builder lint",
24 "static": "ts-react-toolbox publish",
25 "typecheck:flow": "flow check",
26 "format": "lib-builder format",
27 "analyze": "ts-react-toolbox analyze",
28 "size": "npx size-limit",
29 "size:report": "npx size-limit --json > .size.json",
30 "update": "lib-builder update",
31 "prepublish-only": "yarn build && yarn changelog",
32 "prepare": "husky install",
33 "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
34 "changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
35 },
36 "repository": {
37 "type": "git",
38 "url": "git+https://github.com/thearnica/react-uid.git"
39 },
40 "bugs": {
41 "url": "https://github.com/thearnica/react-uid/issues"
42 },
43 "homepage": "https://github.com/thearnica/react-uid#readme",
44 "author": "Marina Korzunova (thearnica@gmail.com)",
45 "license": "MIT",
46 "devDependencies": {
47 "@theuiteam/lib-builder": "^0.3.0",
48 "@size-limit/preset-small-lib": "^2.1.6",
49 "@types/react-test-renderer": "^18.0.0",
50 "react-test-renderer": "^18.2.0"
51 },
52 "size-limit": [
53 {
54 "path": "dist/es2015/index.js",
55 "limit": "1 KB"
56 }
57 ],
58 "engines": {
59 "node": ">=10"
60 },
61 "peerDependencies": {
62 "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
63 "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0"
64 },
65 "peerDependenciesMeta": {
66 "@types/react": {
67 "optional": true
68 }
69 },
70 "dependencies": {
71 "tslib": "^2.0.0"
72 },
73 "keywords": [
74 "react",
75 "uid",
76 "counter",
77 "context"
78 ],
79 "lint-staged": {
80 "*.{ts,tsx}": [
81 "prettier --write",
82 "eslint --fix"
83 ],
84 "*.{js,css,json,md}": [
85 "prettier --write"
86 ]
87 },
88 "prettier": {
89 "printWidth": 120,
90 "trailingComma": "es5",
91 "tabWidth": 2,
92 "semi": true,
93 "singleQuote": true
94 },
95 "husky": {
96 "hooks": {
97 "pre-commit": "lint-staged"
98 }
99 }
100}