new task compile package on source change

This commit is contained in:
Ottmar Gobrecht 2019-12-30 19:54:54 +01:00
parent 59e555d8a4
commit 6da8455f08

View File

@ -6,8 +6,9 @@
"url": "https://github.com/ogobrecht/plex.git" "url": "https://github.com/ogobrecht/plex.git"
}, },
"scripts": { "scripts": {
"prebuild": "npx ploc --in src/PLEX.pks --out README.md",
"build": "node src/build.js", "build": "node src/build.js",
"postbuild": "npx ploc --in src/PLEX.pks --out README.md", "postbuild": "echo exit | sqlplus -S demo/oracle@localhost:1521/xepdb1 @plex_install.sql",
"watch": "chokidar src/PLEX.pks src/PLEX.pkb src/plex_install.sql --initial -c \"npm run build\"" "watch": "chokidar src/PLEX.pks src/PLEX.pkb src/plex_install.sql --initial -c \"npm run build\""
}, },
"dependencies": { "dependencies": {