package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "react-docgen-typescript",
  3. "version": "1.22.0",
  4. "description": "",
  5. "homepage": "https://github.com/styleguidist/react-docgen-typescript/",
  6. "bugs": "https://github.com/styleguidist/react-docgen-typescript/issues",
  7. "main": "lib/index.js",
  8. "types": "lib/index.d.ts",
  9. "scripts": {
  10. "precommit": "lint-staged",
  11. "tsc": "tsc",
  12. "tsc:watch": "tsc -w",
  13. "prepublishOnly": "tsc -d",
  14. "test": "tsc && mocha --timeout 10000 ./lib/**/__tests__/**.js",
  15. "test:debug": "tsc && mocha --debug ./lib/**/__tests__/**.js",
  16. "print": "npm run tsc && node ./lib/print.js",
  17. "print:sample1": "npm run tsc && node ./lib/print.js ./src/__tests__/data/ColumnHigherOrderComponent.tsx simple",
  18. "lint": "eslint -c lint.json 'src/**/*.{ts,tsx}'",
  19. "lint:fix": "npm run lint -- --fix",
  20. "prettier:base": "prettier --parser typescript --single-quote --trailing-comma none",
  21. "prettier:check": "npm run prettier:base -- -l \"src/**/*.{ts,tsx}\"",
  22. "prettier:write": "npm run prettier:base -- --write \"src/**/*.{ts,tsx}\""
  23. },
  24. "license": "MIT",
  25. "peerDependencies": {
  26. "typescript": ">= 3.x"
  27. },
  28. "devDependencies": {
  29. "@types/chai": "^4.1.0",
  30. "@types/lodash": "^4.14.137",
  31. "@types/mocha": "^5.2.5",
  32. "@types/node": "^10.5.6",
  33. "@types/prop-types": "^15.5.4",
  34. "@types/react": "^16.9.34",
  35. "@types/source-map-support": "^0.4.1",
  36. "chai": "^4.1.2",
  37. "eslint": "^7.5.0",
  38. "husky": "^0.14.3",
  39. "install": "^0.13.0",
  40. "lint-staged": "^7.3.0",
  41. "lodash": "^4.17.15",
  42. "mocha": "^5.2.0",
  43. "prettier": "^1.19.1",
  44. "prop-types": "^15.6.2",
  45. "react": "^16.4.2",
  46. "source-map-support": "^0.5.6",
  47. "typescript": "3.5.2"
  48. },
  49. "files": [
  50. "lib",
  51. "README.md"
  52. ],
  53. "repository": {
  54. "type": "git",
  55. "url": "https://github.com/styleguidist/react-docgen-typescript.git"
  56. },
  57. "dependencies": {}
  58. }