package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@peculiar/asn1-cms",
  3. "version": "2.9.4",
  4. "description": "ASN.1 schema for Cryptographic Message Syntax (CMS) defined in RFC 5652.",
  5. "keywords": [
  6. "asn",
  7. "asn1",
  8. "cms",
  9. "pkcs7",
  10. "cryptography",
  11. "rfc5652"
  12. ],
  13. "author": "PeculiarVentures, LLC",
  14. "license": "MIT",
  15. "engines": {
  16. "node": ">=14"
  17. },
  18. "files": [
  19. "build/**/*.{js,d.ts}",
  20. "build/es2015/package.json",
  21. "LICENSE",
  22. "README.md"
  23. ],
  24. "main": "build/cjs/index.js",
  25. "module": "build/es2015/index.js",
  26. "types": "build/types/index.d.ts",
  27. "exports": {
  28. ".": {
  29. "types": "./build/types/index.d.ts",
  30. "import": "./build/es2015/index.js",
  31. "require": "./build/cjs/index.js"
  32. },
  33. "./package.json": "./package.json"
  34. },
  35. "publishConfig": {
  36. "access": "public"
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "https://github.com/PeculiarVentures/asn1-schema",
  41. "directory": "packages/cms"
  42. },
  43. "bugs": {
  44. "url": "https://github.com/PeculiarVentures/asn1-schema/issues"
  45. },
  46. "homepage": "https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/cms#readme",
  47. "scripts": {
  48. "clear": "rimraf build",
  49. "build": "npm run build:module && npm run build:types",
  50. "build:module": "npm run build:cjs && npm run build:es2015",
  51. "build:cjs": "tsc -p tsconfig.compile.json --removeComments --module commonjs --outDir build/cjs",
  52. "build:es2015": "tsc -p tsconfig.compile.json --removeComments --module ES2015 --outDir build/es2015",
  53. "postbuild:es2015": "node ../../scripts/prepare_esm_package.mjs build/es2015",
  54. "prebuild:types": "rimraf build/types",
  55. "build:types": "tsc -p tsconfig.compile.json --outDir build/types --declaration --emitDeclarationOnly",
  56. "rebuild": "npm run clear && npm run build"
  57. },
  58. "dependencies": {
  59. "@peculiar/asn1-schema": "^2.9.4",
  60. "@peculiar/asn1-x509": "^2.9.4",
  61. "@peculiar/asn1-x509-attr": "^2.9.4",
  62. "asn1js": "^3.0.10",
  63. "tslib": "^2.8.1"
  64. }
  65. }