mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
03b1e9c3bd
- wired up a basic minification package - accepts config for css or js files and can concat and minify them into a single file for each type - this will be used for generating merged css and js files for various cards, controlled by theme config
36 lines
826 B
JSON
36 lines
826 B
JSON
{
|
|
"name": "@tryghost/minifier",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Utils/tree/main/packages/minifier",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test": "NODE_ENV=testing c8 --check-coverage mocha './test/**/*.test.js'",
|
|
"lint": "eslint . --ext .js --cache",
|
|
"posttest": "yarn lint"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"c8": "7.10.0",
|
|
"mocha": "9.1.2",
|
|
"should": "13.2.3",
|
|
"sinon": "11.1.2"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/debug": "^0.1.8",
|
|
"@tryghost/errors": "^0.2.16",
|
|
"@tryghost/tpl": "^0.1.7",
|
|
"csso": "4.2.0",
|
|
"tiny-glob": "^0.2.9",
|
|
"uglify-js": "3.14.2"
|
|
}
|
|
}
|