package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "pathval",
  3. "description": "Object value retrieval given a string path",
  4. "homepage": "https://github.com/chaijs/pathval",
  5. "version": "1.1.1",
  6. "keywords": [
  7. "pathval",
  8. "value retrieval",
  9. "chai util"
  10. ],
  11. "license": "MIT",
  12. "author": "Veselin Todorov <hi@vesln.com>",
  13. "files": [
  14. "index.js",
  15. "pathval.js"
  16. ],
  17. "main": "./index.js",
  18. "repository": {
  19. "type": "git",
  20. "url": "git+ssh://git@github.com/chaijs/pathval.git"
  21. },
  22. "scripts": {
  23. "build": "browserify --standalone pathval -o pathval.js",
  24. "lint": "eslint --ignore-path .gitignore .",
  25. "lint:fix": "npm run lint -- --fix",
  26. "prepublish": "npm run build",
  27. "semantic-release": "semantic-release pre && npm publish && semantic-release post",
  28. "pretest": "npm run lint",
  29. "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
  30. "test:browser": "karma start --singleRun=true",
  31. "test:node": "nyc mocha",
  32. "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
  33. },
  34. "config": {
  35. "ghooks": {
  36. "commit-msg": "validate-commit-msg"
  37. }
  38. },
  39. "eslintConfig": {
  40. "extends": [
  41. "strict/es5"
  42. ],
  43. "env": {
  44. "es6": true
  45. },
  46. "globals": {
  47. "HTMLElement": false
  48. },
  49. "rules": {
  50. "complexity": 0,
  51. "max-statements": 0
  52. }
  53. },
  54. "devDependencies": {
  55. "browserify": "^17.0.0",
  56. "browserify-istanbul": "^3.0.1",
  57. "coveralls": "^3.1.0",
  58. "eslint": "^7.13.0",
  59. "eslint-config-strict": "^14.0.1",
  60. "eslint-plugin-filenames": "^1.3.2",
  61. "ghooks": "^2.0.4",
  62. "karma": "^5.2.3",
  63. "karma-browserify": "^7.0.0",
  64. "karma-coverage": "^2.0.3",
  65. "karma-mocha": "^2.0.1",
  66. "karma-phantomjs-launcher": "^1.0.4",
  67. "karma-sauce-launcher": "^4.3.3",
  68. "lcov-result-merger": "^3.1.0",
  69. "mocha": "^8.2.1",
  70. "nyc": "^15.1.0",
  71. "phantomjs-prebuilt": "^2.1.16",
  72. "semantic-release": "^17.2.2",
  73. "simple-assert": "^1.0.0",
  74. "travis-after-all": "^1.4.5",
  75. "validate-commit-msg": "^2.14.0"
  76. },
  77. "engines": {
  78. "node": "*"
  79. }
  80. }