Skip to content

Commit

Permalink
Merge pull request #13 from Flcwl/feat/unext
Browse files Browse the repository at this point in the history
Feat/unext
  • Loading branch information
Flcwl authored Oct 16, 2022
2 parents 62b60f1 + af0028c commit 3b47080
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-monkeys-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"unext": patch
---

update tsc config
29 changes: 29 additions & 0 deletions packages/unext/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Unext

[![Build Status](https://travis-ci.org/Flcwl/unext.svg?branch=master)](https://travis-ci.org/github/Flcwl/unext)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Flcwl/unext/blob/master/LICENSE)
[![npm version](https://img.shields.io/npm/v/unext.svg?style=flat)](https://www.npmjs.com/package/unext)

> A modern web utils collection using esnext.
## Getting Started

### Installation

```console
npm install --save unext
```

### Documentation

```js
import Scroll from "unext/dom/scroll";
```

## Tests

You can find all cases in `files:/test/*.spec.js`, And testing Using below script.

```console
npm run test
```
4 changes: 2 additions & 2 deletions packages/unext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/types/*.d.ts",
"typings": "lib/types/*.d.ts",
"types": "lib/types/index.d.ts",
"typings": "lib/types/index.d.ts",
"exports": {
".": {
"require": "./lib/cjs/index.js",
Expand Down
1 change: 0 additions & 1 deletion packages/unext/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "tsconfig/unext.json",
"compilerOptions": {
"outDir": "./lib",
"declaration": true,
"module": "esnext",
"noEmit": false,
},
Expand Down

0 comments on commit 3b47080

Please sign in to comment.