{ "_from": "preact-context@^1.1.3", "_id": "preact-context@1.1.4", "_inBundle": false, "_integrity": "sha512-gcCjPJ65R0MiW9hDu8W/3WAmyTElIvwLyEO6oLQiM6/TbLKLxCpBCWV8GJjx52TTEyUr60HLDcmoCXZlslelzQ==", "_location": "/preact-context", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "preact-context@^1.1.3", "name": "preact-context", "escapedName": "preact-context", "rawSpec": "^1.1.3", "saveSpec": null, "fetchSpec": "^1.1.3" }, "_requiredBy": [ "/preact-compat" ], "_resolved": "https://registry.npmjs.org/preact-context/-/preact-context-1.1.4.tgz", "_shasum": "866ebd35bef5788f73fc453f06f01b03ddf8f4ff", "_spec": "preact-context@^1.1.3", "_where": "/var/lib/jenkins/workspace/cawg-app-h5/node_modules/preact-compat", "author": { "name": "Georgios Valotasios", "email": "valotas@gmail.com" }, "browser": "./dist/context.min.js", "bugs": { "url": "https://github.com/valotas/preact-context/issues" }, "bundleDependencies": false, "deprecated": false, "description": "React's new Context Api for preact", "devDependencies": { "@types/jsdom": "^12.2.1", "@types/mocha": "^5.2.0", "@types/sinon": "^7.0.3", "browserify": "^16.2.3", "cached-path-relative": "^1.0.2", "core-js": "^2.5.5", "eslint": "^5.12.0", "eslint-config-prettier": "^3.3.0", "eslint-config-typescript": "^1.0.2", "eslint-plugin-prettier": "^3.0.1", "eslint-plugin-react": "^7.12.3", "eslint-plugin-typescript": "^0.12.0", "esm": "^3.0.84", "expect": "^23.6.0", "jsdom": "^12.1.0", "karma": "^3.1.4", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.1.0", "karma-mocha": "^1.3.0", "karma-rollup-preprocessor": "^7.0.0-rc.1", "karma-sauce-launcher": "^1.2.0", "mocha": "^5.2.0", "npm-run-all": "^4.1.5", "preact": "^8.4.2", "prettier": "^1.15.3", "rimraf": "^2.6.3", "rollup": "^1.1.0", "rollup-plugin-buble": "^0.19.6", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-node-resolve": "^4.0.0", "sinon": "^7.2.2", "tslib": "^1.10.0", "typescript": "^3.2.2", "typescript-eslint-parser": "^19.0.2", "uglify-es": "^3.3.9" }, "eslintConfig": { "extends": [ "eslint:recommended", "typescript", "typescript/react", "typescript/prettier" ], "rules": { "require-jsdoc": 0, "typescript/interface-name-prefix": 0, "typescript/explicit-member-accessibility": 0, "typescript/explicit-function-return-type": 0, "typescript/no-var-requires": 0 } }, "homepage": "https://github.com/valotas/preact-context", "jsnext:main": "./dist/esm/context.js", "keywords": [ "preact", "context" ], "license": "Apache-2.0", "main": "./dist/cjs/context.js", "module": "./dist/esm/context.js", "name": "preact-context", "peerDependencies": { "preact": "^8.2.7" }, "repository": { "type": "git", "url": "git+https://github.com/valotas/preact-context.git" }, "scripts": { "build": "tsc -p .", "clean": "rimraf dist", "fix": "npm run lint -- --fix", "lint": "eslint --ext ts --ext tsx --ext js src karma.conf.js", "min": "uglifyjs dist/context.js -o dist/context.min.js -c -m eval --mangle-props regex=/^_/,reserved=[__extends] --passes 2", "prepare": "npm-run-all clean build rollup min", "preversion": "npm run test", "rollup": "rollup -c", "rollup-test": "rollup -c --includeSpecFiles", "test": "npm-run-all lint test:jsdom test:browser", "test:browser": "karma start", "test:jsdom": "mocha -r esm -r ./dist/esm/_tests/register-jsdom.js ./dist/esm/**/*.Spec.js", "watch": "npm run prepare && npm-run-all --parallel watch:*", "watch:build": "npm run build -- -w", "watch:test": "npm run test:jsdom -- --watch --reporter dot" }, "source": "./src/context.ts", "types": "./dist/esm/context.d.ts", "version": "1.1.4" }