package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "nunjucks",
  3. "description": "A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)",
  4. "version": "3.2.4",
  5. "author": "James Long <longster@gmail.com>",
  6. "dependencies": {
  7. "a-sync-waterfall": "^1.0.0",
  8. "asap": "^2.0.3",
  9. "commander": "^5.1.0"
  10. },
  11. "browser": "./browser/nunjucks.js",
  12. "devDependencies": {
  13. "@babel/cli": "^7.0.0-beta.38",
  14. "@babel/core": "^7.0.0-beta.38",
  15. "@babel/preset-env": "^7.0.0-beta.38",
  16. "@babel/register": "^7.0.0-beta.38",
  17. "babel-loader": "^8.0.0-beta.0",
  18. "babel-plugin-istanbul": "^4.1.5",
  19. "babel-plugin-module-resolver": "3.0.0-beta.5",
  20. "connect": "^3.6.5",
  21. "core-js": "^2.5.3",
  22. "cross-env": "^5.1.3",
  23. "eslint": "^4.13.0",
  24. "eslint-config-airbnb-base": "^12.1.0",
  25. "eslint-plugin-import": "^2.8.0",
  26. "expect.js": "*",
  27. "express": "4.x",
  28. "fs-extra": "^5.0.0",
  29. "get-port": "^3.2.0",
  30. "mocha": "< 8.x",
  31. "mocha-phantomjs-core": "^2.1.2",
  32. "mocha-phantomjs-istanbul": "0.0.2",
  33. "module-alias": "^2.0.3",
  34. "node-libs-browser": "^0.7.0",
  35. "nyc": "^11.4.1",
  36. "phantomjs-prebuilt": "^2.1.16",
  37. "serve-static": "^1.13.1",
  38. "supertest": "*",
  39. "uglify-js": "^2.8.29",
  40. "uglifyjs-webpack-plugin": "^1.1.6",
  41. "webpack": "^3.10.0"
  42. },
  43. "buildDependencies": {
  44. "@babel/cli": "^7.0.0-beta.38",
  45. "@babel/core": "^7.0.0-beta.38",
  46. "@babel/preset-env": "^7.0.0-beta.38",
  47. "@babel/register": "^7.0.0-beta.38",
  48. "babel-loader": "^8.0.0-beta.0",
  49. "babel-plugin-istanbul": "^4.1.5",
  50. "babel-plugin-module-resolver": "3.0.0-beta.5",
  51. "core-js": "^2.5.3",
  52. "module-alias": "^2.0.3",
  53. "node-libs-browser": "^0.7.0",
  54. "uglify-js": "^2.8.29",
  55. "uglifyjs-webpack-plugin": "^1.1.6",
  56. "webpack": "^3.10.0"
  57. },
  58. "peerDependencies": {
  59. "chokidar": "^3.3.0"
  60. },
  61. "peerDependenciesMeta": {
  62. "chokidar": {
  63. "optional": true
  64. }
  65. },
  66. "_moduleAliases": {
  67. "babel-register": "@babel/register"
  68. },
  69. "engines": {
  70. "node": ">= 6.9.0"
  71. },
  72. "scripts": {
  73. "build:transpile": "babel nunjucks --out-dir .",
  74. "build:bundle": "node scripts/bundle.js",
  75. "build": "npm run build:transpile && npm run build:bundle",
  76. "codecov": "codecov",
  77. "mocha": "mocha -R spec tests",
  78. "lint": "eslint nunjucks scripts tests",
  79. "prepare": "npm run build",
  80. "test:instrument": "cross-env NODE_ENV=test scripts/bundle.js",
  81. "test:runner": "cross-env NODE_ENV=test NODE_PATH=tests/test-node-pkgs scripts/testrunner.js",
  82. "test": "npm run lint && npm run test:instrument && npm run test:runner"
  83. },
  84. "bin": {
  85. "nunjucks-precompile": "./bin/precompile"
  86. },
  87. "main": "index.js",
  88. "files": [
  89. "bin/**",
  90. "browser/**",
  91. "src/**"
  92. ],
  93. "nyc": {
  94. "require": [
  95. "babel-register"
  96. ],
  97. "sourceMap": false,
  98. "instrument": false
  99. },
  100. "repository": {
  101. "type": "git",
  102. "url": "https://github.com/mozilla/nunjucks.git"
  103. },
  104. "keywords": [
  105. "template",
  106. "templating"
  107. ],
  108. "license": "BSD-2-Clause",
  109. "bugs": {
  110. "url": "https://github.com/mozilla/nunjucks/issues"
  111. }
  112. }