summaryrefslogtreecommitdiffstats
path: root/javascript/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 /javascript/package.json
parente0f9cc69f9f7f524610d65b288eecdbf2ad958d6 (diff)
javascript portHEADmaster
Diffstat (limited to 'javascript/package.json')
-rw-r--r--javascript/package.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/javascript/package.json b/javascript/package.json
new file mode 100644
index 0000000..c3306ec
--- /dev/null
+++ b/javascript/package.json
@@ -0,0 +1,18 @@
+{
+ "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",
+ "scripts": {
+ "build": "tsc --outDir ../dist",
+ "test": "vitest run",
+ "test:watch": "vitest"
+ },
+ "devDependencies": {
+ "typescript": "^5.4.0",
+ "vitest": "^1.6.0"
+ }
+}