chore: use rollup to bundle
Showing
{ | { | ||
"name": "react-live-route", | "name": "react-live-route", | ||
"version": "3.1.0", | "version": "3.1.1", | ||
"description": "A living route for react-router v4", | "description": "A living route for react-router v4", | ||
"repository": "fi3ework/react-live-route", | "repository": "fi3ework/react-live-route", | ||
"license": "MIT", | "license": "MIT", | ||
"authors": "fi3ework", | "authors": "fi3ework", | ||
"main": "dist/index.js", | "main": "lib/index.js", | ||
"module": "es/index.js", | "module": "lib/index.module.js", | ||
"typings": "lib/LiveRoute.d.ts", | |||
"sideEffects": false, | "sideEffects": false, | ||
"scripts": { | "scripts": { | ||
"build": "rm -fr dist && tsc", | "build": "rm -fr lib && ts-node scripts/build.ts", | ||
"dev": "tsc -b -w --pretty", | "dev": "tsc -b -w --pretty", | ||
"prepublishOnly": "yarn run build", | "prepublishOnly": "yarn run build", | ||
"lint": "tslint src", | "lint": "tslint src", | ||
... | @@ -26,6 +27,7 @@ | ... | @@ -26,6 +27,7 @@ |
"dist/" | "dist/" | ||
], | ], | ||
"dependencies": { | "dependencies": { | ||
"babel-plugin-annotate-pure-calls": "^0.4.0", | |||
"history": "^4.9.0", | "history": "^4.9.0", | ||
"prop-types": "^15.6.1", | "prop-types": "^15.6.1", | ||
"react-is": "^16.7.0" | "react-is": "^16.7.0" | ||
... | @@ -35,7 +37,10 @@ | ... | @@ -35,7 +37,10 @@ |
"@types/react": "^16.7.18", | "@types/react": "^16.7.18", | ||
"@types/react-dom": "^16.0.11", | "@types/react-dom": "^16.0.11", | ||
"@types/react-router-dom": "^4.3.1", | "@types/react-router-dom": "^4.3.1", | ||
"babel-plugin-dev-expression": "^0.2.1", | |||
"coveralls": "^3.0.3", | "coveralls": "^3.0.3", | ||
"envify": "^4.1.0", | |||
"fs-extra": "^8.0.0", | |||
"jest": "^24.5.0", | "jest": "^24.5.0", | ||
"jest-environment-jsdom": "^24.5.0", | "jest-environment-jsdom": "^24.5.0", | ||
"react": "^16.3.2", | "react": "^16.3.2", | ||
... | @@ -43,7 +48,14 @@ | ... | @@ -43,7 +48,14 @@ |
"react-router": "^5.0.0", | "react-router": "^5.0.0", | ||
"react-router-dom": "^5.0.0", | "react-router-dom": "^5.0.0", | ||
"react-testing-library": "^6.0.0", | "react-testing-library": "^6.0.0", | ||
"rollup": "^1.11.3", | |||
"rollup-plugin-babel": "^4.3.2", | |||
"rollup-plugin-filesize": "^6.0.1", | |||
"rollup-plugin-node-resolve": "^4.2.4", | |||
"rollup-plugin-replace": "^2.2.0", | |||
"shelljs": "^0.8.3", | |||
"ts-jest": "^24.0.0", | "ts-jest": "^24.0.0", | ||
"tsdx": "^0.5.9", | |||
"tslint": "^5.14.0", | "tslint": "^5.14.0", | ||
"tslint-config-alloy": "^0.2.1", | "tslint-config-alloy": "^0.2.1", | ||
"tslint-config-prettier": "^1.18.0", | "tslint-config-prettier": "^1.18.0", | ||
... | ... |
scripts/build.ts
0 → 100644
Please
register
or
sign in
to comment