Skip to content

Commit

Permalink
fix: allow independent execution of build and test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Davy committed Oct 5, 2023
1 parent f62bdd3 commit b26112a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
],
"scripts": {
"install": "cd src/danfojs-base && yarn && cd ../danfojs-browser && yarn && cd ../danfojs-node && yarn",
"build": "cd src/danfojs-node && yarn build:clean && cd ../danfojs-browser && yarn build:clean",
"test": "cd src/danfojs-base && yarn && cd ../danfojs-node && yarn && yarn test:clean && cd ../danfojs-browser && yarn && yarn test:clean"
"build": "yarn build:browser && yarn build:node",
"build:browser": "cd src/danfojs-browser && yarn build:clean",
"build:node": "cd src/danfojs-node && yarn build:clean",
"pretest": "cd src/danfojs-base && yarn",
"test": "yarn test:browser && yarn test:node",
"pretest:browser": "yarn pretest",
"test:browser": "cd src/danfojs-browser && yarn && yarn test:clean",
"pretest:node": "yarn pretest",
"test:node": "cd src/danfojs-node && yarn && yarn test:clean"
}
}

0 comments on commit b26112a

Please sign in to comment.