mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
Add gen-i18n as a 'binary'
and add appropriate shebang
This commit is contained in:
parent
61b05e7ec3
commit
027a70ffe7
2 changed files with 5 additions and 2 deletions
|
@ -28,12 +28,13 @@
|
|||
"test"
|
||||
],
|
||||
"bin": {
|
||||
"reskindex": "scripts/reskindex.js"
|
||||
"reskindex": "scripts/reskindex.js",
|
||||
"matrix-gen-i18n": "scripts/gen-i18n.js"
|
||||
},
|
||||
"scripts": {
|
||||
"reskindex": "node scripts/reskindex.js -h header",
|
||||
"reskindex:watch": "node scripts/reskindex.js -h header -w",
|
||||
"i18n": "node scripts/gen-i18n.js",
|
||||
"i18n": "matrix-gen-i18n",
|
||||
"build": "npm run reskindex && babel src -d lib --source-maps --copy-files",
|
||||
"build:watch": "babel src -w -d lib --source-maps --copy-files",
|
||||
"emoji-data-strip": "node scripts/emoji-data-strip.js",
|
||||
|
|
2
scripts/gen-i18n.js
Normal file → Executable file
2
scripts/gen-i18n.js
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
/*
|
||||
Copyright 2017 New Vector Ltd
|
||||
|
||||
|
|
Loading…
Reference in a new issue