-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
56 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
**/node_modules | ||
package-lock.json | ||
|
||
/temp | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,13 +27,13 @@ | |
|
||
## 安装 | ||
|
||
你可以通过直接 clone 本项目来使用 | ||
### 通过网站下载 | ||
|
||
```bash | ||
git clone https://github.com/E0SelmY4V/changerf.git | ||
``` | ||
你可以通过直接下载 [GitHub 上的发行包](https://github.com/E0SelmY4V/changerf/releases) 来安装。 | ||
|
||
也可以选择使用 npm 等包管理器安装本项目 | ||
### 通过 npm 下载 | ||
|
||
你也可以选择使用 npm 等包管理器安装本项目。 | ||
|
||
```bash | ||
npm i changerf | ||
|
@@ -91,11 +91,3 @@ console.log(curve); // 输出以便欣赏数组 | |
## 使用感受 | ||
|
||
- 看起来挺炫酷。 | ||
|
||
## 关于文档 | ||
|
||
本项目无文档,但是本项目代码有注释。 | ||
|
||
注释不清楚的可以 [邮箱]([email protected]) 联系我。 | ||
|
||
想免费给我写文档也可 [邮箱]([email protected]) 联系我。或者有不要的钱送给我也可以。 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const { | ||
snake, | ||
exec, | ||
outFS, | ||
timeEnd, | ||
time, | ||
log, | ||
dels, | ||
cps, | ||
goodReg, | ||
comp, | ||
} = require('lethal-build')(__dirname); | ||
|
||
snake( | ||
dels('build'), | ||
cps(['lib', 'build']), | ||
dels(RegExp(`^${goodReg(comp('build'))}.*js`)), | ||
exec('npm exec webpack'), | ||
outFS([ | ||
[1, '!function(exp){'], | ||
[0, 'build/temp.js'], | ||
[1, `}(typeof module!=='undefined'&&module)`], | ||
], 'build/main.js'), | ||
dels('build/temp.js'), | ||
timeEnd(), | ||
log('Built in', time(), 'ms') | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
declare global { | ||
/** | ||
* 『高级平滑渐变色』函数库 | ||
* @version 0.9.0 | ||
*/ | ||
var ChangeRF: typeof import('./main').ChangeRF; | ||
} | ||
|
||
export { }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as ChangeRF from '../lib' | ||
import * as ChangeRF from '.' | ||
/**『高级平滑渐变色』函数库 */ | ||
declare module "changerf" | ||
declare module "." | ||
export default ChangeRF | ||
export { ChangeRF } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters