package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "blueimp-tmpl",
  3. "version": "3.8.0",
  4. "title": "JavaScript Templates",
  5. "description": "1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like Node.js, module loaders like RequireJS, Browserify or webpack and all web browsers.",
  6. "keywords": [
  7. "javascript",
  8. "templates",
  9. "templating"
  10. ],
  11. "homepage": "https://github.com/blueimp/JavaScript-Templates",
  12. "author": {
  13. "name": "Sebastian Tschan",
  14. "url": "https://blueimp.net"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "git://github.com/blueimp/JavaScript-Templates.git"
  19. },
  20. "license": "MIT",
  21. "devDependencies": {
  22. "chai": "3.5.0",
  23. "mocha": "3.1.0",
  24. "standard": "8.3.0",
  25. "uglify-js": "2.7.3"
  26. },
  27. "scripts": {
  28. "lint": "standard js/*.js test/*.js",
  29. "unit": "mocha",
  30. "test": "npm run lint && npm run unit",
  31. "build": "cd js && uglifyjs tmpl.js -c -m -o tmpl.min.js --source-map tmpl.min.js.map",
  32. "preversion": "npm test",
  33. "version": "npm run build && git add -A js",
  34. "postversion": "git push --tags origin master master:gh-pages && npm publish"
  35. },
  36. "bin": {
  37. "tmpl.js": "js/compile.js"
  38. },
  39. "main": "js/tmpl.js"
  40. }