Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

titanium

Package Overview
Dependencies
Maintainers
3
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

titanium - npm Package Compare versions

Comparing version 6.1.1 to 7.0.0-beta1

bin/ti.js

139

package.json
{
"about": {
"name": "Titanium Command-Line Interface",
"author": "TiDev",
"copyright": "Copyright TiDev, Inc. 4/7/2022-Present. All Rights Reserved.",
"id": "com.appcelerator.titanium.cli"
"name": "titanium",
"version": "7.0.0-beta1",
"publishConfig": {
"tag": "next"
},
"name": "titanium",
"description": "TiDev Titanium Command line",
"author": "TiDev, Inc. <npm@tidev.io>",
"description": "Command line interface for building Titanium SDK apps",
"type": "module",
"keywords": [
"titanium",
"tidev",
"mobile",
"ios",
"iphone",
"android",
"blackberry",
"html5",
"mobileweb",
"mobile web",
"appc-client"
"android"
],
"version": "6.1.1",
"author": "TiDev, Inc. <npm@tidev.io>",
"bugs": {
"url": "https://github.com/tidev/titanium_mobile/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/tidev/titanium.git"
},
"homepage": "https://titaniumsdk.com",
"bugs": "https://github.com/tidev/titanium-cli/issues",
"repository": "https://github.com/tidev/titanium-cli",
"preferGlobal": true,
"dependencies": {
"async": "^3.2.4",
"colors": "1.4.0",
"fields": "0.1.24",
"got": "^11.8.5",
"humanize": "0.0.9",
"node-appc": "^1.1.5",
"request": "2.88.2",
"sprintf": "0.1.5",
"tmp": "^0.2.1",
"winston": "2.4.6",
"yauzl": "^2.10.0"
"@xmldom/xmldom": "0.8.10",
"chalk": "5.3.0",
"commander": "11.1.0",
"execa": "8.0.1",
"pretty-bytes": "6.1.1",
"prompts": "2.4.2",
"semver": "7.5.4",
"undici": "6.3.0",
"which": "4.0.0",
"wrap-ansi": "9.0.0",
"xpath": "0.0.34",
"yauzl": "2.10.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@seadub/danger-plugin-dependencies": "1.0.0",
"@seadub/danger-plugin-eslint": "^2.0.0",
"@seadub/danger-plugin-junit": "0.3.0",
"danger": "^10.9.0",
"eslint": "^7.32.0",
"eslint-config-axway": "^6.0.2",
"eslint-plugin-mocha": "^9.0.0",
"fs-extra": "^9.1.0",
"husky": "^6.0.0",
"lint-staged": "^11.2.6",
"mocha": "^8.4.0",
"mocha-jenkins-reporter": "^0.4.7",
"nyc": "^15.1.0",
"semver": "^7.3.7",
"should": "^13.2.3"
"@reporters/github": "1.5.4",
"@vitest/coverage-istanbul": "1.1.3",
"c8": "9.0.0",
"eslint": "8.56.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-security": "2.1.0",
"fs-extra": "11.2.0",
"glob": "10.3.10",
"memory-streams": "0.1.3",
"proxy": "2.1.1"
},
"license": "Apache-2.0",
"bin": {
"ti": "./bin/titanium",
"titanium": "./bin/titanium"
"ti": "./bin/ti.js",
"titanium": "./bin/ti.js"
},
"main": "./lib/titanium",
"directories": {
"lib": "./lib"
},
"files": [
"./src"
],
"scripts": {
"lint": "eslint .",
"test": "npm run lint && npm run unit-test",
"unit-test": "nyc mocha \"tests/**/test-*.js\"",
"prepare": "husky install"
"coverage": "node scripts/test.js --coverage",
"lint": "eslint --cache \"src/**/*.js\"",
"test": "node scripts/test.js",
"test-only": "node scripts/test.js --only"
},
"mocha": {
"timeout": 3000,
"check-leaks": true,
"globals": [
"Hyperloop",
"HyperloopObject"
],
"reporter": "mocha-jenkins-reporter",
"reporter-option": "junit_report_path=junit_report.xml"
},
"nyc": {
"check-coverage": false,
"lines": 55,
"statements": 55,
"functions": 49,
"branches": 44,
"exclude": [
"tests/**/*.js",
"locales/**/*.js"
],
"reporter": [
"cobertura",
"text"
]
},
"engines": {
"node": ">=14.15"
"node": ">=18"
},
"lint-staged": {
"*.js": "eslint"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
"packageManager": "pnpm@8.7.4"
}

@@ -7,3 +7,3 @@ # Titanium CLI

The Titanium CLI requires [Node.js 14](http://nodejs.org/dist/) or newer.
The Titanium CLI requires [Node.js 18](http://nodejs.org/dist/) or newer.

@@ -14,3 +14,3 @@ ## Installation

After install, Titanium CLI is executable as `ti`
After install, Titanium CLI is executable as `ti` or `titanium`.

@@ -22,3 +22,3 @@ ## Obtaining a Titanium SDK

# stable release (recommended)
titanium sdk install --default
titanium sdk install

@@ -41,6 +41,11 @@ ## Setting up the Titanium CLI

**Implementation not complete**
# list all config settings
titanium config
titanium config <setting> <value>
# get a config setting
titanium config <key>
# set a config setting
titanium config <key> <value>
### help

@@ -52,8 +57,4 @@

titanium help
titanium --help
titanium help <command>
titanium <command> --help

@@ -75,6 +76,2 @@

Download, install <version>, and set as default SDK.
titanium sdk install <version> --default
#### sdk uninstall

@@ -115,3 +112,3 @@

titanium info -o json
titanium info --json

@@ -129,4 +126,4 @@ ## Hacking the Titanium CLI

git clone git@github.com:tidev/titanium.git
cd titanium
git clone git@github.com:tidev/titanium-cli.git
cd titanium-cli
npm install

@@ -139,20 +136,4 @@ sudo npm link

node forge test
npm test
### Running Code Coverage
To generate the code coverage, you first must install [node-jscoverage](https://github.com/visionmedia/node-jscoverage). The easist way to do this is run:
git clone git@github.com:visionmedia/node-jscoverage.git
cd node-jscoverage
./configure
make
sudo make install
Then run:
node forge test-cov
It will generate a file called _coverage.html_ in the Titanium CLI directory.
## Contributing

@@ -182,3 +163,3 @@

Join our growing Slack community by visiting https://slack.tidev.io
Join our growing Slack community by visiting https://slack.tidev.io!

@@ -185,0 +166,0 @@ ## Legal

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc