Add "npm run watch" command to live reload changes
This commit is contained in:
committed by
Keith Simmons
parent
391aed3d66
commit
c812adde7f
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"watch": ["./**/*"],
|
||||||
|
"ext": "ts",
|
||||||
|
"ignore": [],
|
||||||
|
"exec": "ts-node buildThemes.ts"
|
||||||
|
}
|
||||||
Generated
+2295
-22
File diff suppressed because it is too large
Load Diff
+5
-1
@@ -4,7 +4,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ts-node buildThemes.ts"
|
"build": "ts-node buildThemes.ts",
|
||||||
|
"watch": "nodemon"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
@@ -14,5 +15,8 @@
|
|||||||
"case-anything": "^2.1.10",
|
"case-anything": "^2.1.10",
|
||||||
"chroma-js": "^2.4.2",
|
"chroma-js": "^2.4.2",
|
||||||
"ts-node": "^10.7.0"
|
"ts-node": "^10.7.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"nodemon": "^2.0.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user