{ "name": "preact-render-to-string", "amdName": "preactRenderToString", "version": "3.8.2", "description": "Render JSX to an HTML string, with support for Preact components.", "main": "dist/index.js", "umd:main": "dist/index.js", "module": "dist/index.mjs", "jsnext:main": "dist/index.mjs", "scripts": { "build": "npm run -s transpile && npm run -s transpile:jsx && npm run -s copy-typescript-definition", "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", "copy-typescript-definition": "copyfiles -f src/index.d.ts dist", "test": "eslint src test && mocha --compilers js:babel-register test/**/*.js", "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" }, "keywords": [ "preact", "render", "universal", "isomorphic" ], "files": [ "src", "dist", "jsx.js", "typings.json" ], "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 } }, "babel": { "presets": [ "env" ], "plugins": [ [ "transform-react-jsx", { "pragma": "h" } ], "transform-object-rest-spread" ] }, "author": "Jason Miller ", "license": "MIT", "typings": "src/index.d.ts", "repository": "developit/preact-render-to-string", "bugs": "https://github.com/developit/preact-render-to-string/issues", "homepage": "https://github.com/developit/preact-render-to-string", "peerDependencies": { "preact": "*" }, "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" }, "dependencies": { "pretty-format": "^3.5.1" } }