-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.38 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.38 KB
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
{
"name": "@ajces/hydrator",
"version": "1.0.1",
"description": "hyperapp mixin for hydrating prerender and SSR",
"main": "dist/hydrator.js",
"jsnext:main": "src/index.js",
"module": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run bundle && npm run minify",
"bundle": "rollup -i src/index.js -o dist/hydrator.js -f umd -mn Hydrator",
"minify": "uglifyjs dist/hydrator.js -o dist/hydrator.js --mangle --compress warnings=false --pure-funcs=Object.defineProperty -p relative --source-map dist/hydrator.js.map",
"prepublish": "npm run build",
"format": "prettier --write 'src/**/*.js'",
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ajces/hydrator.git"
},
"files": [
"src",
"dist"
],
"keywords": [
"hyperapp",
"hydration"
],
"author": "Andy Johnson",
"license": "MIT",
"bugs": {
"url": "https://github.com/ajces/hydrator/issues"
},
"homepage": "https://github.com/ajces/hydrator#readme",
"babel": {
"presets": "es2015"
},
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"jest": "^20.0.4",
"prettier": "^1.5.3",
"rollup": "^0.49.0",
"uglify-js": "^2.7.5"
}
}