package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "@vant/weapp",
  3. "version": "1.10.2",
  4. "author": "youzan",
  5. "license": "MIT",
  6. "miniprogram": "lib",
  7. "description": "轻量、可靠的小程序 UI 组件库",
  8. "publishConfig": {
  9. "access": "public",
  10. "registry": "https://registry.npmjs.org/"
  11. },
  12. "scripts": {
  13. "dev": "node build/dev.js",
  14. "lint": "eslint ./packages --ext .js,.ts --fix && stylelint \"packages/**/*.less\" --fix",
  15. "prepare": "husky install",
  16. "release": "sh build/release.sh",
  17. "release:site": "vant-cli build-site && gh-pages -d site-dist --add",
  18. "build:lib": "yarn && npx gulp -f build/compiler.js --series buildEs buildLib",
  19. "build:changelog": "vant-cli changelog",
  20. "upload:weapp": "node build/upload.js",
  21. "test": "jest",
  22. "test:watch": "jest --watch"
  23. },
  24. "files": [
  25. "dist",
  26. "lib"
  27. ],
  28. "repository": {
  29. "type": "git",
  30. "url": "git+ssh://git@github.com/youzan/vant-weapp.git"
  31. },
  32. "lint-staged": {
  33. "*.{ts,js}": [
  34. "eslint --fix",
  35. "prettier --write"
  36. ],
  37. "*.{css,less}": [
  38. "stylelint --fix",
  39. "prettier --write"
  40. ]
  41. },
  42. "homepage": "https://github.com/youzan/vant-weapp#readme",
  43. "devDependencies": {
  44. "@babel/plugin-transform-modules-commonjs": "^7.16.0",
  45. "@babel/preset-typescript": "^7.16.0",
  46. "@types/jest": "^27.0.2",
  47. "@vant/cli": "^4.0.0-beta.7",
  48. "@vant/icons": "^1.7.1",
  49. "@vue/compiler-sfc": "^3.2.13",
  50. "gulp": "^4.0.2",
  51. "gulp-insert": "^0.5.0",
  52. "gulp-less": "^5.0.0",
  53. "gulp-postcss": "^9.0.1",
  54. "gulp-rename": "^2.0.0",
  55. "gulp-typescript": "^6.0.0-alpha.1",
  56. "jest": "^27.3.1",
  57. "merge2": "^1.4.1",
  58. "miniprogram-api-typings": "^3.1.6",
  59. "miniprogram-ci": "^1.6.1",
  60. "miniprogram-simulate": "^1.4.2",
  61. "ts-jest": "^27.0.7",
  62. "tscpaths": "^0.0.9",
  63. "typescript": "^4.4.4",
  64. "vue": "^3.2.1"
  65. },
  66. "browserslist": [
  67. "Chrome >= 53",
  68. "ChromeAndroid >= 53",
  69. "iOS >= 9"
  70. ]
  71. }