2023-01-18 15:21:17 +03:00
|
|
|
{
|
|
|
|
"name": "@tryghost/i18n",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/ghost/i18n",
|
|
|
|
"author": "Ghost Foundation",
|
|
|
|
"private": true,
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "echo \"Implement me!\"",
|
2023-01-18 20:21:36 +03:00
|
|
|
"test:unit": "NODE_ENV=testing c8 --include index.js --include lib --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
2023-03-01 11:10:11 +03:00
|
|
|
"test": "yarn test:unit && yarn translate",
|
2023-01-18 15:21:17 +03:00
|
|
|
"lint:code": "eslint *.js lib/ --ext .js --cache",
|
|
|
|
"lint": "yarn lint:code && yarn lint:test",
|
2023-01-18 20:21:36 +03:00
|
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache",
|
2023-03-30 19:20:39 +03:00
|
|
|
"translate": "yarn translate:ghost && yarn translate:portal && node generate-context.js",
|
2023-03-16 16:15:01 +03:00
|
|
|
"translate:ghost": "NAMESPACE=ghost i18next '../core/core/{frontend,server,shared}/**/*.{js,jsx}'",
|
2023-03-30 19:20:39 +03:00
|
|
|
"translate:portal": "NAMESPACE=portal i18next '../portal/src/**/*.{js,jsx}'"
|
2023-01-18 15:21:17 +03:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"index.js",
|
|
|
|
"lib",
|
|
|
|
"locales"
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
2023-02-17 01:15:50 +03:00
|
|
|
"c8": "7.13.0",
|
2023-02-20 03:23:58 +03:00
|
|
|
"i18next-parser": "7.7.0",
|
2023-01-18 15:21:17 +03:00
|
|
|
"mocha": "10.2.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-05 12:24:01 +03:00
|
|
|
"i18next": "22.4.14"
|
2023-01-18 15:21:17 +03:00
|
|
|
}
|
|
|
|
}
|