mirror of
https://github.com/chinchang/web-maker.git
synced 2025-02-16 19:34:35 +01:00
Package concurrently added to run gulp and preact
Previously we had to run two separate commands to start the gulp preview server and the actual preact app. This new dev package will run those commands concurrently under the hood. We just have to use npm run start.
This commit is contained in:
parent
4437069580
commit
d97430880a
@ -3,7 +3,7 @@
|
||||
"version": "4.2.0",
|
||||
"description": "A blazing fast & offline web playground",
|
||||
"scripts": {
|
||||
"start": "npm run -s dev",
|
||||
"start": "concurrently --kill-others \"gulp start-preview-server\" \"npm run -s dev\"",
|
||||
"build": "preact build --template src/index.html --prerender false",
|
||||
"dev": "preact watch --template src/index.html",
|
||||
"serve-website": "cd packages/website; npm start",
|
||||
@ -41,6 +41,7 @@
|
||||
"babel-eslint": "^7.2.3",
|
||||
"babel-minify": "^0.2.0",
|
||||
"babel-plugin-macros": "^2.6.1",
|
||||
"concurrently": "^7.0.0",
|
||||
"eslint": "^4.9.0",
|
||||
"eslint-config-prettier": "^2.3.0",
|
||||
"eslint-config-synacor": "^2.0.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user