-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
93 lines (93 loc) · 2.47 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "urljs",
"version": "2.7.0",
"description": "A lightweight JavaScript library to manipulate the page url.",
"main": "lib/index.js",
"directories": {
"example": "example",
"test": "test"
},
"scripts": {
"test": "node test",
"release": "npm run bundle --silent | uglifyjs -c -m -o src/url.min.js",
"bundle": "browserify lib/index.js -s Url -o src/url.min.js && babel src/url.min.js"
},
"contributors": [
"Ionică Bizău <bizauionica@gmail.com> (http://ionicabizau.net)",
"Robert Benko <quazistax@gmail.com> (http://www.quazistax.com)",
"Andrey Mikhaylov <lolmaus@gmail.com> (http://github.com/lolmaus/)"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jillix/url.js.git"
},
"keywords": [
"url",
"manipulate",
"browser"
],
"author": "jillix <contact@jillix.com> (http://jillix.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/jillix/url.js/issues"
},
"homepage": "https://github.com/jillix/url.js",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"browserify": "^16.5.1",
"ghosty": "^1.1.0",
"lien": "0.0.15",
"tester": "^1.3.0",
"uglify-js": "^3.9.4"
},
"blah": {
"title": "url.js",
"description": [
{
"h2": "Demo"
},
{
"p": "Browse the demos on http://jillix.github.io/url.js/"
},
{
"p": "[](http://jillix.github.io/url.js/)"
},
{
"h2": "CDN"
},
{
"p": "The library is available on [CDNJS](https://cdnjs.com/libraries/urljs) as well. To use it, just do:"
},
{
"code": {
"language": "html",
"content": "<script src=\"https://cdnjs.cloudflare.com/ajax/libs/urljs/2.6.2/url.min.js\"></script>"
}
},
{
"h2": "Usage"
},
{
"code": {
"language": "html",
"content": [
"<script src=\"path/to/url.js\"></script>",
"<!-- or use the cdn",
"<script src=\"https://cdnjs.cloudflare.com/ajax/libs/urljs/2.6.2/url.min.js\"></script>",
"-->",
"<script>",
" Url.updateSearchParam(\"answer\", 42);",
"</script>"
]
}
},
{
"h2": "CommonJS-compatible"
},
{
"p": "The library is CommonJS-compatible. You can `require(\"url.js\")` in your files."
}
]
}
}