{ "_from": "preact-render-to-string@^3.8.2", "_id": "preact-render-to-string@3.8.2", "_inBundle": false, "_integrity": "sha512-przuZPajiurStGgxMoJP0EJeC4xj5CgHv+M7GfF3YxAdhGgEWAkhOSE0xympAFN20uMayntBZpttIZqqLl77fw==", "_location": "/preact-render-to-string", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "preact-render-to-string@^3.8.2", "name": "preact-render-to-string", "escapedName": "preact-render-to-string", "rawSpec": "^3.8.2", "saveSpec": null, "fetchSpec": "^3.8.2" }, "_requiredBy": [ "/preact-compat" ], "_resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-3.8.2.tgz", "_shasum": "bd72964d705a57da3a9e72098acaa073dd3ceff9", "_spec": "preact-render-to-string@^3.8.2", "_where": "/var/lib/jenkins/workspace/cawg-app-h5/node_modules/preact-compat", "amdName": "preactRenderToString", "author": { "name": "Jason Miller", "email": "jason@developit.ca" }, "babel": { "presets": [ "env" ], "plugins": [ [ "transform-react-jsx", { "pragma": "h" } ], "transform-object-rest-spread" ] }, "bugs": { "url": "https://github.com/developit/preact-render-to-string/issues" }, "bundleDependencies": false, "dependencies": { "pretty-format": "^3.5.1" }, "deprecated": false, "description": "Render JSX to an HTML string, with support for Preact components.", "devDependencies": { "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-react-jsx": "^6.24.1", "babel-preset-env": "^1.7.0", "babel-register": "^6.26.0", "chai": "^3.5.0", "copyfiles": "^1.2.0", "eslint": "^4.19.1", "eslint-config-developit": "^1.1.1", "microbundle": "^0.6.0", "mocha": "^5.2.0", "preact": "^8.1.0", "sinon": "^1.17.5", "sinon-chai": "^2.8.0" }, "eslintConfig": { "extends": "developit", "rules": { "react/prefer-stateless-function": 0, "react/jsx-no-bind": 0, "react/no-danger": 0, "jest/valid-expect": 0, "new-cap": 0 } }, "files": [ "src", "dist", "jsx.js", "typings.json" ], "homepage": "https://github.com/developit/preact-render-to-string", "jsnext:main": "dist/index.mjs", "keywords": [ "preact", "render", "universal", "isomorphic" ], "license": "MIT", "main": "dist/index.js", "module": "dist/index.mjs", "name": "preact-render-to-string", "peerDependencies": { "preact": "*" }, "repository": { "type": "git", "url": "git+https://github.com/developit/preact-render-to-string.git" }, "scripts": { "build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition", "copy-typescript-definition": "copyfiles -f src/index.d.ts dist", "prepublish": "npm run build", "release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish", "test": "eslint src test && mocha --compilers js:babel-register test/**/*.js", "transpile": "microbundle src/index.js -f es,umd --target web --external none", "transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external none && microbundle dist/jsx.js -o dist/jsx.js -f cjs" }, "typings": "src/index.d.ts", "umd:main": "dist/index.js", "version": "3.8.2" }