-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
36 lines (36 loc) · 1016 Bytes
/
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
{
"name": "img.js",
"description": "A JavaScript library for bitmap graphics.",
"keywords": [
"bitmap",
"pixel",
"graphics",
"canvas",
"2d"
],
"version": "0.1.8",
"repository": {
"type": "git",
"url": "https://github.com/nodebox/img.js.git"
},
"dependencies": {
"async": "~0.2.10",
"stackblur": "1.0.0"
},
"devDependencies": {
"browserify": "^9.0.8",
"jshint": "^2.7.0",
"mocha": "^2.2.4",
"uglifyify": "^3.0.1",
"watchify": "^1.0.6"
},
"main": "./src/img.js",
"scripts": {
"test": "mocha --recursive && jshint .",
"ensure-build-dir": "mkdir -p build",
"browserify": "npm run ensure-build-dir && browserify src/img.js --standalone img > dist/img.js",
"watchify": "npm run ensure-build-dir && watchify src/img.js --standalone img --debug -o build/img.js -v",
"uglify": "browserify src/img.js --standalone img -g uglifyify > dist/img.min.js",
"dist": "npm run test && npm run browserify && npm run uglify"
}
}