0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Merge pull request #1 from snowpackjs/watch-mode

Add watch mode
This commit is contained in:
Matthew Phillips 2021-03-16 13:56:38 -04:00 committed by GitHub
commit d4a02e7f9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4086 additions and 17 deletions

4097
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -17,7 +17,9 @@
},
"scripts": {
"build": "tsc && npm run copy-js",
"copy-js": "copyfiles -u 1 src/*.js lib/"
"dev": "concurrently 'tsc --watch' 'npm run copy-js:watch'",
"copy-js": "copyfiles -u 1 src/*.js lib/",
"copy-js:watch": "nodemon -w src --ext js --exec 'npm run copy-js'"
},
"dependencies": {
"@types/node": "^14.14.31",
@ -43,8 +45,10 @@
},
"devDependencies": {
"@types/yargs-parser": "^20.2.0",
"concurrently": "^6.0.0",
"copyfiles": "^2.4.1",
"estree-walker": "^3.0.0",
"nodemon": "^2.0.7",
"preact": "^10.5.12",
"preact-render-to-string": "^5.1.14",
"typescript": "^4.2.3"