UNPKG

@peculiar/webcrypto-test

Version:
101 lines (100 loc) 2.54 kB
{ "name": "@peculiar/webcrypto-test", "version": "1.0.7", "description": "Mocha tests of WebCrypto API", "main": "build/index.js", "types": "build/types/index.d.ts", "scripts": { "test": "mocha", "clear": "rimraf build", "build": "npm run build:module && npm run build:types", "build:module": "rollup -c", "build:types": "tsc -p tsconfig.types.json", "rebuild": "npm run clear && npm run build", "prepare": "npm run build", "coverage": "nyc npm test", "lint": "eslint . --ext .ts", "lint:fix": "eslint --fix . --ext .ts", "prepub": "npm run lint && npm test && npm run rebuild", "pub": "npm version patch && npm publish --access public", "postpub": "git push && git push --tags origin master", "prepub:next": "npm run prepub", "pub:next": "npm version prerelease --preid=next && npm publish --tag next --access public", "postpub:next": "git push" }, "repository": { "type": "git", "url": "git+https://github.com/PeculiarVentures/webcrypto-test.git" }, "keywords": [ "test", "webcrypto", "rsa", "ec", "aes", "des", "pbkdf" ], "files": [ "build/**/*.{ts,js}", "README.md", "LICENSE" ], "author": "PeculiarVentures", "contributors": [ "Miroshin Stepan<microshine@mail.ru>", "Miroshin Roman<miroshin.ry@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/PeculiarVentures/webcrypto-test/issues" }, "homepage": "https://github.com/PeculiarVentures/webcrypto-test#readme", "banner": "// Copyright (c) 2020, Peculiar Ventures, All rights reserved.", "dependencies": { "pvtsutils": "^1.0.14", "tslib": "^2.0.1" }, "devDependencies": { "@peculiar/webcrypto": "^1.1.3", "@types/mocha": "^8.0.3", "@types/node": "^13.13.21", "@typescript-eslint/eslint-plugin": "^4.4.0", "@typescript-eslint/parser": "^4.4.0", "eslint": "^7.10.0", "eslint-plugin-import": "^2.22.1", "mocha": "^8.1.3", "nyc": "^15.1.0", "rimraf": "^3.0.2", "rollup": "^2.28.2", "rollup-plugin-typescript2": "^0.27.3", "ts-node": "^9.0.0", "typescript": "^4.0.3" }, "nyc": { "extension": [ ".ts", ".tsx" ], "include": [ "src/**/*.ts" ], "exclude": [ "**/*.d.ts" ], "reporter": [ "text-summary", "lcov", "html" ] }, "mocha": { "require": "ts-node/register", "extension": [ "ts" ], "watch-files": [ "test/**/*.ts" ] } }