Ghost/ghost/config-url-helpers/package.json
Hannah Wolfe eb829a050b Prepared config-url-helpers for their intended use
- added getSubdir, getSiteUrl and getAdminUrl methods from url-utils
- refactored them so they are designed to be bound by nconf
- exposed a bindAll method
- moved over the tests and refactor from a class instance to nconf bindings
2021-06-17 11:41:50 +01:00

29 lines
685 B
JSON

{
"name": "@tryghost/config-url-helpers",
"version": "0.0.1",
"repository": "https://github.com/TryGhost/Utils/tree/main/packages/config-url-helpers",
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 --check-coverage mocha './test/**/*.test.js'",
"coverage": "c8 report -r html",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"c8": "^7.7.3",
"mocha": "9.0.0",
"should": "13.2.3",
"sinon": "11.1.1"
}
}