UNPKG

zxcvbn-typescript

Version:

realistic password strength estimation, updated and ported to Typescript from Dan Wheeler's zxcvbn

91 lines (90 loc) 2.4 kB
{ "name": "zxcvbn-typescript", "version": "5.0.1", "description": "realistic password strength estimation, updated and ported to Typescript from Dan Wheeler's zxcvbn", "author": "Tony Richards", "license": "MIT", "main": "./lib/index.js", "types": "./lib/index.d.ts", "files": [ "lib", "dist" ], "repository": { "type": "git", "url": "https://github.com/trichards57/zxcvbn" }, "bugs": "https://github.com/trichards57/zxcvbn/issues", "contributors": [ { "name": "Dan Wheeler" } ], "scripts": { "test": "jest", "test:ci": "jest --coverage && coveralls < coverage/lcov.info", "build": "npm run build-lib && npm run build-dist", "build-lib": "tsc", "build-dist": "make-dir dist && browserify --standalone zxcvbn -t uglifyify lib/index.js > dist/zxcvbn.js", "lint": "eslint ./src && eslint ./test", "lint:fix": "eslint ./src --fix && eslint ./test --fix", "format": "prettier --write \"./src/**/*.ts\" && prettier --write \"./test/**/*.ts\"", "prepublishOnly": "npm run build", "commit": "cz", "release": "standard-version" }, "lint-staged": { "**/*.ts": [ "eslint --fix", "prettier --write --end-of-line crlf 'src/**/*.ts'", "prettier --write --end-of-line crlf 'test/**/*.ts'" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "devDependencies": { "@types/jest": "^26.0.20", "@typescript-eslint/eslint-plugin": "^4.15.0", "@typescript-eslint/parser": "^4.15.0", "browserify": "^17.0.0", "commitizen": "^4.2.3", "coveralls": "^3.1.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^7.19.0", "eslint-config-prettier": "^7.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.3.1", "husky": "^5.0.9", "jest": "^26.6.3", "lint-staged": "^10.5.4", "make-dir-cli": "^2.0.0", "prettier": "^2.2.1", "standard-version": "^9.1.0", "ts-jest": "^26.5.1", "typescript": "^4.1.5", "uglifyify": "^5.0.2" }, "keywords": [ "password", "passphrase", "security", "authentication", "strength", "meter", "quality", "estimation", "pattern", "cracking", "scoring", "entropy", "bruteforce" ], "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }