UNPKG

@topgunbuild/webcrypto

Version:

An isomorphic WebCrypto for Javascript in Node and the browser

73 lines (72 loc) 2.08 kB
{ "name": "@topgunbuild/webcrypto", "version": "0.0.1", "description": "An isomorphic WebCrypto for Javascript in Node and the browser", "publishConfig": { "access": "public" }, "files": [ "dist" ], "types": "./dist/browser.d.ts", "module": "./dist/browser.mjs", "exports": { "require": "./dist/node.js", "import": "./dist/browser.mjs" }, "scripts": { "build": "tsup", "prepublishOnly": "pnpm run build", "test": "jest", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\" --fix", "prepare": "simple-git-hooks", "release": "release-it", "tarball": "rimraf tar && pnpm pack --pack-destination ./tar" }, "repository": { "type": "git", "url": "git+https://github.com/TopGunBuild/topgun-webcrypto.git" }, "keywords": [ "isomoprhic", "webcrypto", "browser", "node" ], "author": "Ivan Kalashnik", "license": "MIT", "bugs": { "url": "https://github.com/TopGunBuild/topgun-webcrypto/issues" }, "homepage": "https://github.com/TopGunBuild/topgun-webcrypto#readme", "dependencies": { "@peculiar/webcrypto": "^1.4.3" }, "devDependencies": { "@types/jest": "^29.5.0", "@typescript-eslint/eslint-plugin": "^5.57.1", "@typescript-eslint/parser": "^5.57.1", "eslint": "^8.38.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-import": "^2.27.5", "jest": "^29.5.0", "lint-staged": "^13.2.1", "prettier": "^2.8.7", "release-it": "^16.1.5", "rimraf": "^5.0.1", "simple-git-hooks": "^2.8.1", "ts-jest": "^29.1.0", "tsup": "^6.7.0", "typescript": "4.9.4" }, "lint-staged": { "**/*.{ts}": [ "prettier --write \"src/**/*.ts\"", "eslint \"src/**/*.ts\" --fix" ] }, "simple-git-hooks": { "pre-commit": "npx lint-staged" } }