forked from PeculiarVentures/x509
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 3.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "@peculiar/x509",
"version": "1.2.1",
"description": "@peculiar/x509 is an easy to use TypeScript/Javascript library based on @peculiar/asn1-schema that makes generating X.509 Certificates and Certificate Requests as well as validating certificate chains easy",
"main": "build/x509.cjs.js",
"module": "build/x509.es.js",
"types": "build/types/index.d.ts",
"scripts": {
"test": "mocha",
"clear": "rimraf build/* docs",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint --fix . --ext .ts",
"build": "npm run build:module && npm run build:types",
"build:module": "rollup -c",
"prebuild:types": "rimraf build/types",
"build:types": "tsc -p tsconfig.json --outDir build/types --declaration --emitDeclarationOnly",
"rebuild": "npm run clear && npm run build",
"coverage": "nyc npm test",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"docs": "typedoc",
"pub": "npm run pub:patch",
"pub:patch": "npm version patch && npm run git:push",
"pub:minor": "npm version minor && npm run git:push",
"pub:major": "npm version major && npm run git:push",
"git:push": "git push --follow-tags",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PeculiarVentures/x509.git"
},
"keywords": [
"x509",
"certificate",
"csr",
"pkcs10",
"pkcs7",
"cms",
"rsa",
"ec"
],
"author": "Peculiar Ventures LLC",
"contributors": [
"Miroshin Stepan<[email protected]>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/PeculiarVentures/x509/issues"
},
"homepage": "https://github.com/PeculiarVentures/x509#readme",
"files": [
"build/**/*.{ts,js}",
"README.md",
"LICENSE"
],
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts"
],
"reporter": [
"lcov",
"text-summary",
"html"
]
},
"mocha": {
"require": [
"ts-node/register"
],
"extension": [
"ts"
],
"timeout": 5000,
"spec": [
"test/**"
]
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@peculiar/webcrypto": "^1.1.6",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"coveralls": "^3.1.0",
"eslint": "^7.17.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.36.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.3",
"ts-node": "^9.1.1",
"typedoc": "^0.19.2",
"typescript": "^4.1.3"
},
"dependencies": {
"@peculiar/asn1-cms": "^2.0.27",
"@peculiar/asn1-csr": "^2.0.27",
"@peculiar/asn1-ecc": "^2.0.27",
"@peculiar/asn1-pkcs9": "^2.0.27",
"@peculiar/asn1-rsa": "^2.0.27",
"@peculiar/asn1-schema": "^2.0.27",
"@peculiar/asn1-x509": "^2.0.27",
"pvtsutils": "^1.1.1",
"reflect-metadata": "^0.1.13",
"tslib": "^2.1.0",
"tsyringe": "^4.4.0"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"newline-before-return": 1,
"@typescript-eslint/semi": 1,
"@typescript-eslint/quotes": [
"warn",
"double"
]
}
}
}