From 44815d41044006c8ac98532ab52f7c6317ceeae2 Mon Sep 17 00:00:00 2001 From: Dawn Carrasco Date: Tue, 16 Apr 2024 16:48:02 +0800 Subject: [PATCH] chore: added git ignore and script --- .gitignore | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 80e2c74..21e6f72 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ storybook-static src/theming/tokens-style-dictionary src/theming/tokens-output +src/tailwind/tokens-output .env diff --git a/package.json b/package.json index 7d0553c..ce23dfd 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "build:tokens": "./tokens-build.sh", "prepublishOnly": "rm -rf dist && rollup -c", + "prepublishTokenOutput": "cp -R src/theming/tokens-output src/tailwind/tokens-output", "test": "jest --testPathIgnorePatterns \"src/puppeteer-tests/.*\" --env=jsdom", "test:storyshots": "yarn build && jest src/puppeteer-tests/storyshots-puppeteer.test.js --env=node --config=jest.config.js --runInBand --detectOpenHandles", "prestart": "yarn run build:tokens",