package.json 2.0 KB

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