{ "name": "handlebars", "version": "5.0.0-alpha.1", "description": "Handlebars provides the power necessary to let you build semantic templates effectively with no frustration", "keywords": [ "handlebars", "html", "mustache", "template" ], "homepage": "https://handlebarsjs.com/", "license": "MIT", "author": "Yehuda Katz", "repository": { "type": "git", "url": "https://github.com/handlebars-lang/handlebars.js.git" }, "bin": { "handlebars": "bin/handlebars.mjs" }, "files": [ "bin", "dist/*.js", "dist/cjs/**/*.js", "lib", "release-notes.md", "runtime.js", "types/*.d.ts", "runtime.d.ts" ], "main": "lib/index.js", "browser": "./dist/cjs/handlebars.js", "types": "types/index.d.ts", "scripts": { "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true});require('fs').rmSync('tmp',{recursive:true,force:true})\"", "build:cjs": "swc lib --out-dir dist/cjs --strip-leading-paths --ignore \"**/index.js\"", "build:bundles": "rspack build", "build": "npm run clean && npm run build:cjs && npm run build:bundles", "release": "npm run build", "publish:aws": "npm run build && npm run test:tasks && node tasks/publish-to-aws.js", "format": "oxfmt --write . && oxlint --fix .", "lint": "npm run lint:oxlint && npm run lint:format && npm run lint:types && npm run lint:compat", "lint:oxlint": "oxlint --max-warnings 0 .", "lint:format": "oxfmt --check .", "lint:types": "tstyche", "lint:compat": "eslint", "test": "npm run build && vitest run --project node --project tasks --project rspack --coverage", "test:browser": "vitest run --project browser", "test:unit": "vitest run --project node", "test:tasks": "vitest run --project tasks", "test:publish": "npm run build && vitest run --project publish", "test:browser-smoke": "playwright test --config tests/browser/playwright.config.js", "test:serve": "npx serve -l 9999 .", "test:integration": "npm run build && ./tests/integration/run-integration-tests.sh", "bench": "node tests/bench/perf.mjs", "bench:compare": "node tests/bench/compare.mjs", "bench:size": "node tests/bench/size.mjs", "--- combined tasks ---": "", "check-before-pull-request": "concurrently --kill-others-on-fail npm:lint npm:test" }, "dependencies": { "@handlebars/parser": "^2.1.0", "neo-async": "^2.6.2", "source-map": "^0.7.6", "yargs": "^18.0.0" }, "devDependencies": { "@aws-sdk/client-s3": "^3.1011.0", "@playwright/test": "^1.58.2", "@rspack/cli": "^1.7.8", "@rspack/core": "^1.7.8", "@swc/cli": "^0.8.0", "@swc/core": "^1.15.18", "@vitest/browser": "^4.0.18", "@vitest/browser-playwright": "^4.0.18", "@vitest/coverage-v8": "^4.0.18", "cli-testlab": "^6.0.0", "concurrently": "^5.0.0", "eslint": "^10.0.3", "eslint-plugin-compat": "^7.0.1", "fs-extra": "^8.1.0", "husky": "^3.1.0", "lint-staged": "^16.3.2", "mock-stdin": "^0.3.0", "oxfmt": "^0.36.0", "oxlint": "^1.51.0", "semver": "^5.0.1", "tinybench": "^6.0.0", "tstyche": "^6.2.0", "typescript": "^5.9.3", "uglify-js": "^3.19.3", "vitest": "^4.0.18" }, "peerDependencies": { "uglify-js": "^3.19.3" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,css,json,md}": [ "oxfmt --write" ], "*.js": [ "oxlint --fix" ] }, "browserslist": [ "last 2 versions", "Firefox ESR", "not dead", "not IE 11", "maintained node versions" ], "engines": { "node": ">=20" }, "jspm": { "main": "handlebars", "directories": { "lib": "dist/cjs" }, "buildConfig": { "minify": true } } }