mirror of
https://github.com/emn178/js-sha3.git
synced 2026-08-12 19:41:36 +08:00
- GitHub Actions CI across Node.js 18, 20, 22, and 24 against the packed npm artifact - GitHub Actions publish workflow on release with npm trusted publishing - `prepack` script to build distributions before `npm pack` / `npm publish` ### Changed - Replace Travis CI with GitHub Actions - Update README badges to GitHub Actions, npm, and jsDelivr - Upgrade mocha and pin vulnerable transitive dependencies via npm overrides
73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"name": "js-sha3",
|
|
"version": "0.13.0",
|
|
"description": "A simple SHA-3 / Keccak / SHAKE / cSHAKE / KMAC / TupleHash / ParallelHash hash function for JavaScript supports UTF-8 encoding.",
|
|
"main": "src/sha3.js",
|
|
"module": "build/sha3.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"import": "./build/sha3.mjs",
|
|
"require": "./src/sha3.js",
|
|
"default": "./src/sha3.js"
|
|
},
|
|
"./src/sha3.js": "./src/sha3.js",
|
|
"./build/sha3.min.js": "./build/sha3.min.js",
|
|
"./build/sha3.mjs": "./build/sha3.mjs",
|
|
"./build/sha3.min.mjs": "./build/sha3.min.mjs",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"types": "./index.d.ts",
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^28.0.5",
|
|
"@rollup/plugin-terser": "^1.0.0",
|
|
"expect.js": "~0.3.1",
|
|
"mocha": "^11.8.0",
|
|
"nyc": "^18.0.0",
|
|
"rollup": "^4.43.0",
|
|
"tiny-worker": "^2.3.0",
|
|
"uglify-js": "^3.1.9"
|
|
},
|
|
"scripts": {
|
|
"test": "npm run build && npm run test:coverage",
|
|
"test:runtime": "mocha tests/node-test.js",
|
|
"test:coverage": "nyc --reporter=text --reporter=html --reporter=lcov mocha tests/node-test.js",
|
|
"report": "nyc --reporter=html --reporter=text mocha tests/node-test.js",
|
|
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
|
"build": "rollup -c && uglifyjs src/sha3.js -c -m --comments --output build/sha3.min.js",
|
|
"prepack": "npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/emn178/js-sha3.git"
|
|
},
|
|
"keywords": [
|
|
"sha3",
|
|
"keccak",
|
|
"shake",
|
|
"cshake",
|
|
"kmac",
|
|
"tuplehash",
|
|
"parallelhash",
|
|
"hash",
|
|
"encryption",
|
|
"cryptography",
|
|
"HMAC"
|
|
],
|
|
"license": "MIT",
|
|
"author": "Chen, Yi-Cyuan <emn178@gmail.com>",
|
|
"homepage": "https://github.com/emn178/js-sha3",
|
|
"bugs": {
|
|
"url": "https://github.com/emn178/js-sha3/issues"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"tests"
|
|
]
|
|
},
|
|
"overrides": {
|
|
"diff": "^8.0.3",
|
|
"serialize-javascript": "^7.0.7"
|
|
}
|
|
}
|