diff --git a/husky/commit-msg b/.husky/commit-msg similarity index 100% rename from husky/commit-msg rename to .husky/commit-msg diff --git a/husky/pre-commit b/.husky/pre-commit similarity index 100% rename from husky/pre-commit rename to .husky/pre-commit diff --git a/husky/prepare-commit-msg b/.husky/prepare-commit-msg similarity index 100% rename from husky/prepare-commit-msg rename to .husky/prepare-commit-msg diff --git a/.npmignore b/.npmignore index f784855..1f94ad5 100644 --- a/.npmignore +++ b/.npmignore @@ -8,7 +8,9 @@ src/ .* !dist/**/*.d.ts !dist/**/*.js +doc/ coverage/ .template/ .husky/ -e2e/ \ No newline at end of file +e2e/ +*.mjs diff --git a/package-lock.json b/package-lock.json index 7c7ab5a..aef96df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1864,9 +1864,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "12.20.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", - "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "version": "17.0.45", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz", + "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", "dev": true }, "node_modules/@types/normalize-package-data": { diff --git a/package.json b/package.json index 8fa7101..ed03b5a 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "Simple public/private key encryption and decryption of files in your browser using the WebCrypto API.", "main": "dist/simple-file-encryption.js", + "typings": "dist/simple-file-encryption.d.ts", "scripts": { "prebuild": "rimraf ./dist/*", "build": "rollup --config rollup.config.mjs",