package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "tweetnacl",
  3. "version": "1.0.3",
  4. "description": "Port of TweetNaCl cryptographic library to JavaScript",
  5. "main": "nacl-fast.js",
  6. "types": "nacl.d.ts",
  7. "directories": {
  8. "test": "test"
  9. },
  10. "scripts": {
  11. "build": "uglifyjs nacl.js -c -m -o nacl.min.js && uglifyjs nacl-fast.js -c -m -o nacl-fast.min.js",
  12. "test-node": "tape test/*.js | faucet",
  13. "test-node-all": "make -C test/c && tape test/*.js test/c/*.js | faucet",
  14. "build-test-browser": "browserify test/browser/init.js test/*.js | uglifyjs -c -m -o test/browser/_bundle.js 2>/dev/null && browserify test/browser/init.js test/*.quick.js | uglifyjs -c -m -o test/browser/_bundle-quick.js 2>/dev/null",
  15. "test": "npm run test-node-all",
  16. "bench": "node test/benchmark/bench.js",
  17. "lint": "eslint nacl.js nacl-fast.js test/*.js test/benchmark/*.js"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/dchest/tweetnacl-js.git"
  22. },
  23. "keywords": [
  24. "crypto",
  25. "cryptography",
  26. "curve25519",
  27. "ed25519",
  28. "encrypt",
  29. "hash",
  30. "key",
  31. "nacl",
  32. "poly1305",
  33. "public",
  34. "salsa20",
  35. "signatures"
  36. ],
  37. "author": "TweetNaCl-js contributors",
  38. "license": "Unlicense",
  39. "bugs": {
  40. "url": "https://github.com/dchest/tweetnacl-js/issues"
  41. },
  42. "homepage": "https://tweetnacl.js.org",
  43. "devDependencies": {
  44. "browserify": "^16.2.3",
  45. "eslint": "^6.8.0",
  46. "faucet": "^0.0.1",
  47. "tap-browser-color": "^0.1.2",
  48. "tape": "^4.13.0",
  49. "tweetnacl-util": "^0.15.0",
  50. "uglify-js": "^3.7.5"
  51. },
  52. "browser": {
  53. "buffer": false,
  54. "crypto": false
  55. }
  56. }