UNPKG

nid

Version:

Nice clean-mouthed random id generation, without any swearing!

64 lines (63 loc) 2.11 kB
{ "name": "nid", "version": "2.0.1", "description": "Nice clean-mouthed random id generation, without any swearing!", "main": "nid.js", "browser": "nid.min.js", "type": "commonjs", "types": "nid.d.ts", "homepage": "https://github.com/rjrodger/nid", "keywords": [ "random", "unique", "id", "identifier", "generate", "generator", "generation", "swear", "curse" ], "author": "Richard Rodger (http://richardrodger.com)", "repository": { "type": "git", "url": "git://github.com/rjrodger/nid.git" }, "scripts": { "test": "jest --coverage", "test-pure": "jest --coverage --config jest.config.pure.js", "test-some": "jest -t", "test-some-pure": "jest --config jest.config.pure.js -t", "test-watch": "jest --coverage --watchAll", "test-web": "npm run build && npm run build-web && browserify -i util -o test/web.js -e test/entry.js -im && open test/web.html", "watch": "tsc -w -d", "build": "tsc -d", "build-web": "cp nid.js nid.min.js && browserify -i util -o nid.min.js -e nid.web.js -s Nid -im -p tinyify", "clean": "rm -rf node_modules yarn.lock package-lock.json", "reset": "npm run clean && npm i && npm run build && npm test", "repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;", "repo-publish": "npm run clean && npm i && npm run repo-publish-quick", "repo-publish-quick": "npm run build && npm run test && npm run build-web && npm run test-web && npm run repo-tag && npm publish --access public --registry https://registry.npmjs.org " }, "license": "MIT", "engines": { "node": ">=12" }, "files": [ "*.js", "*.map", "*.ts", "LICENSE", "README.md" ], "devDependencies": { "@types/jest": "^29.2.4", "browserify": "^17.0.0", "esbuild": "^0.16.12", "esbuild-jest": "^0.5.0", "jest": "^29.3.1", "tinyify": "^4.0.0", "ts-jest": "^29.0.3", "typescript": "^4.9.4" } }