Ghost/ghost/i18n/package.json

32 lines
989 B
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",
"scripts": {
"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: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:generate": "i18next '../portal/src/**/*.{js,jsx}' './test/**/*.js'"
},
"files": [
"index.js",
"lib",
"locales"
],
"devDependencies": {
2023-02-17 01:15:50 +03:00
"c8": "7.13.0",
"i18next-parser": "7.7.0",
"mocha": "10.2.0"
},
"dependencies": {
2023-02-17 19:06:34 +03:00
"i18next": "22.4.10"
}
}