UNPKG

algebraic-captcha

Version:

NodeJS math captcha package with algebraic formulas

88 lines (87 loc) 2.48 kB
{ "name": "algebraic-captcha", "version": "1.0.1", "description": "NodeJS math captcha package with algebraic formulas", "main": "build/index.js", "types": "build/index.d.ts", "private": false, "engines": { "node": ">=8.0.0" }, "scripts": { "build": "npm run clean-build && tsc", "clean-build": "rm -rf build", "clean-coverage": "rm -rf coverage", "lint": "prettier-tslint fix '**/*.ts'", "check": "npm outdated", "test-unit": "mocha --opts mocha.opts", "test": "npm run test-unit", "cm": "git-cz", "watch": "tsc -w", "demo": "node demo/generate.js && node_modules/.bin/gh-pages -d demo", "prepublish": "publish-please guard", "publish-please": "publish-please" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "npm test" } }, "lint-staged": { "*.{ts}": [ "npm run lint", "git add" ], "*.{json,md}": [ "prettier --write", "git add" ] }, "repository": { "type": "git", "url": "git+https://github.com/tormozz48/algebraic-captcha.git" }, "keywords": [ "captcha", "nodejs", "node", "math", "algebraic", "formulas" ], "author": "andrey.kuznetsov48@yandex.ru", "license": "Apache-2.0", "bugs": { "url": "https://github.com/tormozz48/algebraic-captcha/issues" }, "homepage": "https://github.com/tormozz48/algebraic-captcha#readme", "devDependencies": { "@types/chai": "^4.1.7", "@types/joi": "^14.0.1", "@types/mocha": "^5.2.5", "@types/node": "^10.12.18", "bluebird": "^3.5.3", "chai": "^4.2.0", "commitizen": "^3.0.5", "cz-conventional-changelog": "^2.1.0", "gh-pages": "^2.0.1", "handlebars": "^4.0.12", "husky": "^1.2.1", "lint-staged": "^8.1.0", "mocha": "^5.2.0", "prettier": "^1.15.3", "prettier-tslint": "^0.4.1", "publish-please": "^5.4.3", "ts-node": "^7.0.1", "tslint": "^5.12.0", "tslint-config-prettier": "^1.17.0", "typescript": "^3.2.2" }, "dependencies": { "@types/lodash": "^4.14.119", "joi": "^14.3.0", "lodash": "^4.17.11", "svg-captcha": "^1.3.12" } }