Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
feat: copy preact d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromake committed Nov 2, 2017
1 parent 0f3b088 commit 7333d93
Show file tree
Hide file tree
Showing 8 changed files with 1,287 additions and 148 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,14 @@
<a name="0.2.1"></a>
## [0.2.1](https://github.com/zeromake/zreact/compare/v0.1.3...v0.2.1) (2017-11-02)


### Features

* add findDOMNode, findVDom ([0f3b088](https://github.com/zeromake/zreact/commit/0f3b088))
* copy preact d.ts ([3f64cc4](https://github.com/zeromake/zreact/commit/3f64cc4))



<a name="0.1.3"></a>
## [0.1.3](https://github.com/zeromake/zreact/compare/v0.1.2...v0.1.3) (2017-10-07)

Expand Down
4 changes: 2 additions & 2 deletions config/rollup.config.devtools-run.js
Expand Up @@ -6,8 +6,8 @@ export default {
input: 'src/devtools-run.ts',
external: ['zreact'],
output: {
format: 'umd',
file: 'devtools.js'
format: 'iife',
file: 'devtools-run.js'
},
globals: {
zreact: 'zreact'
Expand Down
2 changes: 1 addition & 1 deletion config/rollup.config.devtools.js
Expand Up @@ -7,7 +7,7 @@ export default {
external: ['zreact'],
output: {
format: 'es',
file: 'dist/devtools.js'
file: 'devtools.js'
},
globals: {
zreact: 'zreact'
Expand Down
285 changes: 285 additions & 0 deletions devtools-run.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions devtools-run.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
@@ -1,12 +1,12 @@
{
"name": "zreact",
"version": "0.2.0",
"version": "0.2.1",
"description": "React like,copy by preact",
"main": "dist/zreact.js",
"module": "dist/zreact.esm.js",
"jsnext:main": "dist/zreact.esm.js",
"minified:main": "dist/zreact.min.js",
"typings": "src/zreact.ts",
"typings": "types/zreact.d.ts",
"repository": "https://github.com/zeromake/zreact",
"author": "zeromake <a390720046@gmail.com>",
"license": "MIT",
Expand All @@ -16,8 +16,8 @@
"homepage": "https://github.com/zeromake/zreact",
"scripts": {
"size": "node -e \"process.stdout.write('gzip size: ')\" && gzip-size --raw dist/zreact.min.js",
"clean": "rimraf dist devtools.js devtools.js.map build test/coverage",
"build:all": "npm run clean && npm run build:dev && npm run build && npm run build:ie8 && npm run build:compat && npm run build:devtools-run && npm run build:devtools && npm run size",
"clean": "rimraf dist devtools.js devtools.js.map devtools-run.js devtools-run.js.map build test/coverage",
"build:all": "npm run clean && npm run build:dev && npm run build && npm run build:ie8 && npm run build:compat && npm run build:devtools && npm run build:devtools-run && npm run size",
"build": "cross-env NODE_ENV=production DEVTOOLS_ENV=production rollup -c config/rollup.config.js",
"build:devtools-run": "rollup -c config/rollup.config.devtools-run.js",
"build:devtools": "rollup -c config/rollup.config.devtools.js",
Expand Down

0 comments on commit 7333d93

Please sign in to comment.