-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
20 lines (20 loc) · 765 Bytes
/
package.json
File metadata and controls
20 lines (20 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "backbone.viewcache",
"description": "Maintains a simple cache of Backbone views, retaining the view’s scroll position by default.",
"version": "1.1.2",
"author": "Ingmar Hergst",
"license": "MIT",
"main": "backbone.viewcache.js",
"repository": "ingmarh/backbone.viewcache",
"scripts": {
"lint": "eslint $npm_package_main",
"minify": "uglifyjs $npm_package_main -cm --comments '/^!/' -o $npm_package_name.min.js",
"preversion": "npm run lint",
"version": "npm run version:update && npm run minify && git add package.json $npm_package_name.*",
"version:update": "sed -i \"1,/v.*/ s/[0-9].*/$npm_package_version/\" $npm_package_main"
},
"devDependencies": {
"eslint": "^3.14.1",
"uglify-js": "^2.7.5"
}
}