mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
b80b90229f
refs: https://github.com/TryGhost/Toolbox/issues/188 - some of our older packages used a pattern for linting which missed using test config for linting tests - we need this to be consistent so that we can add more eslint rules for testing - two packages also didn't use the lib pattern, which made the lint pattern error - so this was fixed as well
36 lines
985 B
JSON
36 lines
985 B
JSON
{
|
|
"name": "@tryghost/update-check-service",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "./lib/UpdateCheckService.js",
|
|
"exports": "./lib/UpdateCheckService.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './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": [
|
|
"lib"
|
|
],
|
|
"devDependencies": {
|
|
"c8": "7.13.0",
|
|
"mocha": "10.2.0",
|
|
"should": "13.2.3",
|
|
"sinon": "15.0.3",
|
|
"uuid": "9.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/debug": "0.1.24",
|
|
"@tryghost/errors": "1.2.24",
|
|
"@tryghost/logging": "2.4.4",
|
|
"@tryghost/tpl": "0.1.24",
|
|
"lodash": "4.17.21",
|
|
"moment": "2.24.0"
|
|
}
|
|
}
|