package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "tcb-cloudbase-shop",
  3. "version": "1.0.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. "@cloudbase/wx-cloud-client-sdk": "^1.2.1",
  28. "dayjs": "^1.9.3",
  29. "tdesign-miniprogram": "^1.6.0",
  30. "tslib": "^1.11.1"
  31. },
  32. "devDependencies": {
  33. "@commitlint/cli": "^17.4.2",
  34. "@commitlint/config-conventional": "^17.4.2",
  35. "commitizen": "^4.3.0",
  36. "conventional-changelog-cli": "^2.2.2",
  37. "cz-conventional-changelog": "^3.3.0",
  38. "eslint": "^6.8.0",
  39. "eslint-config-prettier": "^6.10.0",
  40. "eslint-plugin-import": "^2.20.1",
  41. "eslint-plugin-prettier": "^3.1.2",
  42. "husky": "^8.0.3",
  43. "lint-staged": "^10.0.8",
  44. "prettier": "^2.1.2"
  45. }
  46. }