编程语言/sketch:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第121行: 第121行:
== 项目结构 ==
== 项目结构 ==
要扩展插件,所以我重构了一下项目的结构,现如下(重构中,并不是最终结果)。
要扩展插件,所以我重构了一下项目的结构,现如下(重构中,并不是最终结果)。
<pre>
.
├── assets
│   ├── icon.png
│   └── question.png
├── package.json
├── package-lock.json
├── README.md
├── scripts
│   ├── build-test.js
│   └── update-version.js
├── src
│   ├── api
│   │   ├── action
│   │   │   ├── artboard.ts
│   │   │   ├── assist.ts
│   │   │   ├── cocoa.ts
│   │   │   ├── config.ts
│   │   │   ├── document.ts
│   │   │   ├── export.ts
│   │   │   ├── file.ts
│   │   │   ├── info.ts
│   │   │   ├── layer.ts
│   │   │   ├── page.ts
│   │   │   ├── slice.ts
│   │   │   └── type.ts
│   │   ├── communication
│   │   │   ├── login
│   │   │   │   ├── receive.ts
│   │   │   │   └── send.ts
│   │   │   └── plugin
│   │   │      ├── receive.ts
│   │   │      └── send.ts
│   │   ├── controller
│   │   │   ├── feedback
│   │   │   │   └── feedback.ts
│   │   │   ├── login
│   │   │   │   └── index.ts
│   │   │   └── plugin
│   │   │      └── index.ts
│   │   ├── extend
│   │   │   └── cache.ts
│   │   └── store
│   │      ├── index.ts
│   │      └── token.ts
│   ├── client
│   │   ├── communication
│   │   │   └── plugin
│   │   │      ├── receive.js
│   │   │      └── send.ts
│   │   ├── config
│   │   │   ├── http.ts
│   │   │   └── uuap.ts
│   │   ├── extend
│   │   │   ├── ajax.ts
│   │   │   └── postMessage.ts
│   │   ├── page
│   │   │   ├── error
│   │   │   │   ├── noNet.tsx
│   │   │   │   └── type.ts
│   │   │   ├── feedback
│   │   │   │   └── feedback.ts
│   │   │   ├── login
│   │   │   │   └── index.ts
│   │   │   └── plugin
│   │   │      ├── index.tsx
│   │   │      ├── root.tsx
│   │   │      ├── style.less
│   │   │      └── type.ts
│   │   ├── service
│   │   │   ├── artboard.ts
│   │   │   ├── group.ts
│   │   │   ├── project.ts
│   │   │   ├── team.ts
│   │   │   └── type.ts
│   │   ├── store
│   │   │   ├── index.ts
│   │   │   └── token.ts
│   │   ├── template
│   │   │   ├── feedback
│   │   │   │   └── index.html
│   │   │   └── plugin
│   │   │      └── index.html
│   │   └── util
│   │      ├── ajax.ts
│   │      ├── file.ts
│   │      └── type.ts
│   ├── manifest.json
│   └── types
│      ├── sketch-module-web-view.d.ts
│      ├── skpm-dialog.d.ts
│      ├── skpm-fs.d.ts
│      ├── skpm-path.d.ts
│      └── window.d.ts
├── tsconfig.json
├── webpack.skpm.config.js
└── yarn.lock
</pre>


== other ==
== other ==