summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
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"
+ }
+}