browser-id
Version:
Unique ID for current browser (client).
81 lines (80 loc) • 2.38 kB
JSON
{
"name": "browser-id",
"version": "4.1.18",
"description": "Unique ID for current browser (client).",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/CatChen/browser-id.git"
},
"author": "catchen",
"homepage": "https://github.com/CatChen/browser-id#readme",
"bugs": {
"url": "https://github.com/CatChen/browser-id/issues"
},
"main": "index.js",
"type": "module",
"exports": {
".": {
"import": "./index.js",
"types": "./index.d.ts"
}
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc",
"format": "prettier --write .",
"lint": "eslint -c eslint.config.js",
"postpublish": "pinst --enable",
"prepare": "is-ci || husky",
"prepublish": "rm -rf lib && yarn build",
"prepublishOnly": "pinst --disable",
"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",
"test": "jest"
},
"keywords": [
"versioned",
"storage"
],
"optionalDependencies": {
"husky": "^9.1.4",
"lint-staged": "^17.0.0"
},
"dependencies": {
"uuid": "^14.0.0",
"versioned-storage": "^4.0.6"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^10.0.1",
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
"@types/jest": "^30.0.0",
"codecov": "^3.6.1",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.1",
"flow-bin": "^0.325.0",
"is-ci": "^4.1.0",
"jest": "^30.0.0",
"json": "^11.0.0",
"pinst": "^3.0.0",
"prettier": "^3.0.2",
"prettier-plugin-package": "^2.0.0",
"ts-jest": "^29.2.5",
"typescript": "^6.0.2",
"typescript-eslint": "^8.15.0"
},
"types": "index.d.ts",
"funding": "https://github.com/CatChen/browser-id?sponsor=1",
"lint-staged": {
"*.{ts,js}": [
"yarn format",
"yarn lint --fix"
],
"*.{json,yml,yaml,md,markdown}": "yarn format"
},
"packageManager": "yarn@4.13.0"
}