UNPKG

tiny-sha1

Version:

Tiny SHA-1 hasher for Node and browsers

62 lines (61 loc) 1.66 kB
{ "name": "tiny-sha1", "version": "0.2.1", "description": "Tiny SHA-1 hasher for Node and browsers", "author": "Max Davidson <davidsonmax@gmail.com>", "repository": { "type": "git", "url": "https://github.com/maxdavidson/tiny-sha1.git" }, "main": "dist/tiny-sha1.js", "jsnext:main": "dist/tiny-sha1.mjs", "typings": "src/index.d.ts", "license": "MIT", "engines": { "node": ">=4.0.0", "npm": ">=2.14.2" }, "keywords": [ "sha1", "sha-1", "hash", "digest" ], "scripts": { "build": "rollup -c", "watch": "npm run build -- -w", "clean": "rimraf dist coverage .nyc_output", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "test": "nyc ava", "test:coveralls": "nyc report -r text-lcov | coveralls", "prebuild": "npm run clean", "pretest": "cross-env NODE_ENV=test npm run build", "posttest": "npm run lint", "preversion": "npm test", "prepublish": "cross-env NODE_ENV=production npm run build", "postversion": "git push && git push --tags && npm publish" }, "files": [ "src/index.d.ts", "dist" ], "devDependencies": { "ava": "^0.16.0", "babel-core": "^6.13.2", "babel-eslint": "^6.1.0", "babel-plugin-external-helpers": "^6.8.0", "babel-plugin-istanbul": "^1.0.1", "babel-preset-es2015": "^6.13.2", "coveralls": "^2.11.9", "cross-env": "^2.0.0", "eslint": "^3.0.0", "eslint-config-airbnb-base": "^5.0.0", "eslint-plugin-import": "^1.9.2", "nyc": "^7.0.0", "rimraf": "^2.5.2", "rollup": "^0.34.0", "rollup-plugin-babel": "^2.6.1", "rollup-watch": "^2.4.0" } }