diff --git a/packages/picasso-tailwind/LICENSE b/packages/picasso-tailwind/LICENSE new file mode 100644 index 00000000000..a6d6197725a --- /dev/null +++ b/packages/picasso-tailwind/LICENSE @@ -0,0 +1,20 @@ +MIT License + +Copyright (c) 2021-2022 Toptal, LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the “Software”), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/picasso-tailwind/bin/build.sh b/packages/picasso-tailwind/bin/build.sh deleted file mode 100644 index b594b6ddb66..00000000000 --- a/packages/picasso-tailwind/bin/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -rm -rf ./dist-package -mkdir ./dist-package -cp -R ./src ./dist-package -cp ./README.md ./dist-package/README.md -cp ./package.json ./dist-package/package.json -cp ../../LICENSE ./dist-package/LICENSE diff --git a/packages/picasso-tailwind/package.json b/packages/picasso-tailwind/package.json index 48e1f0a41fa..6db3fa75365 100644 --- a/packages/picasso-tailwind/package.json +++ b/packages/picasso-tailwind/package.json @@ -11,9 +11,14 @@ "require": "./src/index.js" } }, + "files": [ + "src", + "./README.md", + "./package.json", + "./LICENCE" + ], "publishConfig": { - "access": "public", - "directory": "dist-package" + "access": "public" }, "repository": { "type": "git", @@ -22,10 +27,6 @@ "bugs": { "url": "https://github.com/toptal/picasso/issues" }, - "scripts": { - "build:package": "sh ./bin/build.sh", - "prepublishOnly": "if [ -d dist-package ]; then cp ./package.json ./dist-package/package.json; fi" - }, "devDependencies": { "tailwindcss": "^3.3.5" },