From fa92f605df3508aa16ab2fc90f283049650bcbd7 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Tue, 28 Jan 2020 12:45:48 +0300 Subject: feat: remove .npmignore, add deploy script --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'package.json') 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": { -- cgit v1.2.3