diff --git a/.changeset/honest-bananas-tickle.md b/.changeset/honest-bananas-tickle.md new file mode 100644 index 00000000..375fc433 --- /dev/null +++ b/.changeset/honest-bananas-tickle.md @@ -0,0 +1,5 @@ +--- +'@deploysentinel/cypress-quarantine': patch +--- + +fix: buildchain diff --git a/bin/release-script.sh b/bin/release-script.sh new file mode 100755 index 00000000..29f8c54a --- /dev/null +++ b/bin/release-script.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +echo "Copying package deps..." +cp ./README.md ./dist +cp ./package.json ./dist diff --git a/package.json b/package.json index dfbee66a..c61efa2a 100644 --- a/package.json +++ b/package.json @@ -3,21 +3,17 @@ "license": "MIT", "version": "0.1.0", "publishConfig": { - "access": "public" + "access": "public", + "directory": "dist" }, "author": { "name": "DeploySentinel" }, - "main": "./dist", - "typings": "./dist", - "files": [ - "dist/*" - ], "scripts": { - "prepare": "husky install", "clean": "rimraf coverage dist tmp", "prebuild": "npm run clean", "build": "NODE_ENV=production rollup -c rollup.config.js", + "postbuild": "./bin/release-script.sh", "ci:unit": "jest --coverage", "ci:lint": "yarn lint && yarn tsc --noEmit", "dev:unit": "jest --watchAll",