package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "@tencent/tdesign-miniprogram-starter-retail",
  3. "version": "0.2.0",
  4. "description": "",
  5. "main": "app.js",
  6. "scripts": {
  7. "test": "echo \"Error: no test specified\" && exit 1",
  8. "lint": "eslint --cache --fix --ext .js",
  9. "check": "node config/eslintCheck.js",
  10. "prepare": "husky install",
  11. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
  12. },
  13. "author": "",
  14. "license": "ISC",
  15. "config": {
  16. "commitizen": {
  17. "path": "./node_modules/cz-conventional-changelog"
  18. }
  19. },
  20. "lint-staged": {
  21. "*.{js, ts}": "eslint --cache --fix",
  22. "*.{js,ts,wxml,html,json,css,less}": [
  23. "prettier --write"
  24. ]
  25. },
  26. "dependencies": {
  27. "dayjs": "^1.9.3",
  28. "tdesign-miniprogram": "1.9.5",
  29. "tslib": "^1.11.1"
  30. },
  31. "devDependencies": {
  32. "@commitlint/cli": "^17.4.2",
  33. "@commitlint/config-conventional": "^17.4.2",
  34. "commitizen": "^4.3.0",
  35. "conventional-changelog-cli": "^2.2.2",
  36. "cz-conventional-changelog": "^3.3.0",
  37. "eslint": "^6.8.0",
  38. "eslint-config-prettier": "^6.10.0",
  39. "eslint-plugin-import": "^2.20.1",
  40. "eslint-plugin-prettier": "^3.1.2",
  41. "husky": "^8.0.3",
  42. "lint-staged": "^10.0.8",
  43. "prettier": "^2.1.2"
  44. }
  45. }