Skip to content

Commit

Permalink
Add build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
eternauta1337 committed Feb 23, 2024
1 parent 7d9028a commit 326c00b
Show file tree
Hide file tree
Showing 8 changed files with 4,210 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"build": "npm run build --workspaces",
"lint": "eslint 'packages/**/*.js'",
"format": "prettier --write 'packages/**/*.js'",
"test": "npm run test --workspaces"
Expand Down
2 changes: 2 additions & 0 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "1.0.0",
"private": true,
"scripts": {
"build": "npm run install:test",
"install:test": "cd test/fixture-projects/basic-project && npm install",
"test": "nyc mocha --exit --timeout 60000 --require 'test/setup.js' --recursive '../../**/*.test.js' --ignore '../../fixture-projects/**/*'"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/ethernaut-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"description": "AI assistant for hardhat tasks",
"main": "src/index.js",
"scripts": {
"build": "npm run install:test",
"install:test": "cd test/fixture-projects/basic-project && npm install",
"test": "nyc mocha --exit --timeout 60000 --require 'test/setup.js' --recursive '../../**/*.test.js' --ignore '../../fixture-projects/**/*'"
},
"author": "",
Expand Down
2 changes: 2 additions & 0 deletions packages/ethernaut-challenges/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"description": "Play the Open Zeppelin ethernaut challenges in the cli",
"main": "src/index.js",
"scripts": {
"build": "npm run install:test",
"install:test": "cd test/fixture-projects/basic-project && npm install",
"extract": "node ./scripts/extract.js",
"test": "nyc mocha --exit --timeout 60000 --require 'test/setup.js' --recursive '../../**/*.test.js' --ignore '../../fixture-projects/**/*'"
},
Expand Down
Loading

0 comments on commit 326c00b

Please sign in to comment.