mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
f918398779
refs https://github.com/TryGhost/Team/issues/870 - using `c8` allows us to see test coverage for all packages in the repo - this commit adds `c8` as a dev dependency and prepends the `mocha` command with `c8` so it runs on all tests
34 lines
817 B
JSON
34 lines
817 B
JSON
{
|
|
"name": "@tryghost/mw-session-from-token",
|
|
"version": "0.1.22",
|
|
"repository": "https://github.com/TryGhost/Utils/tree/master/packages/mw-session-from-token",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test": "NODE_ENV=testing c8 mocha './test/**/*.test.js'",
|
|
"lint": "eslint . --ext .js --cache",
|
|
"types": "rm -r types && tsc",
|
|
"pretest": "yarn types",
|
|
"posttest": "yarn lint"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "4.17.13",
|
|
"@types/mocha": "8.2.3",
|
|
"c8": "7.7.3",
|
|
"express": "4.17.1",
|
|
"mocha": "9.0.0",
|
|
"should": "13.2.3",
|
|
"sinon": "11.0.0",
|
|
"typescript": "4.3.5"
|
|
}
|
|
}
|