This repository has been archived by the owner on Aug 20, 2019. It is now read-only.
forked from preactjs/preact-render-to-string
/
package.json
62 lines (62 loc) · 2.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "@yr/preact-render-to-string",
"amdName": "preactRenderToString",
"version": "4.0.2",
"description": "Render JSX to an HTML string, with support for Preact components.",
"main": "dist/index.js",
"jsnext:main": "src/index.js",
"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",
"transpile": "rollup -c rollup.config.js -m ${npm_package_main}.map -f umd -n $npm_package_amdName $npm_package_jsnext_main -o $npm_package_main",
"transpile:jsx": "ENTRY=jsx rollup -c rollup.config.js -m dist/jsx.js.map -f umd -n $npm_package_amdName src/jsx.js -o dist/jsx.js",
"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"
],
"author": "Jason Miller <jason@developit.ca>, Simen Sægrov <simen.sagrov@nrk.no>",
"license": "MIT",
"typings": "src/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/yr/preact-render-to-string.git"
},
"bugs": {
"url": "https://github.com/yr/preact-render-to-string/issues"
},
"homepage": "https://github.com/developit/preact-render-to-string",
"peerDependencies": {
"preact": "*"
},
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-core": "^6.11.4",
"babel-eslint": "^6.1.2",
"babel-plugin-transform-class-properties": "^6.10.2",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"chai": "^3.5.0",
"copyfiles": "^1.2.0",
"eslint": "^3.2.2",
"mocha": "^3.0.0",
"preact": "^8.1.0",
"rollup": "^0.34.3",
"rollup-plugin-babel": "^2.6.1",
"rollup-plugin-commonjs": "^3.3.1",
"rollup-plugin-memory": "^1.0.0",
"rollup-plugin-node-resolve": "^2.0.0",
"sinon": "^1.17.5",
"sinon-chai": "^2.8.0"
},
"dependencies": {
"pretty-format": "^3.5.1"
}
}