summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-08-07 17:17:32 +0400
committerEthan Werner <mail@ethanwerner.com>2026-08-07 17:17:32 +0400
commite4e84c7aad9fb887150ba1fcfaf64463765419c9 (patch)
treecdafa934aa61d8b646435d2a7b4ed0d7ac5c9f55 /package.json
parente0f9cc69f9f7f524610d65b288eecdbf2ad958d6 (diff)
javascript portHEADmaster
Diffstat (limited to 'package.json')
-rw-r--r--package.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..8e3360e
--- /dev/null
+++ b/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "snowflake",
+ "version": "1.0.0",
+ "description": "Generate random, URL-safe identifiers",
+ "license": "MIT",
+ "type": "module",
+ "main": "./dist/snowflake.js",
+ "types": "./dist/snowflake.d.ts",
+ "files": ["dist"],
+ "scripts": {
+ "build": "tsc",
+ "prepare": "tsc",
+ "test": "vitest run --config javascript/vitest.config.ts",
+ "test:watch": "vitest --config javascript/vitest.config.ts"
+ },
+ "devDependencies": {
+ "@types/node": "^20.11.0",
+ "typescript": "^5.4.0",
+ "vitest": "^1.6.0"
+ }
+}