package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "dot",
  3. "description": "Concise and fast javascript templating compatible with nodejs and other javascript environments",
  4. "keywords": [
  5. "template",
  6. "fast",
  7. "simple",
  8. "templating"
  9. ],
  10. "version": "2.0.0-beta.1",
  11. "main": "doT.js",
  12. "types": "doT.d.ts",
  13. "homepage": "http://github.com/olado/doT",
  14. "repository": "git://github.com/olado/doT.git",
  15. "author": "Laura Doktorova <ldoktorova@gmail.com>",
  16. "license": "MIT",
  17. "scripts": {
  18. "eslint": "eslint {test/,}*.js --ignore-pattern *.min.js",
  19. "prettier:write": "prettier --write './**/*.{md,json,yaml,js,ts}'",
  20. "prettier:check": "prettier --list-different './**/*.{md,json,yaml,js,ts}'",
  21. "test-spec": "mocha test/*.test.js",
  22. "test-cov": "nyc npm run test-spec",
  23. "test-ts": "tsc doT.d.ts",
  24. "test": "npm run eslint && npm run test-cov && npm run test-ts"
  25. },
  26. "dependencies": {},
  27. "devDependencies": {
  28. "coveralls": "^3.0.9",
  29. "eslint": "^6.7.2",
  30. "eslint-config-prettier": "^6.11.0",
  31. "husky": "^4.2.5",
  32. "lint-staged": "^10.2.11",
  33. "mocha": "*",
  34. "nyc": "^14.1.1",
  35. "prettier": "^2.0.5",
  36. "typescript": "^3.9.7"
  37. },
  38. "nyc": {
  39. "exclude": [
  40. "test",
  41. "node_modules"
  42. ],
  43. "reporter": [
  44. "lcov",
  45. "text-summary"
  46. ]
  47. },
  48. "husky": {
  49. "hooks": {
  50. "pre-commit": "lint-staged && npm test"
  51. }
  52. },
  53. "lint-staged": {
  54. "*.{md,json,yaml,js,ts}": "prettier --write"
  55. }
  56. }