package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@peculiar/asn1-ecc",
  3. "version": "2.7.0",
  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. "files": [
  18. "build/**/*.{js,d.ts}",
  19. "build/es2015/package.json",
  20. "LICENSE",
  21. "README.md"
  22. ],
  23. "main": "build/cjs/index.js",
  24. "module": "build/es2015/index.js",
  25. "types": "build/types/index.d.ts",
  26. "exports": {
  27. ".": {
  28. "types": "./build/types/index.d.ts",
  29. "import": "./build/es2015/index.js",
  30. "require": "./build/cjs/index.js"
  31. },
  32. "./package.json": "./package.json"
  33. },
  34. "publishConfig": {
  35. "access": "public"
  36. },
  37. "repository": {
  38. "type": "git",
  39. "url": "https://github.com/PeculiarVentures/asn1-schema",
  40. "directory": "packages/ecc"
  41. },
  42. "bugs": {
  43. "url": "https://github.com/PeculiarVentures/asn1-schema/issues"
  44. },
  45. "homepage": "https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/ecc#readme",
  46. "scripts": {
  47. "clear": "rimraf build",
  48. "build": "npm run build:module && npm run build:types",
  49. "build:module": "npm run build:cjs && npm run build:es2015",
  50. "build:cjs": "tsc -p tsconfig.compile.json --removeComments --module commonjs --outDir build/cjs",
  51. "build:es2015": "tsc -p tsconfig.compile.json --removeComments --module ES2015 --outDir build/es2015",
  52. "postbuild:es2015": "node ../../scripts/prepare_esm_package.mjs build/es2015",
  53. "prebuild:types": "rimraf build/types",
  54. "build:types": "tsc -p tsconfig.compile.json --outDir build/types --declaration --emitDeclarationOnly",
  55. "rebuild": "npm run clear && npm run build"
  56. },
  57. "dependencies": {
  58. "@peculiar/asn1-schema": "^2.7.0",
  59. "@peculiar/asn1-x509": "^2.7.0",
  60. "asn1js": "^3.0.6",
  61. "tslib": "^2.8.1"
  62. }
  63. }