create-tizen-app v1.0.1
create-tizen-app
create-tizen-app
is a wizard tool for helping to configure and make a tizen web application.
If you are a developer who prefers commonjs style or typescript language, It would be the best solution to craete tizen web application easily.
It also supports the way to use Samsung TV Product API, Tizen common API as a Commonjs style
or typescript
.
Associated Projects
- tizen-tv-webapis is for supporting Samsung TV Product API as commonjs style.
- @types/tizen-tv-webapis is definitions for supporting Samsung TV Product API as typescript.
- tizen-common-web is for supporting Tizen Web Device API as commonjs style.
- @types/tizen-common-web is definitions for supporting Tizen Web Device API as typescript.
Quick Start
npm install -g @tizentv/create-tizen-app
create-tizen-app helloworld
Overview
create-tizen-app
can create your tizen web application with configuration what you select.
You can select language
, bundler
, editor
and even live reloading tool (WITs)
.
Command
create-tizen-app
create-tizen-app yourProjectName
Prompters for selecting
- ProjectName
- You can put the name of your application.
- Language
- Select your project's language.
Commonjs
orTypescript
. - If you select the
Commonjs
,- then tizen-tv-webapis and tizen-common-web will be installed.
- Both packages are essential when you bundle your javascripts.
- Recommand If you select the
Typescript
,- then tizen-tv-webapis, tizen-common-web, @types/tizen-tv-webapis, @types/tizen-common-web and typescript will be installed.
- The
@types
packages will increse your developing efficiency. - Check out the Typescript Get Started.
- Select your project's language.
- Bundler
- Select a bundler. We support
Webpack
andParcel
. The Webpack is most popular bundler. And the Parcel is famous for zero configuration. - If you select the
Webpack
,- then webpack,webpack-cli and file-loader will be installed.
- If you select the
typescript
, ts-loader is installed, . - If you select the
commonjs
babel-loader, @babel/core and @babel/preset-env are installed, . - And
webpack.config.js
is created, so cumtomize your bundler as your project.
- If you select the
Parcel
,- then parcel and parcel-plugin-change-file will be installed.
- It's simple than the
Webpack
.
- Select a bundler. We support
- Editor
- You can select an editor, then we will install the Tizen SDK extensions.
Before you select the editor, you should install the editor on your PC. - All applications must be signed with valid samsung certificates before you submit the application to seller office.
You should install the Tizen Studio for making the samsung certificates.
You can check the guide for creating the samsung certificates. - If you select the
VScode
, then tizensdk.tizentv Extension will be installed. - If you select the
Atom
, then atom-tizentv Extension will be installed. - If you select the
None
, then Tizen SDK will be not installed.
- You can select an editor, then we will install the Tizen SDK extensions.
- WITs (Live Reloading tool)
- You can choose to use or not. Please refer WITs github.
create-tizen-app doctor
Originally Doctor runs at the end of steps when you do create-tizen-app
.
In case you want to use Doctor
for diagnosing your development environment,
we support a doctor
subcommand for that.
If something is missing, Doctor
will notify you the solution.
cd yourProjectName
create-tizen-app doctor