UNPKG

secure-cookie

Version:

Cookie library/middleware with signing and encryption support

133 lines (132 loc) 3.1 kB
{ "name": "secure-cookie", "version": "0.1.0", "description": "Cookie library/middleware with signing and encryption support", "main": "dist/index.js", "types": "types/index.d.ts", "module": "dist/index.esm.js", "files": [ "src", "dist", "types" ], "exports": { ".": [ { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.js" }, "./dist/index.js" ] }, "scripts": { "doc": "typedoc src/cookies.ts", "test": "npm run test:lint && npm run test:unit", "test:lint": "eslint \"*/**/*.{ts,js,json}\"", "test:unit": "jest", "lint": "eslint \"*/**/*.{ts,js,json}\" --fix --quiet", "build": "rollup --config ./rollup.config.js", "prepare": "husky install", "release": "release-it" }, "dependencies": { "tsscmp": "^1.0.6" }, "devDependencies": { "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@release-it/conventional-changelog": "^3.3.0", "@types/eslint": "^7.28.0", "@types/express": "^4.17.13", "@types/jest": "^27.0.2", "@types/node": "^16.9.4", "@types/prettier": "^2.3.2", "@types/supertest": "^2.0.11", "@types/tsscmp": "^1.0.0", "@typescript-eslint/eslint-plugin": "^4.31.2", "@typescript-eslint/parser": "^4.31.2", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "express": "^4.17.1", "husky": "^7.0.2", "jest": "^27.2.1", "koa": "^2.13.1", "koa-router": "^10.1.1", "lint-staged": "^11.1.2", "release-it": "^14.11.5", "rollup": "^2.56.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0", "supertest": "^6.1.6", "ts-jest": "^27.0.5", "ts-jest-resolver": "^1.1.0", "tslib": "^2.3.1", "typedoc": "0.22.4", "typedoc-plugin-markdown": "^3.11.0", "typescript": "^4.4.3" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "type-enum": [ 2, "always", [ "build", "ci", "chore", "dev", "docs", "feat", "fix", "perf", "refactor", "revert", "test", "type" ] ], "header-max-length": [ 0, "always", 100 ], "scope-case": [ 0 ] } }, "lint-staged": { "*.ts": "npm run lint" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/ayZagen/secure-cookie.git" }, "keywords": [ "cookie", "encrypted-cookie", "signed-cookie", "nodejs", "express", "koa", "fastify", "middleware" ], "author": { "name": "Ismail H. Ayaz" }, "license": "MIT", "bugs": { "url": "https://github.com/ayZagen/secure-cookie/issues" }, "homepage": "https://github.com/ayZagen/secure-cookie#readme" }