mirror of
https://github.com/LizardByte/GameDB.git
synced 2026-10-23 03:36:51 +09:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "gamedb",
|
|
"version": "0.0.0",
|
|
"description": "Game Database - Jekyll static site with IGDB data",
|
|
"scripts": {
|
|
"test": "npm-run-all test:unit test:report test:lint",
|
|
"test:unit": "jest --coverage",
|
|
"test:report": "jest --reporters=jest-junit",
|
|
"test:lint": "eslint gh-pages-template/assets/js/**/*.js tests/**/*.js",
|
|
"lint": "eslint gh-pages-template/assets/js/**/*.js tests/**/*.js",
|
|
"lint:fix": "eslint gh-pages-template/assets/js/**/*.js tests/**/*.js --fix"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"testMatch": [
|
|
"**/tests/**/*.test.js",
|
|
"**/tests/**/*.spec.js"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"gh-pages-template/assets/js/*.js"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/tests/"
|
|
],
|
|
"coverageReporters": [
|
|
"text",
|
|
"lcov",
|
|
"html"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"statements": 100
|
|
}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "8.0.7",
|
|
"@babel/preset-env": "8.0.7",
|
|
"@eslint/js": "10.0.1",
|
|
"@jest/globals": "30.5.2",
|
|
"babel-jest": "30.5.2",
|
|
"eslint": "10.13.0",
|
|
"globals": "17.13.0",
|
|
"jest": "30.5.2",
|
|
"jest-environment-jsdom": "30.5.2",
|
|
"jest-junit": "17.0.0",
|
|
"npm-run-all2": "9.0.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ReenigneArcher/GameDB"
|
|
}
|
|
}
|