package.json 1.9 KB

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