Ghost/ghost/data-generator/package.json
Simon Backx d2cb23c3fa
Wired up Docker setup script and increased data generation performance (#19420)
ref PROD-233

- Stored whether Docker is used in the config files
- When running `yarn setup`, any existing Docker container will be
reset. Run with `-y` to skip the confirmation step.
- `yarn setup` will always init the database and generate fake data
- Increased amount of default generated data to 100,000 members + 500
posts.
- Made lots of performance improvements in the data generator so we can
generate the default data in ±170s
2024-01-05 13:42:30 +00:00

36 lines
1.0 KiB
JSON

{
"name": "@tryghost/data-generator",
"version": "0.0.0",
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/data-generator",
"author": "Ghost Foundation",
"private": true,
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"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"
},
"files": [
"index.js",
"lib"
],
"devDependencies": {
"@tryghost/debug": "0.1.27",
"c8": "8.0.1",
"knex": "2.4.2",
"mocha": "10.2.0",
"should": "13.2.3",
"sinon": "15.2.0"
},
"dependencies": {
"@faker-js/faker": "7.6.0",
"@tryghost/root-utils": "0.3.24",
"@tryghost/string": "0.2.10",
"csv-writer": "^1.6.0",
"probability-distributions": "0.9.1"
}
}