/
package.json
92 lines (79 loc) · 2.36 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
{
"name": "pixel",
"version": "0.0.0-alpha.5",
"description": "Parse file/buffer/datauri to ImageData in cross-platform",
"files": [
"index.js",
"lib"
],
"config": {
"ghooks": {
"pre-commit": "npm run build && npm run cover"
}
},
"scripts": {
"default": "jasminetea test --verbose --lint",
"Developer commands":"",
"start": "$(opc package scripts.default) --watch",
"build-dev": "$(opc package browserify) > $(opc bower main).js",
"Note": "Doesnt read .zuul.yml",
"localhost": "zuul test/spec.coffee --ui jasmine2 --local 59798 --open",
"Travis-CI commands":"",
"cover": "$(opc package scripts.default) --cover --report",
"test": "npm run cover",
"posttest": "zuul test/spec.coffee --report && echo Perfect posttest || echo Ignored posttest",
"Npm update via Travis-CI":"",
"prepublish": "node -e \"if(process.env.TRAVIS){}else{process.exit(1)}\" && npm run compile || echo skip prepublish",
"compile": "coffee --bare --compile index.coffee",
"postcompile": "coffee --output lib --bare --compile src",
"Bower build":"",
"build": "$(opc package browserify) | uglifyjs -cm > $(opc bower name).min.js",
"postbuild": "wc -c $(opc bower main)",
"Bower update":"",
"update": "git tag v$(opc package version) && git push --tags"
},
"browserify": [
"browserify ./src",
"--transform coffeeify",
"--standalone Pixel",
"--extension .coffee",
"--exclude jpeg-js",
"--exclude pngparse",
"--exclude request"
],
"author": "59naga <i59naga@icloud.com> (http://berabou.me)",
"license": "MIT",
"dependencies": {
"bluebird": "^2.9.25",
"jpeg-js": "^0.1.1",
"omggif": "59naga/omggif",
"pngparse": "^2.0.1",
"request": "^2.55.0"
},
"devDependencies": {
"brfs": "^1.4.0",
"browserify": "^10.2.1",
"coffee-script": "^1.9.2",
"coffeeify": "^1.1.0",
"ghooks": "^0.3.2",
"jasminetea": "^0.2.0-beta.1",
"object-parser-cli": "0.0.0",
"uglify-js": "^2.4.23",
"zuul": "^3.0.0"
},
"keywords": [
"pixel",
"png",
"jpg",
"gif",
"png"
],
"repository": {
"type": "git",
"url": "git+https://github.com/59naga/pixel.git"
},
"bugs": {
"url": "https://github.com/59naga/pixel/issues"
},
"homepage": "https://github.com/59naga/pixel#readme"
}