-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
44 lines (44 loc) · 1.72 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": "imgnotes",
"version": "1.0.1",
"description": "extension of imgviewer plugin that adds notes and markers to an image tha can be zoomed and panned",
"keywords": ["jquery-plugin", "ecosystem:jquery", "image", "notes", "annotation"],
"repository": {"type": "git", "url": "https://github.com/waynegm/imgNotes.git"},
"homepage": "https://github.com/waynegm/imgNotes",
"bugs": "https://github.com/waynegm/imgNotes/issues",
"main": "src/imgNotes.js",
"dependencies": {
"jquery": "^1.8 || ^2.0 || ^3.0",
"hammerjs": "^2.0.8",
"jquery-hammerjs": "^2.0.0",
"jquery-mousewheel": "^3.1.13",
"imgviewer": "^1.0.0"
},
"scripts": {
"clean": "rimraf dist/*",
"lint": "jshint src/*.js",
"postlint": "cp src/*.js docs/lib && cp src/images/* docs/lib/images && cp src/*.css docs/lib",
"minify:js": "echo '=> minify:js' && uglifyjs src/*.js -o dist/imgNotes.min.js",
"minify:css": "echo '=> minify:css' && cleancss -o dist/imgNotes.min.css src/imgNotes.css",
"prebuild:js": "npm run lint",
"build:js": "npm run minify:js",
"build:css": "npm run minify:css && mkdir dist/images && cp src/images/* dist/images",
"build": "echo '=> building' && npm run clean && npm run build:css && npm run build:js",
"push": "git push",
"patch-release": "npm version patch && npm publish",
"minor-release": "npm version minor && npm publish",
"major-release": "npm version major && npm publish",
"watch": "watch 'npm run build' src/",
"server": "http-server docs/"
},
"author": "waynegm",
"license": "MIT",
"devDependencies": {
"clean-css-cli": "^4.0.0",
"http-server": "^0.9.0",
"jshint": "^2.9.4",
"rimraf": "^2.5.4",
"uglify-js": "^2.7.5",
"watch": "^1.0.1"
}
}