space-slug
Version:
Generate unique slugs, usernames, numbers and more. If you need a unique string that looks like this `hyperspace-4812` or `blue-whimsical-summer` using an intuitive api with zero dependencies.
156 lines • 4.46 kB
JSON
{
"name": "space-slug",
"description": "Generate unique slugs, usernames, numbers and more. If you need a unique string that looks like this `hyperspace-4812` or `blue-whimsical-summer` using an intuitive api with zero dependencies.",
"version": "2.1.0",
"author": "Tim Mikeladze <tim.mikeladze@gmail.com>",
"license": "MIT",
"keywords": [
"slug",
"random",
"unique",
"generator",
"random slug",
"slug generator",
"username generator"
],
"repository": {
"type": "git",
"url": "git@github.com:TimMikeladze/space-slug.git"
},
"tsup": {
"entry": [
"src/index.ts"
],
"treeshake": true,
"sourcemap": "inline",
"minify": true,
"clean": true,
"dts": true,
"splitting": false,
"format": [
"cjs",
"esm"
],
"external": [
"react"
],
"injectStyle": false
},
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
"dist"
],
"lint-staged": {
"./{src,tests}/**/*.{ts,js,jsx,tsx}": [
"eslint --ignore-path .gitignore --fix"
],
"*": "prettier --write"
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@babel/core": "7.24.0",
"@babel/preset-env": "7.24.0",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@commitlint/cli": "19.2.0",
"@commitlint/config-conventional": "19.1.0",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@storybook/addon-essentials": "7.6.17",
"@storybook/addon-interactions": "7.6.17",
"@storybook/addon-links": "7.6.17",
"@storybook/blocks": "7.6.17",
"@storybook/react": "7.6.17",
"@storybook/react-webpack5": "7.6.17",
"@storybook/storybook-deployer": "2.8.16",
"@storybook/testing-library": "0.2.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/node": "20.11.28",
"@types/react": "18.2.67",
"@types/react-dom": "18.2.22",
"@types/react-test-renderer": "18.0.7",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.3.0",
"babel-loader": "9.1.3",
"concurrently": "8.2.2",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sort-class-members": "^1.20.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-typescript-sort-keys": "3.2.0",
"eslint-plugin-unused-imports": "3.1.0",
"husky": "9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"release-it": "17.1.1",
"storybook": "7.6.17",
"tsdoc-markdown": "^0.4.0",
"tsup": "8.0.2",
"typescript": "5.4.2",
"vitest": "^1.3.0",
"yalc": "1.0.0-pre.53"
},
"resolutions": {
"glob-parent": ">=5.1.2",
"parse-url": ">=8.1.0",
"semver": ">=7.5.2",
"trim": ">=0.0.3",
"trim-newlines": ">=3.0.1",
"yaml": ">=2.2.2"
},
"scripts": {
"dev": "concurrently \"yarn build --watch\" \"yarn storybook\" \"yarn test\" ",
"build": "tsup --onSuccess \"yarn link:self && yarn doc\"",
"type-check": "tsc",
"lint": "eslint --ignore-path .gitignore \"{src,tests}/**/*.+(ts|js|tsx)\"",
"lint:fix": "yarn lint --fix && prettier --write .",
"test": "vitest",
"test:ci": "vitest run --coverage",
"commit": "cz",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"deploy-storybook": "storybook-to-ghpages",
"release": "yarn build && yarn release-it",
"link:self": "yarn yalc publish && yarn link",
"doc": "tsdoc --src=src/*"
}
}