aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-28 12:45:48 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-28 12:45:48 +0300
commitfa92f605df3508aa16ab2fc90f283049650bcbd7 (patch)
treea13a06c17e46f122b6d7656170f58c291627084d /package.json
parent9eef9ddf780d5c6e3cbd5d74a9794bab4b5e2f11 (diff)
downloadreact-benzin-fa92f605df3508aa16ab2fc90f283049650bcbd7.tar.gz
feat: remove .npmignore, add deploy script
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6159728..825d1d4 100644
--- a/package.json
+++ b/package.json
@@ -4,10 +4,15 @@
"description": "A powerful React Material components library.",
"main": "dist/index.js",
"module": "dist/index.js",
+ "files": [
+ "dist",
+ "README.md"
+ ],
"scripts": {
"start": "react-scripts start",
"test": "eslint .",
- "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files"
+ "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files",
+ "deploy": "npm test && npm run build && npm publish --public"
},
"license": "MIT",
"dependencies": {