-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
50 lines (50 loc) · 1.91 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
{
"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"
}