UNPKG

react-service-container

Version:

A simple, robust, idiomatic service locator library for React applications

69 lines (68 loc) 1.83 kB
{ "name": "react-service-container", "version": "0.2.6", "description": "A simple, robust, idiomatic service locator library for React applications", "repository": { "type": "git", "url": "https://github.com/traviskaufman/react-service-container.git" }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "dev": "parcel index.html", "pretest": "npm run build", "test": "jest --coverage --config jest.config.js", "test:watch": "jest --watch --config jest.config.js", "build:lib": "tsc", "build:dist": "webpack --config webpack.config.js && webpack --config webpack.config.js --env production", "build": "npm run build:lib && npm run build:dist", "prepublishOnly": "npm run build" }, "keywords": [ "react", "dependency-injection", "service-container", "provider", "di", "service-locator" ], "author": "Travis Kaufman <travis.kaufman@gmail.com>", "license": "MIT", "peerDependencies": { "react": "^16.13.1" }, "devDependencies": { "@types/jest": "^26.0.3", "@types/react": "^16.9.41", "@types/react-test-renderer": "^16.9.2", "jest": "^26.1.0", "react": "^16.13.1", "react-dom": "^16.13.1", "react-test-renderer": "^16.13.1", "regenerator-runtime": "^0.13.5", "rollup": "^2.21.0", "ts-jest": "^26.1.1", "ts-loader": "^8.0.0", "tslib": "^2.0.0", "typescript": "^3.9.5", "webpack": "^4.43.0", "webpack-cli": "^3.3.12", "webpack-merge": "^5.0.9" }, "browserslist": "> 0.25%, not dead", "jest": { "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } }, "globals": { "ts-jest": { "tsConfig": "tsconfig.test.json" } } } }