UNPKG

iocane

Version:
117 lines (116 loc) 3.43 kB
{ "name": "iocane", "version": "5.1.1", "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}\"", "precommit": "lint-staged", "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", "git add" ] }, "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.7.7", "@babel/preset-env": "^7.7.7", "@babel/preset-typescript": "^7.7.7", "@types/pbkdf2": "^3.1.0", "babel-loader": "^8.0.6", "babel-plugin-transform-async-to-promises": "^0.8.15", "chai": "^4.2.0", "concat-md": "^0.3.2", "dev-null": "^0.1.1", "end-of-stream-promise": "^1.0.0", "hash-through": "^0.1.16", "husky": "^3.1.0", "karma": "^4.4.1", "karma-chai": "^0.1.0", "karma-firefox-launcher": "^2.1.0", "karma-mocha": "^1.3.0", "karma-sinon": "^1.0.5", "karma-spec-reporter": "0.0.32", "lint-staged": "^9.5.0", "mocha": "^6.2.2", "nightmare": "^3.0.2", "npm-run-all": "^4.1.5", "nyc": "^14.1.1", "prettier": "^1.19.1", "prettier-check": "^2.0.0", "random-bytes-readable-stream": "^2.1.0", "rimraf": "^3.0.0", "sinon": "^7.5.0", "stream-to-array": "^2.3.0", "typescript": "^3.7.3", "webpack": "^4.41.5", "webpack-bundle-analyzer": "^3.6.0", "webpack-cli": "^3.3.10" }, "dependencies": { "duplexer": "^0.1.2", "pbkdf2": "~3.0.17", "stream-each": "^1.2.3" } }