aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-28 00:07:44 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-28 00:15:35 +0300
commit3d4c1e52769c9c2d77ad3cf422269c12410db32d (patch)
treee8a1029ea6f7c097b65dff1b8a8260dd29a44712 /package.json
parent8f0a5024a2b062c7ddf8d73f909b39050a624888 (diff)
downloadreact-benzin-3d4c1e52769c9c2d77ad3cf422269c12410db32d.tar.gz
feat: support library preview
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 13 insertions, 0 deletions
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"
+ ]
}
}