This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
61 lines (61 loc) · 1.61 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
{
"name": "@hyperapp/router",
"description": "Declarative routing for Hyperapp V1 using the History API.",
"version": "0.7.2",
"main": "dist/router.js",
"module": "src/index.js",
"typings": "index.d.ts",
"license": "MIT",
"repository": "hyperapp/router",
"files": [
"src",
"dist",
"index.d.ts"
],
"author": "Jorge Bucaran",
"keywords": [
"hyperapp",
"router",
"navigation",
"history"
],
"scripts": {
"test": "jest --coverage --no-cache&& tsc -p test/ts",
"build": "npm run bundle && npm run minify",
"bundle": "rollup -i src/index.js -o dist/router.js -f umd -mn hyperappRouter -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,test}/**/*.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"
],
"plugins": [
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"jest": {
"testURL": "http://localhost"
},
"devDependencies": {
"babel-jest": "^22.4.3",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
"hyperapp": "^1.2.5",
"jest": "^22.4.3",
"prettier": "^1.11.1",
"rollup": "^0.57.1",
"uglify-js": "^3.3.16",
"typescript": "2.8.1"
},
"peerDependencies": {
"hyperapp": "1.2.5"
}
}