package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "name": "handlebars",
  3. "barename": "handlebars",
  4. "version": "4.7.8",
  5. "description": "Handlebars provides the power necessary to let you build semantic templates effectively with no frustration",
  6. "homepage": "https://www.handlebarsjs.com/",
  7. "keywords": [
  8. "handlebars",
  9. "mustache",
  10. "template",
  11. "html"
  12. ],
  13. "repository": {
  14. "type": "git",
  15. "url": "https://github.com/handlebars-lang/handlebars.js.git"
  16. },
  17. "author": "Yehuda Katz",
  18. "license": "MIT",
  19. "readmeFilename": "README.md",
  20. "engines": {
  21. "node": ">=0.4.7"
  22. },
  23. "dependencies": {
  24. "minimist": "^1.2.5",
  25. "neo-async": "^2.6.2",
  26. "source-map": "^0.6.1",
  27. "wordwrap": "^1.0.0"
  28. },
  29. "optionalDependencies": {
  30. "uglify-js": "^3.1.4"
  31. },
  32. "devDependencies": {
  33. "@playwright/test": "^1.17.1",
  34. "aws-sdk": "^2.1.49",
  35. "babel-loader": "^5.0.0",
  36. "babel-runtime": "^5.1.10",
  37. "benchmark": "~1.0",
  38. "chai": "^4.2.0",
  39. "chai-diff": "^1.0.1",
  40. "concurrently": "^5.0.0",
  41. "dirty-chai": "^2.0.1",
  42. "dtslint": "^0.5.5",
  43. "dustjs-linkedin": "^2.0.2",
  44. "eco": "~1.1.0-rc-3",
  45. "eslint": "^6.7.2",
  46. "eslint-config-prettier": "^6.7.0",
  47. "eslint-plugin-compat": "^3.13.0",
  48. "eslint-plugin-es5": "^1.4.1",
  49. "fs-extra": "^8.1.0",
  50. "grunt": "^1.0.4",
  51. "grunt-babel": "^5.0.0",
  52. "grunt-cli": "^1",
  53. "grunt-contrib-clean": "^1",
  54. "grunt-contrib-concat": "^1",
  55. "grunt-contrib-connect": "^1",
  56. "grunt-contrib-copy": "^1",
  57. "grunt-contrib-requirejs": "^1",
  58. "grunt-contrib-uglify": "^1",
  59. "grunt-contrib-watch": "^1.1.0",
  60. "grunt-shell": "^4.0.0",
  61. "grunt-webpack": "^1.0.8",
  62. "husky": "^3.1.0",
  63. "jison": "~0.3.0",
  64. "lint-staged": "^9.5.0",
  65. "mocha": "^5",
  66. "mock-stdin": "^0.3.0",
  67. "mustache": "^2.1.3",
  68. "nyc": "^14.1.1",
  69. "prettier": "^1.19.1",
  70. "semver": "^5.0.1",
  71. "sinon": "^7.5.0",
  72. "typescript": "^3.4.3",
  73. "underscore": "^1.5.1",
  74. "webpack": "^1.12.6",
  75. "webpack-dev-server": "^1.12.1"
  76. },
  77. "main": "lib/index.js",
  78. "types": "types/index.d.ts",
  79. "browser": "./dist/cjs/handlebars.js",
  80. "bin": {
  81. "handlebars": "bin/handlebars"
  82. },
  83. "scripts": {
  84. "build": "grunt build",
  85. "release": "npm run build && grunt release",
  86. "format": "prettier --write '**/*.js' && eslint --fix .",
  87. "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:types",
  88. "lint:eslint": "eslint --max-warnings 0 .",
  89. "lint:prettier": "prettier --check '**/*.js'",
  90. "lint:types": "dtslint types",
  91. "test": "npm run test:mocha",
  92. "test:mocha": "grunt build && grunt test",
  93. "test:browser": "playwright test --config tests/browser/playwright.config.js tests/browser/spec.js",
  94. "test:integration": "grunt integration-tests",
  95. "test:serve": "grunt connect:server:keepalive",
  96. "extensive-tests-and-publish-to-aws": "npx mocha tasks/tests/ && grunt --stack extensive-tests-and-publish-to-aws",
  97. "--- combined tasks ---": "",
  98. "check-before-pull-request": "concurrently --kill-others-on-fail npm:lint npm:test"
  99. },
  100. "jspm": {
  101. "main": "handlebars",
  102. "directories": {
  103. "lib": "dist/amd"
  104. },
  105. "buildConfig": {
  106. "minify": true
  107. }
  108. },
  109. "files": [
  110. "bin",
  111. "dist/*.js",
  112. "dist/amd/**/*.js",
  113. "dist/cjs/**/*.js",
  114. "lib",
  115. "release-notes.md",
  116. "runtime.js",
  117. "types/*.d.ts",
  118. "runtime.d.ts"
  119. ],
  120. "husky": {
  121. "hooks": {
  122. "pre-commit": "lint-staged"
  123. }
  124. },
  125. "lint-staged": {
  126. "*.{js,css,json}": [
  127. "prettier --write",
  128. "git add"
  129. ],
  130. "*.js": [
  131. "eslint --fix",
  132. "git add"
  133. ]
  134. }
  135. }