Skip to content

Commit

Permalink
📝 Add new commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nilooy committed Jun 29, 2022
1 parent 90c6842 commit d914e41
Show file tree
Hide file tree
Showing 3 changed files with 2,462 additions and 104 deletions.
4 changes: 0 additions & 4 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ function setup() {
echo "${green}Installing development app dependencies..."
cd devapp || exit
yarn

echo "${green}Running development environment for the first time."
cd ..
yarn start
}

function update-meteor() {(
Expand Down
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@
"devtools"
],
"scripts": {
"devapp": "cd devapp && npm run start",
"setup": "cd devapp && yarn && cd ../ && yarn",
"devapp": "cd devapp && yarn start",
"build:chrome": "webpack --config webpack/chrome.prod.js",
"build:firefox": "webpack --config webpack/firefox.prod.js"
"build:firefox": "webpack --config webpack/firefox.prod.js",
"dev:chrome": "run-p build:chrome devapp open:chrome",
"dev:firefox": "run-p build:firefox devapp open:firefox",
"dev": "yarn dev:chrome",
"devapp:wait": "wait-on http://localhost:2100",
"open:firefox": "yarn devapp:wait && web-ext run --start-url \"http://localhost:2100\" --source-dir ./extension/firefox/",
"open:chrome": "yarn devapp:wait && web-ext run -t chromium --start-url \"http://localhost:2100\" --source-dir ./extension/chrome/",
"clean": "rimraf extension/firefox extension/chrome"
},
"author": "Leonardo Venturini",
"license": "MIT",
Expand All @@ -37,7 +45,6 @@
"babel-loader": "^8.1.0",
"classnames": "2.3.1",
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^7.0.0",
"css-loader": "^6.3.0",
"d3-collection": "^1.0.7",
"d3-hierarchy": "^3.0.1",
Expand Down Expand Up @@ -81,6 +88,8 @@
"devDependencies": {
"@types/webextension-polyfill": "^0.9.0",
"copy-webpack-plugin": "^11.0.0",
"npm-run-all": "^4.1.5",
"wait-on": "^6.0.1",
"web-ext": "^7.1.0",
"webextension-polyfill": "^0.9.0"
}
Expand Down
Loading

0 comments on commit d914e41

Please sign in to comment.