package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. {
  2. "name": "handlebars",
  3. "barename": "handlebars",
  4. "version": "4.7.7",
  5. "description": "Handlebars provides the power necessary to let you build semantic templates effectively with no frustration",
  6. "homepage": "http://www.handlebarsjs.com/",
  7. "keywords": [
  8. "handlebars",
  9. "mustache",
  10. "template",
  11. "html"
  12. ],
  13. "repository": {
  14. "type": "git",
  15. "url": "https://github.com/wycats/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.0",
  26. "source-map": "^0.6.1",
  27. "wordwrap": "^1.0.0"
  28. },
  29. "optionalDependencies": {
  30. "uglify-js": "^3.1.4"
  31. },
  32. "devDependencies": {
  33. "@knappi/grunt-saucelabs": "^9.0.2",
  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.3.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-bg-shell": "^2.3.3",
  53. "grunt-cli": "^1",
  54. "grunt-contrib-clean": "^1",
  55. "grunt-contrib-concat": "^1",
  56. "grunt-contrib-connect": "^1",
  57. "grunt-contrib-copy": "^1",
  58. "grunt-contrib-requirejs": "^1",
  59. "grunt-contrib-uglify": "^1",
  60. "grunt-contrib-watch": "^1.1.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": {
  80. ".": "./dist/cjs/handlebars.js",
  81. "./runtime": "./dist/cjs/handlebars.runtime.js"
  82. },
  83. "bin": {
  84. "handlebars": "bin/handlebars"
  85. },
  86. "scripts": {
  87. "format": "prettier --write '**/*.js' && eslint --fix .",
  88. "check-format": "prettier --check '**/*.js'",
  89. "lint": "eslint --max-warnings 0 .",
  90. "dtslint": "dtslint types",
  91. "test": "grunt",
  92. "extensive-tests-and-publish-to-aws": "npx mocha tasks/task-tests/ && grunt --stack extensive-tests-and-publish-to-aws",
  93. "integration-test": "grunt integration-tests",
  94. "--- combined tasks ---": "",
  95. "check-before-pull-request": "concurrently --kill-others-on-fail npm:lint npm:dtslint npm:check-format npm:test"
  96. },
  97. "jspm": {
  98. "main": "handlebars",
  99. "directories": {
  100. "lib": "dist/amd"
  101. },
  102. "buildConfig": {
  103. "minify": true
  104. }
  105. },
  106. "files": [
  107. "bin",
  108. "dist/*.js",
  109. "dist/amd/**/*.js",
  110. "dist/cjs/**/*.js",
  111. "lib",
  112. "print-script",
  113. "release-notes.md",
  114. "runtime.js",
  115. "types/*.d.ts",
  116. "runtime.d.ts"
  117. ],
  118. "husky": {
  119. "hooks": {
  120. "pre-commit": "lint-staged"
  121. }
  122. },
  123. "lint-staged": {
  124. "*.{js,css,json,md}": [
  125. "prettier --write",
  126. "git add"
  127. ],
  128. "*.js": [
  129. "eslint --fix",
  130. "git add"
  131. ]
  132. }
  133. }