summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/testing/.npmignore7
-rw-r--r--packages/testing/README.md6
-rw-r--r--packages/testing/package.json28
-rw-r--r--packages/testing/src/index.ts4
-rw-r--r--packages/testing/tsconfig.json8
5 files changed, 53 insertions, 0 deletions
diff --git a/packages/testing/.npmignore b/packages/testing/.npmignore
new file mode 100644
index 0000000..d2360e9
--- /dev/null
+++ b/packages/testing/.npmignore
@@ -0,0 +1,7 @@
+src
+node_modules
+coverage
+.gitignore
+tsconfig.json
+*.config.js
+__mocks__
diff --git a/packages/testing/README.md b/packages/testing/README.md
new file mode 100644
index 0000000..90a0eb6
--- /dev/null
+++ b/packages/testing/README.md
@@ -0,0 +1,6 @@
+# @simplewebauthn/testing
+
+![WebAuthn](https://img.shields.io/badge/WebAuthn-Simplified-blueviolet?style=for-the-badge&logo=WebAuthn)
+[![npm (scoped)](https://img.shields.io/npm/v/@simplewebauthn/testing?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@simplewebauthn/testing)
+
+Sample WebAuthn credentials and other such values that can be used to test projects leveraging SimpleWebAuthn.
diff --git a/packages/testing/package.json b/packages/testing/package.json
new file mode 100644
index 0000000..3d18197
--- /dev/null
+++ b/packages/testing/package.json
@@ -0,0 +1,28 @@
+{
+ "name": "@simplewebauthn/testing",
+ "version": "0.10.5",
+ "description": "Sample WebAuthn values for testing projects leveraging SimpleWebAuthn.",
+ "main": "dist/index.js",
+ "types": "dist/index.d.ts",
+ "author": "Matthew Miller <matthew@millerti.me>",
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/MasterKale/SimpleWebAuthn.git",
+ "directory": "packages/testing"
+ },
+ "homepage": "https://github.com/MasterKale/SimpleWebAuthn/tree/master/packages/testing#readme",
+ "publishConfig": {
+ "access": "public"
+ },
+ "scripts": {
+ "build": "rimraf dist && tsc",
+ "prepublish": "npm run build"
+ },
+ "keywords": [
+ "typescript",
+ "webauthn",
+ "fido",
+ "types"
+ ]
+}
diff --git a/packages/testing/src/index.ts b/packages/testing/src/index.ts
new file mode 100644
index 0000000..1db85f3
--- /dev/null
+++ b/packages/testing/src/index.ts
@@ -0,0 +1,4 @@
+/**
+ * @packageDocumentation
+ * @module @simplewebauthn/testing
+ */
diff --git a/packages/testing/tsconfig.json b/packages/testing/tsconfig.json
new file mode 100644
index 0000000..383b520
--- /dev/null
+++ b/packages/testing/tsconfig.json
@@ -0,0 +1,8 @@
+{
+ "extends": "../../tsconfig.json",
+ "compilerOptions": {
+ "baseUrl": "./src",
+ "outDir": "./dist"
+ },
+ "include": ["src/**/*"]
+}