86 lines
2.0 KiB
JSON
86 lines
2.0 KiB
JSON
|
{
|
||
|
"name": "minify-html-literals",
|
||
|
"version": "1.3.5",
|
||
|
"description": "Minify HTML template literal strings",
|
||
|
"main": "index.js",
|
||
|
"types": "index.d.ts",
|
||
|
"author": "Liz Mitchell <asyncliz@gmail.com>",
|
||
|
"license": "MIT",
|
||
|
"keywords": [
|
||
|
"minify",
|
||
|
"html",
|
||
|
"literal",
|
||
|
"literals",
|
||
|
"template",
|
||
|
"tagged",
|
||
|
"lit-html"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/asyncLiz/minify-html-literals.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"clean": "tsc --build --clean && rimraf \"{.nyc_output/,coverage/}\"",
|
||
|
"prebuild": "npm run clean",
|
||
|
"build": "tsc",
|
||
|
"pretest": "npm run clean",
|
||
|
"test": "nyc mocha -r ts-node/register -r source-map-support/register test/*.ts",
|
||
|
"coveralls": "cat coverage/lcov.info | coveralls",
|
||
|
"lint": "prettier --write \"*.{js,ts,json,md}\" \"{src,test}/**/*\"",
|
||
|
"precommit": "lint-staged",
|
||
|
"release": "standard-version",
|
||
|
"prepublishOnly": "npm run build"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.{js,ts,json,md}": [
|
||
|
"prettier --write",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"nyc": {
|
||
|
"extension": [
|
||
|
".ts"
|
||
|
],
|
||
|
"include": [
|
||
|
"index.ts",
|
||
|
"src/**/*.ts"
|
||
|
],
|
||
|
"exclude": [
|
||
|
"**/*.d.ts"
|
||
|
],
|
||
|
"reporter": [
|
||
|
"html",
|
||
|
"lcovonly",
|
||
|
"text-summary"
|
||
|
],
|
||
|
"all": true
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@types/html-minifier": "^3.5.3",
|
||
|
"clean-css": "^4.2.1",
|
||
|
"html-minifier": "^4.0.0",
|
||
|
"magic-string": "^0.25.0",
|
||
|
"parse-literals": "^1.2.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/chai": "^4.1.4",
|
||
|
"@types/clean-css": "^4.2.0",
|
||
|
"@types/mocha": "^5.2.5",
|
||
|
"@types/node": "^14.14.32",
|
||
|
"@types/sinon": "^5.0.1",
|
||
|
"chai": "^4.1.2",
|
||
|
"coveralls": "^3.0.2",
|
||
|
"husky": "^0.14.3",
|
||
|
"lint-staged": "^7.2.0",
|
||
|
"mocha": "^7.2.0",
|
||
|
"nyc": "^15.0.0",
|
||
|
"prettier": "^1.13.7",
|
||
|
"rimraf": "^2.6.2",
|
||
|
"sinon": "^6.1.4",
|
||
|
"source-map-support": "^0.5.6",
|
||
|
"standard-version": "^9.0.0",
|
||
|
"ts-node": "^7.0.0",
|
||
|
"typescript": "^4.2.3"
|
||
|
}
|
||
|
}
|