package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "aes-js",
  3. "version": "4.0.0-beta.5",
  4. "description": "A pure JavaScript implementation of the AES block cipher and all common modes of operation.",
  5. "devDependencies": {
  6. "@types/mocha": "^9.1.0",
  7. "@types/node": "^16.7.10",
  8. "mocha": "^9.2.2",
  9. "typescript": "^4.7.4"
  10. },
  11. "exports": {
  12. ".": {
  13. "import": "./lib.esm/index.js",
  14. "default": "./lib.commonjs/index.js"
  15. }
  16. },
  17. "scripts": {
  18. "auto-build": "npm run build -- -w",
  19. "build": "tsc --build ./tsconfig.esm.json",
  20. "build-all": "npm run build && npm run build-commonjs",
  21. "build-clean": "npm run clean && npm run build-all",
  22. "build-commonjs": "tsc --build ./tsconfig.commonjs.json && cp ./package-commonjs.json ./lib.commonjs/package.json",
  23. "clean": "rm -rf lib.commonjs lib.esm && cp -r misc/basedirs/* .",
  24. "test-commonjs": "mocha ./lib.commonjs/tests.js",
  25. "test-esm": "mocha ./lib.esm/tests.js",
  26. "test": "npm run test-commonjs && npm run test-esm"
  27. },
  28. "main": "./lib.commonjs/index.js",
  29. "module": "./lib.esm/index.js",
  30. "publishConfig": {
  31. "tag": "beta"
  32. },
  33. "sideEffects": false,
  34. "keywords": [
  35. "aes",
  36. "aes-ctr",
  37. "aes-ofb",
  38. "aes-ecb",
  39. "aes-cbc",
  40. "aes-cfb",
  41. "encrypt",
  42. "decrypt",
  43. "block",
  44. "cipher"
  45. ],
  46. "repository": {
  47. "type": "git",
  48. "url": "git://github.com/ricmoo/aes-js.git"
  49. },
  50. "bugs": {
  51. "url": "http://github.com/ricmoo/aes-js/issues",
  52. "email": "github@ricmoo.com"
  53. },
  54. "author": "Richard Moore <me@ricmoo.com>",
  55. "license": "MIT"
  56. }