UNPKG

iocane

Version:
120 lines (119 loc) 3.46 kB
{ "name": "iocane", "version": "5.2.0", "description": "Textual encryption library", "main": "dist/index.node.js", "types": "dist/index.node.d.ts", "scripts": { "build": "run-s clean build:node build:web", "build:node": "tsc", "build:web": "webpack --config webpack.config.js --mode=production", "clean": "rimraf ./dist && rimraf ./web", "dev": "webpack --config webpack.config.js --mode=development --watch --progress", "dev:analyse": "ANALYSE=bundle npm run dev", "docs": "rimraf docs && typedoc --plugin typedoc-plugin-markdown --readme none --mode file --out ./docs && concat-md --decrease-title-levels --dir-name-as-title ./docs > API.md", "format": "prettier --write \"{source,test}/**/*.{js,ts}\"", "prepublishOnly": "npm run build", "test": "run-s clean build test:specs test:web test:cross-env test:format", "test:cross-env": "mocha --timeout 20000 -r test/setup-node.js 'test/cross-env/**/*.spec.js'", "test:format": "prettier-check \"{source,test}/**/*.js\"", "test:specs": "nyc --reporter=text mocha -r test/setup-node.js --timeout 30000 'test/specs/**/*.spec.js' && nyc check-coverage --lines 65 --functions 65", "test:web": "karma start --single-run" }, "files": [ "dist/**/*.js", "dist/**/*.d.ts", "web/*.js", "*.md", "*.jpg" ], "lint-staged": { "{source,test}/**/*.{js,ts}": [ "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "repository": { "type": "git", "url": "git+https://github.com/perry-mitchell/iocane.git" }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "chrome": 60, "firefox": 60, "edge": 12, "safari": 11 } } ], "@babel/preset-typescript" ], "plugins": [ [ "babel-plugin-transform-async-to-promises" ] ] }, "keywords": [ "crypto", "encrypt", "decrypt", "encryption", "buttercup", "text" ], "author": "Perry Mitchell <perry@perrymitchell.net>", "license": "MIT", "bugs": { "url": "https://github.com/perry-mitchell/iocane/issues" }, "homepage": "https://github.com/perry-mitchell/iocane#readme", "devDependencies": { "@babel/core": "^7.23.5", "@babel/preset-env": "^7.23.5", "@babel/preset-typescript": "^7.23.3", "@types/pbkdf2": "^3.1.2", "babel-loader": "^9.1.3", "babel-plugin-transform-async-to-promises": "^0.8.18", "chai": "^4.3.10", "concat-md": "^0.5.1", "dev-null": "^0.1.1", "end-of-stream-promise": "^1.0.0", "hash-through": "^0.1.16", "husky": "^4.3.8", "karma": "^6.4.2", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.2.0", "karma-mocha": "^2.0.1", "karma-sinon": "^1.0.5", "karma-spec-reporter": "^0.0.36", "lint-staged": "^15.2.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "prettier": "^3.1.0", "prettier-check": "^2.0.0", "puppeteer": "^21.6.0", "random-bytes-readable-stream": "^2.1.0", "rimraf": "^5.0.5", "sinon": "^17.0.1", "stream-to-array": "^2.3.0", "typescript": "^5.3.3", "webpack": "^5.89.0", "webpack-bundle-analyzer": "^4.10.1", "webpack-cli": "^5.1.4" }, "dependencies": { "duplexer": "^0.1.2", "pbkdf2": "^3.1.2", "stream-each": "^1.2.3" } }