html-template-tag
Version:
ES6 Tagged Template for compiling HTML template strings.
82 lines (81 loc) • 2.26 kB
JSON
{
"name": "html-template-tag",
"version": "5.0.0",
"description": "ES6 Tagged Template for compiling HTML template strings.",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.esm.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
}
}
},
"files": [
"dist/index.cjs.js",
"dist/index.esm.js",
"dist/index.d.ts",
"dist/index.d.mts"
],
"scripts": {
"prepare": "husky install",
"type:check": "tsc src/*.ts --noEmit",
"format": "prettier --write --ignore-unknown {src,test}/*",
"format:check": "prettier --check {src,test}/*",
"test": "vitest run --coverage",
"pre-commit": "lint-staged",
"prebuild": "rimraf dist && mkdir dist",
"build": "npm run build:types && npm run build:lib",
"build:types": "tsc src/*.ts --declaration --emitDeclarationOnly --outDir dist && cp dist/index.d.ts dist/index.d.mts",
"build:lib": "rollup -c",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AntonioVdlC/html-template-tag.git"
},
"keywords": [
"html",
"template",
"tag",
"es6",
"string",
"literals"
],
"author": "Antonio Villagra De La Cruz",
"license": "MIT",
"bugs": {
"url": "https://github.com/AntonioVdlC/html-template-tag/issues"
},
"homepage": "https://github.com/AntonioVdlC/html-template-tag#readme",
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^10.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@vitest/coverage-v8": "^4.0.18",
"c8": "^10.1.3",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"rollup": "^4.57.1",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18"
},
"dependencies": {
"html-element-attributes": "^3.5.0",
"html-es6cape": "^2.0.2"
}
}