From 164456b5c1bd3d12410314345f84f71ce5b54263 Mon Sep 17 00:00:00 2001 From: liabru Date: Wed, 7 Apr 2021 22:00:12 +0100 Subject: [PATCH] added doc watch script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2e32084..1ddf908 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "build-demo": "rm -rf ./demo/js && webpack --no-hot --no-watch --config webpack.demo.config.js --mode=production && webpack --no-hot --no-watch --config webpack.demo.config.js --mode=production --env.MINIMIZE", "lint": "eslint 'src/**/*.js' 'demo/src/**/*.js' 'examples/*.js' 'webpack.*.js'", "doc": "yuidoc --config yuidoc.json --project-version $npm_package_version", + "doc-watch": "nodemon --delay 3 --watch 'matter-doc-theme' --watch src -e 'js,html,css,handlebars' --exec 'npm run doc'", "test": "npm run test-node", "test-all": "jest --no-cache", "test-save": "SAVE=true npm run test-node",