package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "@d3v4pp/validate",
  3. "description": "Validate object properties in javascript.",
  4. "version": "0.0.2",
  5. "publishConfig": {
  6. "access": "public"
  7. },
  8. "keywords": [
  9. "validation",
  10. "validate",
  11. "valid",
  12. "object"
  13. ],
  14. "author": {
  15. "name" : "Ayoub Hassani <D3v4pp>",
  16. "email" : "ayoub@d3v4pp.fr",
  17. "url" : "https://d3v4pp.fr/"
  18. },
  19. "funding": "https://paypal.me/SupportTheDoc",
  20. "homepage": "https://cvs.d3v4pp.fr/D3V4PP/validate/src/master/README.md",
  21. "bugs": {
  22. "url" : "https://cvs.d3v4pp.fr/D3V4PP/validate/issues",
  23. "email" : "ayoub@d3v4pp.fr"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "https://cvs.d3v4pp.fr/D3V4PP/validate.git"
  28. },
  29. "license": "d3v4pp",
  30. "scripts": {
  31. "cov": "codecov",
  32. "test": "jest",
  33. "test-cov": "jest --coverage --runInBand --forceExit",
  34. "doc": "documentation readme index.js --section=API",
  35. "doc:html": "documentation build ./src/*.js -f html -o docs",
  36. "lint": "eslint src test",
  37. "build": "npm run build1 && npm run build2 && npm run build3",
  38. "build1": "babel -d build src",
  39. "build2": "babel ./package.json --out-dir build --copy-files",
  40. "build3": "babel ./README.md --out-dir build --copy-files",
  41. "prepublish": "npm run build"
  42. },
  43. "engines": {
  44. "node": ">=7.6"
  45. },
  46. "dependencies": {
  47. "@d3v4pp/dot": "^0.0.1",
  48. "@d3v4pp/type": "^0.0.1"
  49. },
  50. "devDependencies": {
  51. "@babel/cli": "^7.18.10",
  52. "babel-preset-minify": "^0.5.2",
  53. "@babel/core": "^7.18.10",
  54. "@babel/preset-env": "^7.18.10",
  55. "babel-jest": "^28.1.3",
  56. "babel-plugin-add-module-exports": "^1.0.4",
  57. "codecov": "^3.8.3",
  58. "documentation": "^13.2.5",
  59. "eslint": "^8.22.0",
  60. "eslint-config-standard": "^17.0.0",
  61. "eslint-plugin-import": "^2.26.0",
  62. "eslint-plugin-node": "^11.1.0",
  63. "eslint-plugin-promise": "^6.0.0",
  64. "eslint-plugin-standard": "^5.0.0",
  65. "jest": "^28.1.3"
  66. },
  67. "jest": {
  68. "transformIgnorePatterns": [
  69. "/node_modules/",
  70. "\\.pnp\\.[^\\/]+$",
  71. "/test/"
  72. ],
  73. "testMatch": [
  74. "<rootDir>/test/**/*.js"
  75. ],
  76. "coverageReporters": [
  77. "text-summary",
  78. "lcov"
  79. ],
  80. "bail": true,
  81. "testEnvironment": "node"
  82. },
  83. "main": "schema.js"
  84. }