package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "mustache",
  3. "version": "4.2.0",
  4. "description": "Logic-less {{mustache}} templates with JavaScript",
  5. "author": "mustache.js Authors <http://github.com/janl/mustache.js>",
  6. "homepage": "https://github.com/janl/mustache.js",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/janl/mustache.js.git"
  10. },
  11. "keywords": [
  12. "mustache",
  13. "template",
  14. "templates",
  15. "ejs"
  16. ],
  17. "main": "mustache.js",
  18. "bin": {
  19. "mustache": "./bin/mustache"
  20. },
  21. "files": [
  22. "bin/",
  23. "mustache.mjs",
  24. "mustache.min.js",
  25. "wrappers/"
  26. ],
  27. "exports": {
  28. ".": {
  29. "import": "./mustache.mjs",
  30. "require": "./mustache.js"
  31. },
  32. "./*": "./*"
  33. },
  34. "volo": {
  35. "url": "https://raw.github.com/janl/mustache.js/{version}/mustache.js"
  36. },
  37. "scripts": {
  38. "build": "cp mustache.js mustache.mjs && rollup mustache.mjs --file mustache.js --format umd --name Mustache && uglifyjs mustache.js > mustache.min.js",
  39. "test": "npm run test-lint && npm run test-unit",
  40. "test-lint": "eslint mustache.js bin/mustache test/**/*.js",
  41. "test-unit": "mocha --reporter spec test/*-test.js",
  42. "test-render": "mocha --reporter spec test/render-test",
  43. "pre-test-browser": "node test/create-browser-suite.js",
  44. "test-browser": "npm run pre-test-browser && zuul -- test/context-test.js test/parse-test.js test/scanner-test.js test/render-test-browser.js",
  45. "test-browser-local": "npm run pre-test-browser && zuul --local 8080 -- test/context-test.js test/scanner-test.js test/parse-test.js test/render-test-browser.js",
  46. "postversion": "scripts/bump-version-in-source",
  47. "prepublishOnly": "npm run build"
  48. },
  49. "devDependencies": {
  50. "chai": "^3.4.0",
  51. "eslint": "^6.5.1",
  52. "esm": "^3.2.25",
  53. "jshint": "^2.9.5",
  54. "mocha": "^3.0.2",
  55. "puppeteer": "^2.0.0",
  56. "rollup": "^1.26.3",
  57. "uglify-js": "^3.4.6",
  58. "zuul": "^3.11.0",
  59. "zuul-ngrok": "nolanlawson/zuul-ngrok#patch-1"
  60. },
  61. "greenkeeper": {
  62. "ignore": [
  63. "eslint"
  64. ]
  65. },
  66. "license": "MIT"
  67. }