0.1.8 • Published 1 year ago

@geesmart/zx-utils v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

zx-utils

npm.io license Build Status Coveralls npm NPM downloads Percentage of issues still open

最好用的 JS|TS 第三方库脚手架

:rocket: 使用者指南

通过npm下载安装代码

$ npm install --save @geesmart/zx-utils

如果你是node环境

var base = require('@geesmart/zx-utils');

如果你是webpack等环境

import base from '@geesmart/zx-utils';

如果你是requirejs环境

requirejs(['node_modules/@geesmart/zx-utils/dist/index.aio.js'], function (base) {
    // xxx
})

如果你是浏览器环境

<script src="node_modules/@geesmart/zx-utils/dist/index.aio.js"></script>

使用文档

$ npm install

一键打包生成生产代码

$ npm run build

运行单元测试:

$ npm test

注意:浏览器环境需要手动测试,位于test/browser

修改 package.json 中的版本号,修改 README.md 中的版本号,修改 CHANGELOG.md,然后发布新版

$ npm run release

将新版本发布到npm

$ npm publish
0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago