Skip to main content
Sign in
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
Branches
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 @@
"main": "index.js",
"license": "AGPLv3",
"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-full": "node run.js sync g1.duniter.org",
"start": "nodemon run.js currency-monit",
"prepublish": "tsc",
"test": "mocha"
},
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment