UNPKG

snowyflake

Version:

A modern implementation Snowflake on TypeScript

62 lines (61 loc) 1.88 kB
{ "name": "snowyflake", "version": "2.0.1", "description": "A modern implementation Snowflake on TypeScript", "license": "MIT", "author": { "name": "Vladlen (Negezor)", "email": "negezor@gmail.com" }, "repository": { "type": "git", "url": "git+https://github.com/negezor/snowyflake.git" }, "homepage": "https://github.com/negezor/snowyflake#readme", "bugs": "https://github.com/negezor/snowyflake/issues", "keywords": [ "snowflake", "twitter", "bigint", "typescript", "generator" ], "files": [ "lib" ], "main": "./lib/index.js", "types": "./lib/index.d.ts", "exports": { ".": { "import": "./lib/index.mjs", "require": "./lib/index.js", "types": "./lib/index.d.ts" } }, "sideEffects": false, "engines": { "node": ">=16.0.0" }, "devDependencies": { "@biomejs/biome": "^1.9.4", "rollup": "^4.34.7", "rollup-plugin-typescript2": "^0.36.0", "tsx": "^4.19.2", "typedoc": "^0.27.7", "typedoc-plugin-markdown": "^4.4.2", "typescript": "^5.7.3" }, "scripts": { "prepare": "npm run rollup:build && npm run test", "build": "npm run rollup:build", "watch": "npm run rollup:watch", "clean": "rm -rf lib", "rollup:build": "rollup --bundleConfigAsCjs -c", "rollup:watch": "npm run rollup:build -- --watch", "test": "npm run test:node && npm run lint", "test:node": "node --import tsx --test test/*.test.ts", "lint": "npm run lint:biome", "lint:biome": "biome lint --write ./src", "docs:generate": "typedoc --plugin typedoc-plugin-markdown --out docs/api-reference --excludeExternals --readme none src" } }