snowflakify
Version:
The most complete Snowflake ID generator in TypeScript
93 lines (92 loc) • 2.46 kB
JSON
{
"name": "snowflakify",
"version": "1.0.5",
"description": "The most complete Snowflake ID generator in TypeScript",
"license": "MIT",
"author": {
"name": "Ariana (CatWithAWand)",
"email": "cat.with.a.wand@gmail.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CatWithAWand/snowflakify.git"
},
"homepage": "https://github.com/CatWithAWand/snowflakify#readme",
"bugs": "https://github.com/CatWithAWand/snowflakify/issues",
"keywords": [
"snowflakify",
"snowflake",
"snowflake-id",
"generator",
"custom",
"twitter",
"discord",
"typescript"
],
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
}
},
"directories": {
"lib": "dist",
"test": "test",
"doc": "docs"
},
"engines": {
"node": ">=14.5.0"
},
"packageManager": "yarn@3.2.1",
"scripts": {
"prepare": "husky install",
"cm": "cz",
"cm:s": "cz -S",
"test": "jest",
"watch": "tsc -w",
"start": "node dist/index.js",
"lint": "prettier --check . && eslint src/**/*.ts",
"format": "prettier --write . && eslint src/**/*.ts --fix",
"build": "./build.sh",
"docs": "typedoc --excludeExternals --out docs src/**/*.ts && prettier --write docs",
"dev": "nodemon dist/index.js",
"dev:ts": "ts-node src/index.ts"
},
"devDependencies": {
"@microsoft/tsdoc": "^0.14.1",
"@types/jest": "^28.1.8",
"@types/node": "^18.6.0",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.20.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsdoc": "^0.2.16",
"husky": "^8.0.1",
"jest": "^28.1.3",
"nodemon": "^2.0.19",
"prettier": "^2.7.1",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"typedoc": "^0.23.9",
"typescript": "^4.7.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"defaultScope": "global"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
}
}
}