diff options
-rw-r--r-- | .npmignore | 2 | ||||
-rw-r--r-- | package.json | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 92d6c40..0000000 --- a/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!dist/ 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": { |