use-secret-code
Version:
Custom hook for adding cheat codes to your React app
88 lines (87 loc) • 2.26 kB
JSON
{
"name": "use-secret-code",
"version": "1.0.82",
"description": "Custom hook for adding cheat codes to your React app",
"keywords": [
"react",
"hook",
"hooks",
"secret",
"cheat",
"code"
],
"license": "MIT",
"author": {
"name": "Justin Hall",
"email": "justin.r.hall@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/wKovacs64/use-secret-code.git"
},
"bugs": {
"url": "https://github.com/wKovacs64/use-secret-code/issues"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"files": [
"dist"
],
"scripts": {
"build": "tsup ./src/index.ts --format cjs,esm --dts --sourcemap --clean",
"changeset": "changeset",
"changeset:version": "changeset version && npm install --package-lock-only",
"changeset:publish": "changeset publish",
"example:install": "npm --workspace=example install",
"example:build": "npm --workspace=example run build",
"format": "prettier --cache --write .",
"lint": "eslint .",
"prepare": "npm run --silent build",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"typecheck": "tsc --noEmit"
},
"private": false,
"publishConfig": {
"access": "public"
},
"dependencies": {
"@xstate/react": "4.0.2",
"xstate": "5.4.1"
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@testing-library/dom": "9.3.3",
"@testing-library/jest-dom": "6.1.6",
"@testing-library/react": "14.1.2",
"@testing-library/user-event": "14.5.2",
"@types/node": "20.10.6",
"@types/react": "18.2.46",
"@types/react-dom": "18.2.18",
"@vitest/coverage-v8": "1.1.1",
"@wkovacs64/prettier-config": "3.0.3",
"eslint": "8.56.0",
"eslint-plugin-wkovacs64": "15.1.0",
"npm-run-all": "4.1.5",
"prettier": "3.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"tsup": "8.0.1",
"typescript": "5.3.3",
"vite": "5.0.10",
"vitest": "1.1.1"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"workspaces": [
".",
"example"
]
}