forked from jorgebucaran/hyperapp-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.23 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
{
"name": "hyperapp-hash-router",
"description": "",
"version": "0.1.0",
"main": "dist/router.js",
"jsnext:main": "src/index.js",
"module": "src/index.js",
"license": "MIT",
"repository": "hyperapp/router",
"files": [
"src",
"dist"
],
"author": "Jorge Bucaran",
"keywords": [
"hyperapp",
"router",
"navigation",
"history"
],
"scripts": {
"test": "jest --coverage --no-cache",
"build": "npm run bundle && npm run minify",
"bundle": "rollup -i src/index.js -o dist/router.js -f umd -mn router -g hyperapp:hyperapp",
"minify": "uglifyjs dist/router.js -o dist/router.js -mc pure_funcs=Object.defineProperty --source-map includeSources,url=router.js.map",
"prepublish": "npm run build",
"format": "prettier --semi false --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"
},
"babel": {
"presets": "env"
},
"devDependencies": {
"babel-preset-env": "^1.6.1",
"hyperapp": "1.0",
"jest": "^21.2.1",
"prettier": "^1.9.2",
"rollup": "^0.52.0",
"uglify-js": "3.2.2"
},
"peerDependencies": {
"hyperapp": "1.0"
}
}