Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Replace Rollup build with TSDX #209

Merged
merged 1 commit into from
Aug 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ dist/
coverage/

.rpt2_cache
.rts2_cache_cjs
.rts2_cache_esm
.rts2_cache_umd
.DS_Store

npm-debug.log*
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
src/
test/
coverage/
dist/test

.vscode
.rpt2_cache
Expand Down
98 changes: 0 additions & 98 deletions build-rollup.js

This file was deleted.

3 changes: 0 additions & 3 deletions empty.js

This file was deleted.

21 changes: 8 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"version": "1.4.1",
"description": "Lightweight React bindings for MobX based on React 16.8 and Hooks",
"main": "dist/index.js",
"jsnext:main": "dist/index.module.js",
"module": "dist/index.module.js",
"react-native": "dist/native.js",
"typings": "dist/index.d.ts",
"types": "dist/index.d.ts",
"jsnext:main": "dist/mobxreactlite.esm.js",
"module": "dist/mobxreactlite.esm.js",
"unpkg": "dist/mobxreactlite.umd.production.min.js",
"react-native": "dist/mobxreactlite.esm.js",
"repository": {
"type": "git",
"url": "https://github.com/mobxjs/mobx-react-lite.git"
Expand All @@ -20,7 +21,8 @@
"test:travis": "yarn validate && yarn lint && yarn coverage",
"coverage": "jest --coverage",
"prebuild": "rimraf dist",
"build": "node build-rollup.js",
"build": "yarn bundle",
"bundle": "tsdx build --name mobxReactLite --format=cjs,esm,umd",
"prepublishOnly": "yarn build"
},
"author": "Daniel K.",
Expand Down Expand Up @@ -53,15 +55,8 @@
"react-dom": "16.8.6",
"react-test-renderer": "16.8.6",
"rimraf": "3.0.0",
"rollup": "1.20.1",
"rollup-plugin-alias": "1.5.2",
"rollup-plugin-commonjs": "10.0.2",
"rollup-plugin-filesize": "6.2.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "5.1.1",
"rollup-plugin-typescript2": "0.23.0",
"ts-jest": "24.0.2",
"tsdx": "0.8.0",
"tslint": "5.19.0",
"tslint-config-prettier": "1.18.0",
"typescript": "3.4.5"
Expand All @@ -76,7 +71,7 @@
"hooks",
"observer",
"useObserver",
"useComputer"
"useComputed"
],
"lint-staged": {
"*.{ts,js}": [
Expand Down
10 changes: 0 additions & 10 deletions tsconfig.build.json

This file was deleted.

Loading