package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "_args": [
  3. [
  4. "tweetnacl@0.14.5",
  5. "/Users/lihai/jolijoli/pad_spa"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "tweetnacl@0.14.5",
  10. "_id": "tweetnacl@0.14.5",
  11. "_inBundle": false,
  12. "_integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
  13. "_location": "/tweetnacl",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "tweetnacl@0.14.5",
  19. "name": "tweetnacl",
  20. "escapedName": "tweetnacl",
  21. "rawSpec": "0.14.5",
  22. "saveSpec": null,
  23. "fetchSpec": "0.14.5"
  24. },
  25. "_requiredBy": [
  26. "/bcrypt-pbkdf",
  27. "/sshpk"
  28. ],
  29. "_resolved": "https://registry.npm.taobao.org/tweetnacl/download/tweetnacl-0.14.5.tgz",
  30. "_spec": "0.14.5",
  31. "_where": "/Users/lihai/jolijoli/pad_spa",
  32. "author": {
  33. "name": "TweetNaCl-js contributors"
  34. },
  35. "browser": {
  36. "buffer": false,
  37. "crypto": false
  38. },
  39. "bugs": {
  40. "url": "https://github.com/dchest/tweetnacl-js/issues"
  41. },
  42. "description": "Port of TweetNaCl cryptographic library to JavaScript",
  43. "devDependencies": {
  44. "browserify": "^13.0.0",
  45. "eslint": "^2.2.0",
  46. "faucet": "^0.0.1",
  47. "tap-browser-color": "^0.1.2",
  48. "tape": "^4.4.0",
  49. "tape-run": "^2.1.3",
  50. "tweetnacl-util": "^0.13.3",
  51. "uglify-js": "^2.6.1"
  52. },
  53. "directories": {
  54. "test": "test"
  55. },
  56. "homepage": "https://tweetnacl.js.org",
  57. "keywords": [
  58. "crypto",
  59. "cryptography",
  60. "curve25519",
  61. "ed25519",
  62. "encrypt",
  63. "hash",
  64. "key",
  65. "nacl",
  66. "poly1305",
  67. "public",
  68. "salsa20",
  69. "signatures"
  70. ],
  71. "license": "Unlicense",
  72. "main": "nacl-fast.js",
  73. "name": "tweetnacl",
  74. "repository": {
  75. "type": "git",
  76. "url": "git+https://github.com/dchest/tweetnacl-js.git"
  77. },
  78. "scripts": {
  79. "bench": "node test/benchmark/bench.js",
  80. "build": "uglifyjs nacl.js -c -m -o nacl.min.js && uglifyjs nacl-fast.js -c -m -o nacl-fast.min.js",
  81. "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",
  82. "lint": "eslint nacl.js nacl-fast.js test/*.js test/benchmark/*.js",
  83. "test": "npm run test-node-all && npm run test-browser",
  84. "test-browser": "NACL_SRC=${NACL_SRC:='nacl.min.js'} && npm run build-test-browser && cat $NACL_SRC test/browser/_bundle.js | tape-run | faucet",
  85. "test-node": "tape test/*.js | faucet",
  86. "test-node-all": "make -C test/c && tape test/*.js test/c/*.js | faucet"
  87. },
  88. "types": "nacl.d.ts",
  89. "version": "0.14.5"
  90. }