Skip to content
Snippets Groups Projects
Commit 24a8d2e6 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] config typescript, add clean files script tykayn* 02/05/2020 13:55

parent 899a04d2
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/bash
echo "===== remove generated typescript files"
rm -rf modules/{*.js,*.js.map,*.d.ts}
rm -rf lib/{*.js,*.js.map,*.d.ts}
rm -rf routes/{*.js,*.js.map,*.d.ts}
rm -rf test/{*.js,*.js.map,*.d.ts}
echo "===== clean done"
git status
...@@ -4,9 +4,11 @@ ...@@ -4,9 +4,11 @@
"main": "index.js", "main": "index.js",
"license": "AGPLv3", "license": "AGPLv3",
"scripts": { "scripts": {
"installation": "yarn --pure-lockfile && npm start",
"start": "node run.js currency-monit",
"clean": "bash clean_generated_typescript.sh",
"sync": "node run.js sync g1.duniter.org 1000", "sync": "node run.js sync g1.duniter.org 1000",
"sync-full": "node run.js sync g1.duniter.org", "sync-full": "node run.js sync g1.duniter.org",
"start": "nodemon run.js currency-monit",
"prepublish": "tsc", "prepublish": "tsc",
"test": "mocha" "test": "mocha"
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment