package.json
This file
Path
package.json
129 lines · 2.8 KiB · JSON
Last changed by
Release 5.0.8 versionAndrey Sitnikbefore adoption55cd90d
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130{ "name": "nanoid", "version": "5.0.8", "description": "A tiny (116 bytes), secure URL-friendly unique string ID generator", "keywords": [ "uuid", "random", "id", "url" ], "scripts": { "clean": "rm -rf coverage", "start": "vite test/demo/ --open", "test:coverage": "c8 bnt", "test:lint": "eslint .", "test:size": "pnpm clean && size-limit", "test": "pnpm run /^test:/" }, "type": "module", "engines": { "node": "^18 || >=20" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/ai" } ], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": "ai/nanoid", "exports": { ".": { "browser": "./index.browser.js", "default": "./index.js" }, "./non-secure": "./non-secure/index.js", "./package.json": "./package.json" }, "browser": { "./index.js": "./index.browser.js" }, "react-native": { "./index.js": "./index.browser.js" }, "bin": "./bin/nanoid.js", "sideEffects": false, "types": "./index.d.ts", "devDependencies": { "@babel/core": "^7.26.0", "@logux/eslint-config": "^53.4.2", "@lukeed/uuid": "^2.0.1", "@napi-rs/uuid": "^0.2.2", "@originjs/vite-plugin-commonjs": "^1.0.3", "@size-limit/file": "^11.1.6", "@size-limit/webpack": "^11.1.6", "@types/node": "^22.8.1", "better-node-test": "^0.7.1", "c8": "^10.1.2", "clean-publish": "^5.1.0", "eslint": "^9.13.0", "rndm": "^1.2.0", "secure-random-string": "^1.1.4", "shortid": "^2.2.16", "size-limit": "^11.1.6", "terser": "^5.36.0", "tinybench": "^3.0.0", "uid": "^2.0.2", "uid-safe": "^2.1.5", "uuid": "^11.0.1", "vite": "^5.4.10" }, "size-limit": [ { "name": "nanoid", "import": "{ nanoid }", "limit": "116 B" }, { "name": "customAlphabet", "import": "{ customAlphabet }", "limit": "161 B" }, { "name": "urlAlphabet", "import": "{ urlAlphabet }", "limit": "47 B" }, { "name": "non-secure nanoid", "import": "{ nanoid }", "path": "non-secure/index.js", "limit": "88 B" }, { "name": "non-secure customAlphabet", "import": "{ customAlphabet }", "path": "non-secure/index.js", "limit": "53 B" } ], "prettier": { "arrowParens": "avoid", "jsxSingleQuote": false, "quoteProps": "consistent", "semi": false, "singleQuote": true, "trailingComma": "none" }, "clean-publish": { "cleanDocs": true, "cleanComments": true }, "c8": { "exclude": [ "bin/nanoid.js", "**/*.test.*", "test/*" ], "lines": 100, "check-coverage": true, "reporter": [ "text", "lcov" ], "skip-full": true, "clean": true }}