UNPKG

browser-id

Version:

Unique ID for current browser (client).

72 lines (71 loc) 2.28 kB
{ "name": "browser-id", "version": "3.0.25", "description": "Unique ID for current browser (client).", "funding": "https://github.com/CatChen/browser-id?sponsor=1", "type": "module", "main": "index.js", "types": "index.d.ts", "scripts": { "test": "jest", "build": "tsc", "registry:github": "cat package.json | json -e 'this.name = \"@CatChen/\" + this.name; this.publishConfig = {}; this.publishConfig.registry = \"https://npm.pkg.github.com/\"' > package.github.json && mv -f package.github.json package.json", "registry:npm": "cat package.json | json -e 'this.name = this.name.replace(new RegExp(\"^@CatChen/\"), \"\"); this.publishConfig = undefined' > package.npm.json && mv -f package.npm.json package.json", "prepublish": "rm -rf lib && yarn build", "prepare": "is-ci || husky", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" }, "repository": { "type": "git", "url": "git+https://github.com/CatChen/browser-id.git" }, "keywords": [ "versioned", "storage" ], "author": "catchen", "license": "MIT", "bugs": { "url": "https://github.com/CatChen/browser-id/issues" }, "homepage": "https://github.com/CatChen/browser-id#readme", "devDependencies": { "@babel/plugin-transform-modules-commonjs": "^7.25.9", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.15.0", "@serverless-guru/prettier-plugin-import-order": "^0.4.1", "@types/jest": "^30.0.0", "codecov": "^3.6.1", "eslint": "^9.1.1", "eslint-config-prettier": "^10.0.1", "eslint-plugin-flowtype": "^8.0.2", "eslint-plugin-prettier": "^5.2.1", "flow-bin": "^0.274.0", "is-ci": "^4.1.0", "jest": "^30.0.0", "json": "^11.0.0", "pinst": "^3.0.0", "prettier": "^3.0.2", "ts-jest": "^29.2.5", "typescript": "^5.0.2", "typescript-eslint": "^8.15.0" }, "optionalDependencies": { "husky": "^9.1.4", "lint-staged": "^16.0.0" }, "dependencies": { "uuid": "^11.0.3", "versioned-storage": "^3.1.18" }, "engines": { "node": ">=18" }, "lint-staged": { "*.(js,ts,js.flow)": "yarn eslint --fix", "*.json": "yarn eslint --fix", "*.(yml,yaml)": "yarn prettier -w", "*.(md,markdown)": "yarn prettier -w" } }