-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 1.05 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
{
"name": "osm-bookmarklets",
"version": "1.0.0",
"description": "Bookmarklet for switching to other mapping projcets using coordinates center and zoom",
"main": "osm_bookmarklet.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"all": "npm run buildloader && npm run buildremote && cp src/css/main.css build && cp src/img/osm-bookmarklet.png build",
"buildloader": "./node_modules/.bin/uglifyjs src/loader.js > build/loader.build.js && echo \"javascript:`cat build/loader.build.js`\" > build/loader.min.js",
"buildremote": "./node_modules/.bin/browserify src/osm-bookmarklet.js > build/osm-bookmarklet.build.js",
"deploy": "gh-pages-deploy"
},
"gh-pages-deploy": {
"staticpath": "build",
"prep": [
"all"
],
"noprompt": false
},
"author": "Thomas Gratier",
"license": "MIT",
"dependencies": {
"jed": "^1.1.0",
"sphericalmercator": "^1.0.3"
},
"devDependencies": {
"browserify": "^9.0.3",
"gh-pages-deploy": "^0.3.0",
"tape": "^3.5.0",
"uglify-js": "^2.4.17"
}
}