0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-29 14:19:01 -05:00

added doc watch script

This commit is contained in:
liabru 2021-04-07 22:00:12 +01:00
parent a3f298fedb
commit 164456b5c1

View file

@ -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", "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'", "lint": "eslint 'src/**/*.js' 'demo/src/**/*.js' 'examples/*.js' 'webpack.*.js'",
"doc": "yuidoc --config yuidoc.json --project-version $npm_package_version", "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": "npm run test-node",
"test-all": "jest --no-cache", "test-all": "jest --no-cache",
"test-save": "SAVE=true npm run test-node", "test-save": "SAVE=true npm run test-node",