1 | {
|
2 | "name": "otplib",
|
3 | "version": "7.0.0",
|
4 | "description": "HMAC-based (HOTP) and Time-based (TOTP) One-Time Password library",
|
5 | "main": "otplib.js",
|
6 | "scripts": {
|
7 | "build": "./scripts/build.sh",
|
8 | "build:browser": "webpack --config ./scripts/webpack.config.js",
|
9 | "build:docs": "jsdoc --configure jsdoc.json --verbose",
|
10 | "build:module": "./scripts/build-module.sh",
|
11 | "build:rollup": "rollup -c scripts/rollup.config.js",
|
12 | "build:transpile": "babel dist --out-dir dist",
|
13 | "clean": "rimraf dist coverage docs",
|
14 | "coveralls": "cat ./coverage/lcov.info | coveralls",
|
15 | "deploy-gh-pages": "./scripts/build-site.sh",
|
16 | "deploy-package": "./scripts/build-publish.sh",
|
17 | "lint": "eslint --ext js src",
|
18 | "test": "jest --coverage",
|
19 | "test:watch": "jest --coverage --watch"
|
20 | },
|
21 | "repository": {
|
22 | "type": "git",
|
23 | "url": "https://github.com/yeojz/otplib.git"
|
24 | },
|
25 | "keywords": [
|
26 | "otp",
|
27 | "totp",
|
28 | "hotp",
|
29 | "one time password",
|
30 | "google authenticator",
|
31 | "authenticator",
|
32 | "authentication",
|
33 | "2FA",
|
34 | "2 factor",
|
35 | "node",
|
36 | "browser"
|
37 | ],
|
38 | "author": "Gerald Yeo <contact@fusedthought.com>",
|
39 | "license": "MIT",
|
40 | "bugs": {
|
41 | "url": "https://github.com/yeojz/otplib/issues"
|
42 | },
|
43 | "homepage": "https://yeojz.github.io/otplib",
|
44 | "devDependencies": {
|
45 | "babel-cli": "^6.26.0",
|
46 | "babel-core": "^6.24.1",
|
47 | "babel-eslint": "^7.2.1",
|
48 | "babel-loader": "^6.4.1",
|
49 | "babel-plugin-module-resolver": "^2.7.1",
|
50 | "babel-plugin-transform-class-properties": "^6.23.0",
|
51 | "babel-plugin-transform-object-assign": "^6.22.0",
|
52 | "babel-preset-es2015": "^6.24.0",
|
53 | "coveralls": "^2.13.0",
|
54 | "create-hmac": "^1.1.4",
|
55 | "eslint": "^3.19.0",
|
56 | "jest": "^20.0.4",
|
57 | "jsdoc": "^3.4.3",
|
58 | "minami": "^1.1.1",
|
59 | "rimraf": "^2.6.1",
|
60 | "rollup": "^0.49.2",
|
61 | "rollup-plugin-cleanup": "^1.0.1",
|
62 | "rollup-plugin-node-resolve": "^3.0.0",
|
63 | "webpack": "^2.3.3"
|
64 | },
|
65 | "dependencies": {
|
66 | "thirty-two": "1.0.2"
|
67 | },
|
68 | "jest": {
|
69 | "coverageDirectory": "./coverage/",
|
70 | "coveragePathIgnorePatterns": [
|
71 | "<rootDir>/scripts/*"
|
72 | ],
|
73 | "modulePaths": [
|
74 | "<rootDir>/packages/"
|
75 | ],
|
76 | "resetMocks": true,
|
77 | "setupFiles": [],
|
78 | "testPathIgnorePatterns": [
|
79 | "/dist/",
|
80 | "/node_modules/",
|
81 | "<rootDir>/scripts/*",
|
82 | "<rootDir>/tests/"
|
83 | ]
|
84 | }
|
85 | }
|