Skip to content

Commit f3a0576

Browse files
authored
Custom root scripts for solidity frameworks (#93)
1 parent 9ef1c80 commit f3a0576

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"scripts": {
3-
"your-script": "your-script"
3+
"your-root-script": "your-root-script"
44
}
55
}

extension/packages/foundry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"scripts": {
3-
"your-script": "your-script"
3+
"your-script": "echo 'Foundry'"
44
},
55
"dependencies": {
66
"solady": "0.1.22"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"scripts": {
3+
"foundry:your-script": "yarn workspace @se-2/foundry your-script"
4+
}
5+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"scripts": {
3-
"your-script": "your-script"
3+
"your-script": "echo 'Hardhat'"
44
}
55
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"scripts": {
3+
"hardhat:your-script": "yarn workspace @se-2/hardhat your-script"
4+
}
5+
}

0 commit comments

Comments
 (0)