/
package.json
100 lines (100 loc) · 2.3 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
93
94
95
96
97
98
99
100
{
"name": "contra",
"description": "Asynchronous flow control with a functional taste to it",
"version": "1.9.4",
"homepage": "https://github.com/bevacqua/contra",
"author": {
"email": "hello@bevacqua.io",
"name": "Nicolas Bevacqua",
"url": "http://bevacqua.io"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/bevacqua/contra.git"
},
"keywords": [
"a",
"async",
"asynchronous",
"control",
"flow",
"generator",
"promises",
"q"
],
"main": "contra.js",
"scripts": {
"build": "browserify -s contra -do dist/contra.js contra.js && uglifyjs -m -c -o dist/contra.min.js dist/contra.js",
"build-shim": "browserify -do dist/contra.shim.js contra.shim.js && uglifyjs -m -c -o dist/contra.shim.min.js dist/contra.shim.js",
"deploy": "npm run build && npm run build-shim && npm run test && npm run deployment",
"deployment": "git add dist && npm version ${BUMP:-\"patch\"} --no-git-tag-version && git add package.json && git commit -am \"Autogenerated pre-deployment commit\" && bower version ${BUMP:-\"patch\"} && git reset HEAD~2 && git add . && git commit -am \"Release $(cat package.json | jq -r .version)\" && git push --tags && npm publish && git push",
"test": "mocha --reporter tap && jshint --reporter node_modules/jshint-tap/jshint-tap.js test/*.js"
},
"testling": {
"browsers": {
"android-browser": [
4.2
],
"chrome": [
15,
20,
25,
30,
5,
"canary"
],
"firefox": [
10,
15,
20,
25,
3.6,
"nightly"
],
"ie": [
10,
6,
7,
8,
9
],
"ipad": [
6
],
"iphone": [
6
],
"opera": [
15,
16,
17,
"next"
],
"safari": [
4,
5.1,
6
]
},
"files": [
"contra.js",
"contra.shim.js",
"test/*.js"
],
"harness": "mocha"
},
"devDependencies": {
"assert": "~1.1.0",
"browserify": "10.2.4",
"jshint": "~2.4.1",
"jshint-stylish": "~0.1.5",
"jshint-tap": "0.0.1",
"mocha": "~1.17.0",
"uglify-js": "2.4.23"
},
"dependencies": {
"atoa": "1.0.0",
"ticky": "1.0.1"
}
}