Skip to content

Commit

Permalink
Created build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Canciller committed Apr 29, 2022
1 parent dc0ff07 commit babf8f1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "example",
"version": "1.0.0",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"private": true,
"version": "0.0.0",
"workspaces": [
"example",
"website",
Expand All @@ -10,10 +11,7 @@
"start:website": "yarn workspace website start",
"build:website": "yarn workspace website build",
"deploy:website": "yarn workspace website deploy",
"build:theme": "yarn workspace @nomada-sh/react-native-eyecandy-theme build",
"build:icons": "yarn workspace @nomada-sh/react-native-eyecandy-icons build",
"build:components": "yarn workspace @nomada-sh/react-native-eyecandy build",
"build": "yarn build:theme && yarn build:icons && yarn build:components",
"build": "./scripts/build.sh",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /bin/bash

yarn workspace @nomada-sh/react-native-eyecandy-theme build
yarn workspace @nomada-sh/react-native-eyecandy-icons build
yarn workspace @nomada-sh/react-native-eyecandy build
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "website",
"version": "1.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand Down

0 comments on commit babf8f1

Please sign in to comment.