@geesmart/zx-utils

0.1.8 • Public • Published

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

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

🚀 使用者指南

通过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

Readme

Keywords

none

Package Sidebar

Install

npm i @geesmart/zx-utils

Weekly Downloads

0

Version

0.1.8

License

MIT

Unpacked Size

48.4 kB

Total Files

6

Last publish

Collaborators

  • geesmart