chore: add types and remove references to unused files

This commit is contained in:
Junxiao Shi 2020-07-18 08:57:08 -04:00 committed by AJ ONeal
parent 8c545a4704
commit 8aa487225a
Signed by: coolaj86
GPG Key ID: F1D692A76F70CF98
3 changed files with 13 additions and 8 deletions

1
index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from "@root/asn1";

9
package-lock.json generated
View File

@ -9,7 +9,8 @@
"version": "1.0.1",
"license": "MPL-2.0",
"dependencies": {
"@root/encoding": "^1.0.1"
"@root/encoding": "^1.0.1",
"@types/root__asn1": "^1.0.0"
},
"devDependencies": {
"@root/pem": "^1.0.4"
@ -27,6 +28,12 @@
"integrity": "sha512-rEUDiUsHtild8GfIjFE9wXtcVxeS+ehCJQBwbQQ3IVfORKHK93CFnRtkr69R75lZFjcmKYVc+AXDB+AeRFOULA==",
"dev": true,
"license": "MPL-2.0"
},
"node_modules/@types/root__asn1": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@types/root__asn1/-/root__asn1-1.0.5.tgz",
"integrity": "sha512-halz3HrALf1N4pUJrtQrH6mdWPczXwshoWjuxmx49riKMJv2MZGKXnauk0RjlnRzM0rlwiAJRlMT9FtSjnF2kw==",
"license": "MIT"
}
}
}

View File

@ -3,13 +3,9 @@
"version": "1.0.1",
"description": "VanillaJS, Lightweight, Zero-Dependency, ASN.1 encoder and decoder.",
"main": "index.js",
"browser": {
"./node/native.js": "./browser/native.js"
},
"files": [
"*.js",
"node",
"browser",
"*.d.ts",
"dist"
],
"scripts": {
@ -22,7 +18,7 @@
},
"repository": {
"type": "git",
"url": "https://git.rootprojects.org/root/asn1.js.git"
"url": "https://github.com/therootcompany/asn1.js.git"
},
"keywords": [
"ASN.1",
@ -36,6 +32,7 @@
"@root/pem": "^1.0.4"
},
"dependencies": {
"@root/encoding": "^1.0.1"
"@root/encoding": "^1.0.1",
"@types/root__asn1": "^1.0.0"
}
}