通用评论

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "comment",
  3. "version": "0.2.0",
  4. "main": "lib/App.js",
  5. "description": "通用评论",
  6. "keywords": [
  7. "评论"
  8. ],
  9. "author": "node",
  10. "email": "nodejh@qq.com",
  11. "homepage": "https://git.links123.net/npm/comment",
  12. "bugs": {
  13. "url": "https://git.links123.net/npm/comment/issues"
  14. },
  15. "private": true,
  16. "dependencies": {
  17. "antd": "^3.6.6",
  18. "axios": "^0.18.0",
  19. "dayjs": "^1.7.2",
  20. "prop-types": "^15.6.2",
  21. "react": "^16.4.1",
  22. "react-dom": "^16.4.1",
  23. "react-scripts": "1.1.4",
  24. "shortid": "^2.2.11"
  25. },
  26. "lint-staged": {
  27. "src/**/*.{js,jsx,json,css,less}": [
  28. "prettier --write",
  29. "git add"
  30. ]
  31. },
  32. "scripts": {
  33. "precommit": "lint-staged",
  34. "prettier": "prettier --single-quote --trailing-comma=es5 --write 'src/**/*.{js,jsx,json,css,less}'",
  35. "start": "react-app-rewired start",
  36. "build": "react-app-rewired build",
  37. "test": "react-app-rewired test --env=jsdom",
  38. "eject": "react-scripts eject",
  39. "lib": "babel ./src --out-dir ./lib --source-maps --copy-files"
  40. },
  41. "devDependencies": {
  42. "babel-cli": "^6.26.0",
  43. "babel-plugin-import": "^1.8.0",
  44. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  45. "babel-preset-env": "^1.7.0",
  46. "babel-preset-react": "^6.24.1",
  47. "husky": "^0.14.3",
  48. "lint-staged": "^7.2.0",
  49. "prettier": "^1.13.7",
  50. "react-app-rewired": "^1.5.2"
  51. },
  52. "license": "MIT"
  53. }