package.json 2.0 KB

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