feature/type-declarations #1

Merged
jackhadrill merged 9 commits from feature/type-declarations into master 2022-01-31 01:08:06 +00:00
2 changed files with 10 additions and 4 deletions

View File

@ -2,11 +2,13 @@
"name": "romulus-js", "name": "romulus-js",
"version": "1.0.0", "version": "1.0.0",
"description": "An implementation of the Romulus-M cryptography specification.", "description": "An implementation of the Romulus-M cryptography specification.",
"main": "index.js", "main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": { "scripts": {
"lint": "ts-standard", "lint": "ts-standard",
"test": "jest", "test": "jest",
"build": "tsc" "build": "tsc",
"postinstall": "tsc"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -9,7 +9,11 @@
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */ "strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */ "skipLibCheck": true, /* Skip type checking all .d.ts files. */
"declaration": true
}, },
"exclude": ["tests"] "exclude": [
"tests",
"dist"
]
} }