package.json
This file
Path
package.json
186 lines · 4.5 KiB · JSON
Last changed by
Update dependenciesAndrey Sitnikbefore adoptionc8eef64
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187{ "name": "nanoid", "version": "3.1.30", "description": "A tiny (130 bytes), secure URL-friendly unique string ID generator", "keywords": [ "uuid", "random", "id", "url" ], "scripts": { "test": "jest --coverage && eslint . && check-dts && size-limit", "start": "parcel test/demo/index.html --dist-dir test/demo/build --open" }, "engines": { "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" }, "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": "ai/nanoid", "browser": { "./index.js": "./index.browser.js", "./async/index.js": "./async/index.browser.js", "./async/index.cjs": "./async/index.browser.cjs" }, "react-native": { "./async/index.js": "./async/index.native.js" }, "bin": "./bin/nanoid.cjs", "sideEffects": false, "types": "./index.d.ts", "devDependencies": { "@babel/core": "^7.16.0", "@logux/eslint-config": "^46.1.0", "@lukeed/uuid": "^2.0.0", "@parcel/optimizer-cssnano": "^2.0.1", "@parcel/optimizer-htmlnano": "^2.0.1", "@parcel/packager-css": "^2.0.1", "@parcel/packager-html": "^2.0.1", "@parcel/transformer-css": "^2.0.1", "@parcel/transformer-html": "^2.0.1", "@parcel/transformer-postcss": "^2.0.1", "@parcel/transformer-posthtml": "^2.0.1", "@size-limit/dual-publish": "^7.0.3", "@size-limit/file": "^7.0.3", "@size-limit/webpack": "^7.0.3", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", "benchmark": "^2.1.4", "check-dts": "^0.6.4", "cuid": "^2.1.8", "dual-publish": "^2.0.2", "eslint": "^8.3.0", "eslint-config-standard": "^16.0.3", "eslint-plugin-import": "^2.25.3", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prefer-let": "^3.0.1", "eslint-plugin-promise": "^5.1.1", "jest": "^27.3.1", "parcel": "^2.0.1", "picocolors": "^1.0.0", "postcss": "^8.4.4", "rndm": "^1.2.0", "secure-random-string": "^1.1.3", "shortid": "^2.2.16", "size-limit": "^7.0.3", "terser": "^5.10.0", "typescript": "^4.5.2", "uid": "^2.0.0", "uid-safe": "^2.1.5", "uuid": "^8.3.2" }, "size-limit": [ { "name": "nanoid", "import": "{ nanoid }", "limit": "130 B" }, { "name": "customAlphabet", "import": "{ customAlphabet }", "limit": "169 B" }, { "name": "urlAlphabet", "import": "{ urlAlphabet }", "limit": "61 B" }, { "name": "non-secure nanoid", "import": "{ nanoid }", "path": "non-secure/index.js", "limit": "118 B" }, { "name": "non-secure customAlphabet", "import": "{ customAlphabet }", "path": "non-secure/index.js", "limit": "65 B" }, { "name": "async nanoid", "import": "{ nanoid }", "path": "async/index.js", "limit": "144 B" }, { "name": "async customAlphabet", "import": "{ customAlphabet }", "path": "async/index.js", "limit": "163 B" }, { "name": "Brotli all", "brotli": true, "import": "{ nanoid, customAlphabet, urlAlphabet }", "limit": "267 B" }, { "name": "Brotli non-secure", "brotli": true, "import": "{ nanoid, customAlphabet }", "path": "non-secure/index.js", "limit": "112 B" }, { "name": "Brotli async", "brotli": true, "import": "{ nanoid, customAlphabet }", "path": "async/index.js", "limit": "228 B" } ], "eslintConfig": { "extends": "@logux/eslint-config/ts", "rules": { "consistent-return": "off", "func-style": "off", "yoda": "off" }, "overrides": [ { "files": "*.native.js", "rules": { "node/no-missing-require": "off", "global-require": "off" } }, { "files": "*.test.*", "globals": { "afterEach": "readonly", "describe": "readonly", "expect": "readonly", "jest": "readonly", "it": "readonly" } } ] }, "eslintIgnore": [ "test/demo/build", "nanoid.js", "**/errors.ts" ], "prettier": { "arrowParens": "avoid", "jsxSingleQuote": false, "quoteProps": "consistent", "semi": false, "singleQuote": true, "trailingComma": "none" }, "jest": { "testEnvironment": "node", "coverageThreshold": { "global": { "statements": 100 } } }, "clean-publish": { "cleanDocs": true, "cleanComments": true }}