UNPKG

ulid-workers

Version:

ULID generator for Cloudflare workers

62 lines (61 loc) 1.78 kB
{ "name": "ulid-workers", "version": "2.1.0", "description": "ULID generator for Cloudflare workers", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "npm run clean && tsc", "clean": "rimraf dist", "format": "prettier --write \"{src,test}/**/*.ts\"", "prepublishOnly": "npm run build", "test": "npm run build && npm run test:format && npm run test:specs", "test:format": "prettier --check \"{src,test}/**/*.ts\"", "test:specs": "npx ts-mocha -t 10000 --check-leaks --global crypto test/**/*.spec.ts", "prepare": "husky install" }, "files": [ "dist/**/*", "CHANGELOG.md" ], "lint-staged": { "{source,test}/**/*.{js,ts}": [ "prettier --write" ] }, "repository": { "type": "git", "url": "git+https://github.com/ryan-mars/ulid-workers.git" }, "keywords": [ "ulid", "uuid", "id", "generator", "guid" ], "author": "Ryan Marsh <ryan@stochastic.dev>", "contributors": [ "Glenn Rempe <glenn@rempe.us>" ], "license": "MIT", "bugs": { "url": "https://github.com/ryan-mars/ulid-workers/issues" }, "homepage": "https://github.com/ryan-mars/ulid-workers#readme", "devDependencies": { "@types/expect": "^24.3.0", "@types/mocha": "^9.1.0", "@types/node": "^17.0.16", "@types/sinon": "^10.0.11", "chai": "^4.3.6", "husky": "^7.0.4", "lint-staged": "^12.3.3", "mocha": "^9.2.0", "prettier": "^2.5.1", "rimraf": "^3.0.2", "sinon": "^13.0.1", "ts-mocha": "^9.0.2", "typescript": "^4.5.5" } }