forked from PeculiarVentures/PKI.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
116 lines (116 loc) · 6.22 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
{
"author": {
"email": "yury@strozhevsky.com",
"name": "Yury Strozhevsky"
},
"description": "Public Key Infrastructure (PKI) is the basis of how identity and key management is performed on the web today. PKIjs is a pure JavaScript library implementing the formats that are used in PKI applications. It is built on WebCrypto and aspires to make it possible to build native web applications that utilize X.509 and the related formats on the web without plug-ins",
"contributors": [
{
"email": "rmh@unmitigatedrisk.com",
"name": "Ryan Hurst"
}
],
"repository": {
"type": "git",
"url": "git://github.com/PeculiarVentures/PKI.js.git"
},
"devDependencies": {
"babel-cli": "latest",
"babel-plugin-istanbul": "^4.1.5",
"babel-preset-env": "latest",
"babel-register": "^6.26.0",
"cross-env": "^5.2.0",
"emailjs-mime-builder": "latest",
"emailjs-mime-parser": "^2.0.1",
"esdoc": "^1.1.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^4.19.1",
"mocha": "^3.5.3",
"nyc": "^11.9.0",
"rollup": "latest",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-node-builtins": "latest",
"rollup-plugin-node-resolve": "^1.7.1"
},
"dependencies": {
"asn1js": "latest",
"bytestreamjs": "latest",
"pvutils": "latest"
},
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"build": "babel src --compact=false --out-dir build --source-maps",
"watch": "babel src --compact=false --out-dir build --source-maps --watch",
"ex1": "cd examples/CMSSignedComplexExample && npm run build && cd ../..",
"ex1:es5": "cd examples/CMSSignedComplexExample && npm run build:es5 && cd ../..",
"ex2": "cd examples/CertificateComplexExample && npm run build && cd ../..",
"ex2:es5": "cd examples/CertificateComplexExample && npm run build:es5 && cd ../..",
"ex3": "cd examples/NISTPKITS && npm run build && cd ../..",
"ex4": "cd examples/HowToEncryptCMSviaCertificate && npm run build && cd ../..",
"ex4:es5": "cd examples/HowToEncryptCMSviaCertificate && npm run build:es5 && cd ../..",
"ex5": "cd examples/HowToEncryptCMSviaPassword && npm run build && cd ../..",
"ex5:es5": "cd examples/HowToEncryptCMSviaPassword && npm run build:es5 && cd ../..",
"ex6": "cd examples/CRLComplexExample && npm run build && cd ../..",
"ex6:es5": "cd examples/CRLComplexExample && npm run build:es5 && cd ../..",
"ex7": "cd examples/PKCS10ComplexExample && npm run build && cd ../..",
"ex7:es5": "cd examples/PKCS10ComplexExample && npm run build:es5 && cd ../..",
"ex8": "cd examples/OCSPRequestComplexExample && npm run build && cd ../..",
"ex8:es5": "cd examples/OCSPRequestComplexExample && npm run build:es5 && cd ../..",
"ex9": "cd examples/OCSPResponseComplexExample && npm run build && cd ../..",
"ex9:es5": "cd examples/OCSPResponseComplexExample && npm run build:es5 && cd ../..",
"ex10": "cd examples/TSPRequestComplexExample && npm run build && cd ../..",
"ex10:es5": "cd examples/TSPRequestComplexExample && npm run build:es5 && cd ../..",
"ex11": "cd examples/TSPResponseComplexExample && npm run build && cd ../..",
"ex11:es5": "cd examples/TSPResponseComplexExample && npm run build:es5 && cd ../..",
"ex12": "cd examples/P7BSimpleExample && npm run build && cd ../..",
"ex12:es5": "cd examples/P7BSimpleExample && npm run build:es5 && cd ../..",
"ex13": "cd examples/PKCS12SimpleExample && npm run build && cd ../..",
"ex13:es5": "cd examples/PKCS12SimpleExample && npm run build:es5 && cd ../..",
"ex14": "cd examples/PDFExample && npm run build && cd ../..",
"ex14:es5": "cd examples/PDFExample && npm run build:es5 && cd ../..",
"ex15": "cd examples/SMIMEVerificationExample && npm run build && cd ../..",
"ex15:es5": "cd examples/SMIMEVerificationExample && npm run build:es5 && cd ../..",
"ex16": "cd examples/SMIMEEncryptionExample && npm run build && cd ../..",
"ex16:es5": "cd examples/SMIMEEncryptionExample && npm run build:es5 && cd ../..",
"ex17": "cd examples/NodePKCS12Example && npm run build && cd ../..",
"build:examples": "npm run ex1 && npm run ex2 && npm run ex3 && npm run ex4 && npm run ex5 && npm run ex6 && npm run ex7 && npm run ex8 && npm run ex9 && npm run ex10 && npm run ex11 && npm run ex12 && npm run ex13 && npm run ex14 && npm run ex15 && npm run ex16 && npm run ex17",
"build:examples:es5": "npm run ex1:es5 && npm run ex2:es5 && npm run ex3 && npm run ex4:es5 && npm run ex5:es5 && npm run ex6:es5 && npm run ex7:es5 && npm run ex8:es5 && npm run ex9:es5 && npm run ex10:es5 && npm run ex11:es5 && npm run ex12:es5 && npm run ex13:es5 && npm run ex14:es5 && npm run ex15:es5 && npm run ex16:es5 && npm run ex17",
"build:tests": "npm run build:examples",
"build:docs": "esdoc",
"test:node": "cross-env NODE_ENV=test nyc mocha --timeout 40000 --require babel-register test/s_*.js && cross-env NODE_ENV=test nyc --clean=false mocha --timeout 40000 --require babel-register test/n_*.js",
"test": "node -e \"console.log('\\nWARNING: !!! in order to test PKIjs in Node environment you\\nwould need to install additional package node-webcrypto-ossl !!!\\n\\nThe node-webcrypto-ossl is not referenced in PKIjs dependencies\\nanymore because we were noticed users have a problems with\\nthe package installation, especially on Windows platform.\\n\\nThe node-webcrypto-ossl is NOT a mandatory for testing PKIjs -\\nyou could visit test/browser subdir and run all the same tests\\nin your favorite browser.\\n\\nAlso you could check CircleCI - for each build the service runs\\nall tests and results could be easily observed.\\n\\nIf you do need to run PKIjs tests locally using Node please use\\nnpm run test:node')\"",
"prepublishOnly": "npm run build"
},
"keywords": [
"ES6",
"ES2015",
"WebCrypto",
"Web Cryptography API",
"X.509",
"certificate",
"crl",
"cms",
"encrypted",
"enveloped",
"OCSP",
"timestamp",
"PKCS"
],
"jsnext:main": "./src/index.js",
"module": "./src/index.js",
"main": "./build/index.js",
"name": "pkijs",
"version": "2.1.71",
"license": "MIT",
"esdoc": {
"source": "./src",
"destination": "./docs",
"plugins": [
{
"name": "esdoc-standard-plugin"
}
]
}
}