touchui-create
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -14,3 +14,3 @@ // 创建工程示例 | ||
} | ||
copy(path.join(__dirname, './project/**/*'), workSpace, (err, files) => { | ||
copy(path.join(__dirname, './touchui-basic/**/*.*'), workSpace, (err, files) => { | ||
if(typeof callback === 'function') { | ||
@@ -17,0 +17,0 @@ callback(err) |
{ | ||
"name": "touchui-create", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "touchui-create", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
# touchui-create | ||
新建TouchUI页面 | ||
## 引用 | ||
## 开发 | ||
### 更新git子模块 | ||
``` | ||
git submodule foreach git pull | ||
``` | ||
### 初始化 | ||
``` | ||
npm install | ||
``` | ||
## 使用 | ||
### 引用 | ||
```js | ||
let create = require('touchui-create') | ||
``` | ||
## 识别为TouchUI工程 | ||
### 识别为TouchUI工程 | ||
```js | ||
create.init(workSpace, callback) | ||
``` | ||
## 判断工程是否存在 | ||
### 判断工程是否存在 | ||
```js | ||
create.has(workSpace, callback) | ||
``` | ||
## 创建示例工程 | ||
### 创建示例工程 | ||
```js | ||
create.demo(workSpace, callback) | ||
``` | ||
## 创建TouchUI页面 | ||
### 创建TouchUI页面 | ||
```js | ||
create.page(workSpace, pageDirname, pageName, title, callback, mkdir) | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
34
85713
49
1921
2