101 lines
2.3 KiB
JSON
101 lines
2.3 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|