forked from developit/vhtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.11 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
63
64
65
66
67
68
69
70
71
72
73
{
"name": "vhtml",
"amdName": "vhtml",
"version": "2.2.0",
"description": "Hyperscript reviver that constructs a sanitized HTML string.",
"main": "dist/vhtml.js",
"minified:main": "dist/vhtml.min.js",
"jsnext:main": "src/vhtml.js",
"scripts": {
"build": "npm-run-all transpile minify size",
"transpile": "rollup -c rollup.config.js",
"minify": "uglifyjs $npm_package_main -cm -o $npm_package_minified_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_minified_main}.map",
"size": "echo \"gzip size: $(gzip-size $npm_package_minified_main | pretty-bytes)\"",
"test": "eslint {src,test} && mocha --compilers js:babel-register test/**/*.js",
"prepublish": "npm-run-all build test",
"release": "npm run -s build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"babel": {
"presets": [
"es2015",
"stage-0"
],
"plugins": [
"transform-object-rest-spread",
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"files": [
"src",
"dist"
],
"keywords": [
"hyperscript",
"html",
"renderer",
"strings"
],
"repository": {
"type": "git",
"url": "git+https://github.com/developit/vhtml.git"
},
"author": "Jason Miller <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developit/vhtml/issues"
},
"homepage": "https://github.com/developit/vhtml",
"devDependencies": {
"babel-core": "^6.6.4",
"babel-eslint": "^7.0.0",
"babel-plugin-transform-object-rest-spread": "^6.6.4",
"babel-plugin-transform-react-jsx": "^6.6.5",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.7.2",
"chai": "^3.5.0",
"eslint": "^3.1.0",
"gzip-size-cli": "^1.0.0",
"mkdirp": "^0.5.1",
"mocha": "^3.1.2",
"npm-run-all": "^2.3.0",
"pretty-bytes-cli": "^1.0.0",
"rollup": "^0.36.3",
"rollup-plugin-babel": "^2.4.0",
"rollup-plugin-es3": "^1.0.3",
"uglify-js": "^2.6.2"
}
}