mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Renamed yarn translate:portal
to yarn translate:generate
refs https://github.com/TryGhost/Ghost/issues/15502 - needed to add the `i18n` tests so we don't lose the "Hello" test I wrote, and keeping everything under one command is easier
This commit is contained in:
parent
744b92333c
commit
badbdbbedd
@ -1 +1,3 @@
|
||||
{}
|
||||
{
|
||||
"Hello": "Hello"
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
"dev": "echo \"Implement me!\"",
|
||||
"test:unit": "NODE_ENV=testing c8 --include index.js --include lib --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
||||
"test": "yarn test:unit && yarn test:translate",
|
||||
"test:translate": "yarn translate:portal",
|
||||
"test:translate": "yarn translate:generate",
|
||||
"lint:code": "eslint *.js lib/ --ext .js --cache",
|
||||
"lint": "yarn lint:code && yarn lint:test",
|
||||
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache",
|
||||
"translate:portal": "i18next '../portal/src/**/*.{js,jsx}'"
|
||||
"translate:generate": "i18next '../portal/src/**/*.{js,jsx}' './test/**/*.js'"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user