package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "get-func-name",
  3. "version": "2.0.2",
  4. "description": "Utility for getting a function's name for node and the browser",
  5. "keywords": [
  6. "get-func-name",
  7. "chai util"
  8. ],
  9. "license": "MIT",
  10. "author": "Jake Luer <jake@alogicalparadox.com> (http://alogicalparadox.com)",
  11. "contributors": [
  12. "Keith Cirkel (https://github.com/keithamus)",
  13. "Lucas Fernandes da Costa (https://github.com/lucasfcosta)",
  14. "Grant Snodgrass (https://github.com/meeber)",
  15. "Lucas Vieira (https://github.com/vieiralucas)",
  16. "Aleksey Shvayka (https://github.com/shvaikalesh)"
  17. ],
  18. "files": [
  19. "index.js",
  20. "get-func-name.js"
  21. ],
  22. "main": "./index.js",
  23. "repository": {
  24. "type": "git",
  25. "url": "git+ssh://git@github.com/chaijs/get-func-name.git"
  26. },
  27. "scripts": {
  28. "build": "browserify --bare $npm_package_main --standalone getFuncName -o get-func-name.js",
  29. "lint": "eslint --ignore-path .gitignore .",
  30. "prepublish": "npm run build",
  31. "semantic-release": "semantic-release pre && npm publish && semantic-release post",
  32. "pretest": "npm run lint",
  33. "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
  34. "test:browser": "karma start --singleRun=true",
  35. "test:node": "istanbul cover _mocha",
  36. "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
  37. },
  38. "config": {
  39. "ghooks": {
  40. "commit-msg": "validate-commit-msg"
  41. }
  42. },
  43. "eslintConfig": {
  44. "extends": [
  45. "strict/es5"
  46. ],
  47. "env": {
  48. "es6": true
  49. },
  50. "globals": {
  51. "HTMLElement": false
  52. },
  53. "rules": {
  54. "complexity": 0,
  55. "max-statements": 0
  56. }
  57. },
  58. "dependencies": {},
  59. "devDependencies": {
  60. "browserify": "^13.0.0",
  61. "browserify-istanbul": "^2.0.0",
  62. "coveralls": "2.11.14",
  63. "eslint": "^2.4.0",
  64. "eslint-config-strict": "^9.1.0",
  65. "eslint-plugin-filenames": "^1.1.0",
  66. "ghooks": "^1.0.1",
  67. "istanbul": "^0.4.2",
  68. "karma": "^1.3.0",
  69. "karma-browserify": "^5.0.2",
  70. "karma-coverage": "^1.1.1",
  71. "karma-mocha": "^1.2.0",
  72. "karma-phantomjs-launcher": "^1.0.0",
  73. "karma-sauce-launcher": "^1.0.0",
  74. "lcov-result-merger": "^1.0.2",
  75. "mocha": "^3.1.2",
  76. "phantomjs-prebuilt": "^2.1.5",
  77. "semantic-release": "^4.3.5",
  78. "simple-assert": "^1.0.0",
  79. "travis-after-all": "^1.4.4",
  80. "validate-commit-msg": "^2.3.1"
  81. },
  82. "engines": {
  83. "node": "*"
  84. }
  85. }