UNPKG

jest-launchdarkly-mock

Version:

Easily unit test LaunchDarkly feature flagged components with jest

80 lines (79 loc) 2.17 kB
{ "name": "jest-launchdarkly-mock", "version": "2.1.0", "description": "Easily unit test LaunchDarkly feature flagged components with jest", "main": "dist/index.js", "files": [ "dist" ], "scripts": { "prettier": "prettier --write 'src/**/*.@(js|ts|tsx|json|css)'", "lint": "eslint --ext ts,tsx,js,jsx src", "test": "jest", "check": "yarn prettier && yarn lint && yarn tsc && yarn test", "build": "rimraf dist && tsc" }, "repository": { "type": "git", "url": "git+https://github.com/launchdarkly/jest-launchdarkly-mock.git" }, "keywords": [ "jest", "launchdarkly", "mock", "unit", "test", "feature", "flags" ], "author": "Yusinto Ngadiman", "license": "Apache-2.0", "homepage": "https://github.com/launchdarkly/jest-launchdarkly-mock#readme", "dependencies": { "lodash.camelcase": "^4.3.0", "lodash.kebabcase": "^4.1.1", "lodash.snakecase": "^4.1.1" }, "peerDependencies": { "launchdarkly-react-client-sdk": "^3.0.0", "react": ">=17.0.2" }, "devDependencies": { "@testing-library/react-hooks": "^7.0.2", "@types/jest": "^27.4.1", "@types/lodash.camelcase": "^4.3.6", "@types/lodash.kebabcase": "^4.1.6", "@types/lodash.snakecase": "^4.1.6", "@types/react": "^17", "@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/parser": "^5.13.0", "eslint": "^8.11.0", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-node": "^0.3.6", "eslint-plugin-import": "^2.25.4", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.29.4", "eslint-plugin-react-hooks": "^4.3.0", "jest": "^27.5.1", "launchdarkly-js-client-sdk": "^3.0.0", "launchdarkly-react-client-sdk": "^3.0.0", "prettier": "^2.5.1", "react": "^17.0.2", "react-test-renderer": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.1.3", "typescript": "^4.6.2" }, "packageManager": "yarn@3.3.0", "workspaces": [ "example" ], "dependenciesMeta": { "universal-hot-reload@3.3.9": { "unplugged": true } }, "resolutions": { "lodash": "^4.17.21" } }