UNPKG

ts.httprequest

Version:

simple abstractions and methods to common HTTP operations.

51 lines (50 loc) 1.96 kB
{ "name": "ts.httprequest", "version": "1.4.3", "description": "simple abstractions and methods to common HTTP operations.", "main": "ts.httprequest.js", "babel": { "presets": [ "es2015" ] }, "scripts": { "build:babel": "babel --presets es2015 dist/ -d dist/", "build:browserify": "browserify -s $npm_package_name $npm_package_name.js -o dist/$npm_package_name.js", "build:uglify": "uglify -s dist/$npm_package_name.js -o dist/$npm_package_name.js", "build:timodule": "echo '<?xml version=\"1.0\" encoding=\"UTF-8\"?><ti:module xmlns:ti=\"http://ti.appcelerator.org\" xmlns:android=\"http://schemas.android.com/apk/res/android\"></ti:module>' > dist/timodule.xml", "build:manifest": "cp manifest dist/manifest", "dist:prepare": "mkdir -p modules/commonjs/$npm_package_name", "dist:move": "mv dist modules/commonjs/$npm_package_name/$npm_package_version", "dist:zip": "zip -r $npm_package_name-commonjs-$npm_package_version.zip modules", "prebuild": "mkdir -p dist", "build": "npm run build:browserify && npm run build:babel && npm run build:uglify && npm run build:timodule && npm run build:manifest", "postbuild": "npm run dist:prepare && npm run dist:move && npm run dist:zip && rm -r modules" }, "dependencies": { "pinkie": "^2.0.1" }, "devDependencies": { "babel": "^6.1.18", "babel-cli": "^6.1.18", "babel-preset-es2015": "^6.1.18", "browserify": "^11.0.0", "uglify": "^0.1.5" }, "repository": { "type": "git", "url": "git+https://github.com/TheSmiths-Widgets/ts.httprequest.git" }, "keywords": [ "Titanium", "Appcelerator", "HTTPClient", "HTTPRequest" ], "author": "The Smiths [Pierre Van De Velde, Matthias Benkort]", "license": "Apache-2.0", "bugs": { "url": "https://github.com/TheSmiths-Widgets/ts.httprequest/issues" }, "homepage": "https://github.com/TheSmiths-Widgets/ts.httprequest#readme" }