From a526d3c85a40834257c5b78d6f31a983e42c5b97 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 26 Jan 2020 16:20:17 +0300 Subject: feat: prepare for publish --- package.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 98a56a4..6938e39 100644 --- a/package.json +++ b/package.json @@ -2,17 +2,23 @@ "name": "react-benzin", "version": "1.0.0", "description": "A powerful React Material components library.", - "main": "dist/index.js", - "scripts": {}, + "scripts": { + "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files" + }, "license": "MIT", "dependencies": { "@material-ui/core": "^4.9.0", "@material-ui/icons": "^4.5.1", "react": "^16.12.0", "react-dom": "^16.12.0", - "react-scripts": "^3.3.0" + "react-scripts": "^3.3.0", + "react-virtualized-auto-sizer": "^1.0.2", + "react-window": "^1.8.5" }, "devDependencies": { + "@babel/cli": "^7.8.3", + "@babel/core": "^7.8.3", + "@babel/preset-react": "^7.8.3", "eslint": "^6.8.0" } } -- cgit v1.2.3