import json in typescript
This commit is contained in:
parent
a2e108f6e8
commit
c875b45c44
2 changed files with 5 additions and 1 deletions
3
justfile
3
justfile
|
@ -4,8 +4,9 @@ alias c := clean
|
|||
|
||||
build:
|
||||
mkdir -p build
|
||||
tsc --outFile build/rechner.js src/rechner.ts
|
||||
cat src/data/* | toml2json > build/gewichtungen.json
|
||||
# typescript compilation depends on gewichtungen.json
|
||||
tsc --outFile build/rechner.js src/rechner.ts
|
||||
cp src/index.html build/index.html
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue