UNPKG

template.ts

Version:

A powerful, lightweight TypeScript template engine with reactive data binding, conditional rendering, loops, and events

100 lines (99 loc) 2.54 kB
{ "name": "template.ts", "version": "1.2.1", "description": "A powerful, lightweight TypeScript template engine with reactive data binding, conditional rendering, loops, and events", "main": "dist/template.js", "module": "dist/template.js", "types": "dist/template.d.ts", "files": [ "src/", "dist/", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "build:watch": "tsc --watch", "build:examples": "tsc -p examples/tsconfig.json", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "type-check": "tsc --noEmit", "test": "echo \"No tests specified\" && exit 0", "test:coverage": "echo \"No tests specified\" && exit 0", "clean": "rimraf dist", "prebuild": "npm run clean", "prepublishOnly": "npm run build", "dev": "npm run build:watch", "example": "npm run build && npm run build:examples && npx http-server . -p 8080 -c-1 -o /examples/" }, "keywords": [ "template", "typescript", "templating", "reactive", "data-binding", "dom", "frontend", "ui", "javascript", "web", "conditional-rendering", "event-handling", "transitions", "lightweight", "zero-dependencies" ], "author": { "name": "Omid Mafakher", "email": "info@xoboto.com", "url": "https://github.com/Xoboto/template.ts" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Xoboto/template.ts.git" }, "bugs": { "url": "https://github.com/Xoboto/template.ts/issues" }, "homepage": "https://github.com/Xoboto/template.ts#readme", "engines": { "node": ">=14.0.0" }, "publishConfig": { "access": "public" }, "browserslist": [ "> 1%", "last 2 versions", "not dead", "not ie <= 11" ], "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.57.0", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "eslintConfig": { "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended" ], "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "parserOptions": { "ecmaVersion": 2020, "sourceType": "module" }, "rules": { "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/explicit-function-return-type": "warn", "prefer-spread": "off" } } }