@jianzhi.wang/glitter
v1.0.95
Published
### Glitter is a cross-platform hybrid framework that can develop Android,IOS and Web applications at the same time
Downloads
85
Readme
GlitterTS
Glitter is a cross-platform hybrid framework that can develop Android,IOS and Web applications at the same time
Step1.
Add glitter plugin by npm
-npm install @jianzhi.wang/glitter
Step2.
Create an empty Glitter project:
-node create.js
Step3.
Auto build your Glitter project:
-tsc --project tsconfig.json && tsc -w
Dependency
- Set up your dependencies in glitterDeps.json
"dependencies": [
{
"name": "test.js",
"path": "https://raw.githubusercontent.com/sam38124/GlitterForIOS/master/Package.resolved"
}
]
}
- Download your dependencies to glitterLib dir
node install.js
Release project.
- Build your project to other dir and ignore ts file :
node release.js path=test
Sample
"scripts": {
"create": "node node_modules/@jianzhi.wang/glitter/create.js",
"start:tscAuto": "tsc --project tsconfig.json && tsc -w",
"release": "tsc --project tsconfig.json && node node_modules/@jianzhi.wang/glitter/release.js path=test",
"install": "node node_modules/@jianzhi.wang/glitter/install.js"
}