UNPKG

react-runtime-config

Version:

Provide a typesafe runtime configuration inside a react app

65 lines (64 loc) 1.62 kB
{ "name": "react-runtime-config", "version": "3.0.2", "description": "Provide a typesafe runtime configuration inside a react app", "repository": { "type": "git", "url": "git@github.com:contiamo/react-runtime-config.git" }, "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "start": "jest --watch", "test": "jest", "build": "tsc -p tsconfig.package.json", "prepublishOnly": "yarn test --ci && yarn build", "format": "eslint src/*.{ts,tsx} --fix && prettier src/*.{ts,tsx,json} --write" }, "keywords": [ "typescript", "react", "config", "configuration", "runtime" ], "author": "Fabien Bernard <fabien@contiamo.com>", "license": "MIT", "devDependencies": { "@testing-library/react-hooks": "^5.1.1", "@types/jest": "^26.0.22", "@types/lodash": "^4.14.168", "@types/react": "^16.14.4", "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", "eslint": "^7.24.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "husky": "^6.0.0", "jest": "^26.6.3", "prettier": "^2.2.1", "pretty-quick": "^3.1.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "ts-jest": "^26.5.3", "ts-mockery": "^1.2.0", "typescript": "^4.2.4" }, "dependencies": { "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16" }, "jest": { "preset": "ts-jest", "testEnvironment": "jsdom", "testMatch": [ "**/*.test.ts" ] } }