Ghost/ghost/i18n/package.json

37 lines
1.3 KiB
JSON
Raw Normal View History

{
"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",
"types": "./build/i18n.d.ts",
"scripts": {
"dev": "echo \"Implement me!\"",
"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",
"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": "yarn translate:ghost && yarn translate:portal && yarn translate:signup-form && node generate-context.js",
"translate:ghost": "NAMESPACE=ghost i18next '../core/core/{frontend,server,shared}/**/*.{js,jsx}'",
"translate:portal": "NAMESPACE=portal i18next '../portal/src/**/*.{js,jsx}'",
"translate:signup-form": "NAMESPACE=signup-form i18next '../signup-form/src/**/*.{ts,tsx}'"
},
"files": [
"index.js",
"lib",
"locales"
],
"devDependencies": {
2023-02-17 01:15:50 +03:00
"c8": "7.13.0",
2023-05-08 06:50:42 +03:00
"i18next-parser": "8.0.0",
"mocha": "10.2.0",
2023-06-29 03:05:46 +03:00
"typescript": "5.1.6"
},
"dependencies": {
2023-07-11 09:59:48 +03:00
"i18next": "23.2.8"
}
}