From 3d4c1e52769c9c2d77ad3cf422269c12410db32d Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Tue, 28 Jan 2020 00:07:44 +0300 Subject: feat: support library preview --- package.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index 0dbdcbc..a87fee1 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "dist/index.js", "module": "dist/index.js", "scripts": { + "start": "react-scripts start", "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files" }, "license": "MIT", @@ -23,5 +24,17 @@ "@babel/core": "^7.8.3", "@babel/preset-react": "^7.8.3", "eslint": "^6.8.0" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] } } -- cgit v1.2.3