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",
|
2023-05-31 11:37:21 +03:00
|
|
|
"types": "./build/i18n.d.ts",
|
2023-01-18 15:21:17 +03:00
|
|
|
"scripts": {
|
|
|
|
"dev": "echo \"Implement me!\"",
|
2023-04-14 10:39:51 +03:00
|
|
|
"test:unit:base": "NODE_ENV=testing c8 --include index.js --include lib --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
|
|
|
"test:unit": "yarn test:unit:base && yarn translate",
|
|
|
|
"test": "yarn test:unit",
|
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-08-23 14:52:57 +03:00
|
|
|
"translate": "yarn translate:ghost && yarn translate:portal && yarn translate:signup-form && yarn translate:comments && 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-08-23 14:52:57 +03:00
|
|
|
"translate:portal": "NAMESPACE=portal i18next '../../apps/portal/src/**/*.{js,jsx}'",
|
|
|
|
"translate:signup-form": "NAMESPACE=signup-form i18next '../../apps/signup-form/src/**/*.{ts,tsx}'",
|
|
|
|
"translate:comments": "NAMESPACE=comments i18next '../../apps/comments-ui/src/**/*.{ts,tsx}'"
|
2023-01-18 15:21:17 +03:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"index.js",
|
|
|
|
"lib",
|
|
|
|
"locales"
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
2023-09-01 16:32:29 +03:00
|
|
|
"c8": "8.0.1",
|
2023-10-02 04:07:16 +03:00
|
|
|
"i18next-parser": "8.8.0",
|
2023-07-24 15:30:47 +03:00
|
|
|
"mocha": "10.2.0"
|
2023-01-18 15:21:17 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-08 13:36:01 +03:00
|
|
|
"i18next": "23.5.1"
|
2023-01-18 15:21:17 +03:00
|
|
|
}
|
|
|
|
}
|