mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
New language build process.
This commit is contained in:
parent
3ed366ba6d
commit
6ea1bd1353
11 changed files with 618 additions and 1663 deletions
11
package.json
11
package.json
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "umami",
|
||||
"version": "0.28.0",
|
||||
"version": "0.29.0",
|
||||
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
|
||||
"author": "Mike Cao <mike@mikecao.com>",
|
||||
"license": "MIT",
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "npm-run-all build-tracker compile-lang copy-db-schema build-db-client build-app",
|
||||
"build": "npm-run-all build-tracker build-lang copy-db-schema build-db-client build-app",
|
||||
"start": "next start",
|
||||
"build-app": "next build",
|
||||
"build-tracker": "rollup -c rollup.tracker.config.js",
|
||||
|
|
@ -22,8 +22,11 @@
|
|||
"build-mysql-client": "dotenv prisma generate -- --schema=./prisma/schema.mysql.prisma",
|
||||
"build-postgresql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.postgresql.prisma",
|
||||
"build-postgresql-client": "dotenv prisma generate -- --schema=./prisma/schema.postgresql.prisma",
|
||||
"extract-lang": "formatjs extract {pages,components}/**/*.js --out-file lang/en.json",
|
||||
"compile-lang": "formatjs compile-folder --ast lang lang-compiled"
|
||||
"build-lang": "npm-run-all format-lang compile-lang",
|
||||
"extract-lang": "formatjs extract {pages,components}/**/*.js --out-file lang/en-US.json",
|
||||
"merge-lang": "node scripts/merge-lang.js",
|
||||
"format-lang": "node scripts/format-lang.js",
|
||||
"compile-lang": "formatjs compile-folder --ast lang-formatted lang-compiled"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.js": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue