random-seed-weighted-chooser
Version:
A random weighted item chooser with custom seed option for JavaScript and TypeScript.
87 lines (86 loc) • 2.74 kB
JSON
{
"name": "random-seed-weighted-chooser",
"version": "1.1.11",
"coreVersion": "3.0.9",
"author": "Justin Mahar <contact@justinmahar.com>",
"description": "A random weighted item chooser with custom seed option for JavaScript and TypeScript.",
"homepage": "https://justinmahar.github.io/random-seed-weighted-chooser/",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "rm -rf ./dist && tsc",
"test": "npm run build && mocha",
"start": "npm run storybook",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"preship": "npm run build && git diff-index HEAD && npm version patch -m \"Build, version, and publish.\"",
"ship": "npm publish --access public",
"postship": "git push",
"update": "rm -rf .lockblocks && git clone -q git@github.com:justinmahar/react-kindling.git ./.lockblocks && lockblocks ./.lockblocks . --verbose && rm -rf .lockblocks && echo '' && echo ' → Be sure to run `npm i` to install new dependencies.' && echo ''",
"postupdate": "node remove-peer-deps.js"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/justinmahar/random-seed-weighted-chooser.git"
},
"bugs": {
"url": "https://github.com/justinmahar/random-seed-weighted-chooser/issues"
},
"keywords": [
"random",
"seed",
"seeded",
"weight",
"weighted",
"choice",
"choose",
"chooser",
"item",
"items",
"pick",
"picker",
"pseudo",
"pseudorandom",
"number",
"generator",
"array",
"PRNG"
],
"dependencies": {
"seedrandom": "^3.0.1"
},
"devDependencies": {
"@storybook/addon-docs": "^7.6.12",
"@storybook/addon-essentials": "^7.6.12",
"@storybook/addon-viewport": "^7.6.12",
"@storybook/blocks": "^7.6.12",
"@storybook/react-webpack5": "^7.6.12",
"@storybook/react": "^7.6.12",
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.6",
"@types/react": "^18.2.53",
"@types/seedrandom": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"chai": "^4.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.6.15",
"eslint": "^8.56.0",
"lockblocks": "^1.1.8",
"mocha": "^6.1.4",
"prettier": "^3.2.5",
"react-dom": "^18.2.0",
"react-html-props": "^2.0.3",
"react-markdown": "^8.0.3",
"react": "^18.2.0",
"remark-gfm": "^3.0.1",
"replace-in-file": "^7.1.0",
"storybook": "^7.6.12",
"typescript": "^5.3.3",
"webpack": "^5.90.1"
}
}