chore: add concurrently and "run dev" command
This commit is contained in:
parent
ccef3fd42b
commit
5940419846
3 changed files with 8076 additions and 28 deletions
|
@ -10,7 +10,7 @@ Built on HTML, JS, and CSS.
|
||||||
|
|
||||||
To start development, download/fork the repository then run: `npm i`
|
To start development, download/fork the repository then run: `npm i`
|
||||||
|
|
||||||
To start the dev server, first run `npm run watch:dev` then in another terminal, run `npm start`
|
To start the dev server, first run `npm run dev`
|
||||||
|
|
||||||
## Live Demo
|
## Live Demo
|
||||||
|
|
||||||
|
|
8100
package-lock.json
generated
8100
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,7 @@
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"dev": "concurrently --kill-others \"npm run watch:dev\" \"npm start\"",
|
||||||
"start": "http-server ./dist/",
|
"start": "http-server ./dist/",
|
||||||
"watch:dev": "node ./node_modules/webpack/bin/webpack.js --watch --mode development .",
|
"watch:dev": "node ./node_modules/webpack/bin/webpack.js --watch --mode development .",
|
||||||
"buildprod": "node ./node_modules/webpack/bin/webpack.js --mode production ."
|
"buildprod": "node ./node_modules/webpack/bin/webpack.js --mode production ."
|
||||||
|
@ -15,6 +16,7 @@
|
||||||
"firebase": "^7.24.0"
|
"firebase": "^7.24.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"concurrently": "^7.2.2",
|
||||||
"css-loader": "^3.6.0",
|
"css-loader": "^3.6.0",
|
||||||
"file-loader": "^5.1.0",
|
"file-loader": "^5.1.0",
|
||||||
"http-server": "^0.12.3",
|
"http-server": "^0.12.3",
|
||||||
|
|
Loading…
Reference in a new issue