package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "distpicker",
  3. "description": "A simple jQuery plugin for picking provinces, cities and districts of China.",
  4. "version": "2.0.5",
  5. "main": "dist/distpicker.common.js",
  6. "module": "dist/distpicker.esm.js",
  7. "unpkg": "dist/distpicker.js",
  8. "repository": "fengyuanchen/distpicker",
  9. "homepage": "https://fengyuanchen.github.io/distpicker",
  10. "license": "MIT",
  11. "author": {
  12. "name": "Chen Fengyuan",
  13. "url": "https://chenfengyuan.com"
  14. },
  15. "files": [
  16. "src",
  17. "dist"
  18. ],
  19. "keywords": [
  20. "中国",
  21. "省份",
  22. "城市",
  23. "行政区",
  24. "省市区",
  25. "三级联动",
  26. "地址选择器",
  27. "China",
  28. "Chinese",
  29. "province",
  30. "provinces",
  31. "city",
  32. "cities",
  33. "district",
  34. "districts",
  35. "pick",
  36. "picker",
  37. "picking",
  38. "jquery",
  39. "plugin",
  40. "jquery-plugin",
  41. "html",
  42. "css",
  43. "javascript",
  44. "front-end",
  45. "web",
  46. "development"
  47. ],
  48. "scripts": {
  49. "build": "rollup -c",
  50. "clear": "del-cli dist",
  51. "compress": "uglifyjs dist/distpicker.js -o dist/distpicker.min.js -c -m --comments /^!/",
  52. "lint": "eslint src *.js --fix",
  53. "release": "npm run clear && npm run lint && npm run build && npm run compress",
  54. "start": "rollup -c -m -w"
  55. },
  56. "devDependencies": {
  57. "@babel/core": "^7.1.6",
  58. "@babel/preset-env": "^7.1.6",
  59. "@commitlint/cli": "^7.2.1",
  60. "@commitlint/config-conventional": "^7.1.2",
  61. "change-case": "^3.0.2",
  62. "create-banner": "^1.0.0",
  63. "del-cli": "^1.1.0",
  64. "eslint": "^5.9.0",
  65. "eslint-config-airbnb-base": "^13.1.0",
  66. "eslint-plugin-import": "^2.14.0",
  67. "husky": "^1.2.0",
  68. "jquery": "^3.3.1",
  69. "lint-staged": "^8.1.0",
  70. "rollup": "^0.67.3",
  71. "rollup-plugin-babel": "^4.0.3",
  72. "rollup-plugin-commonjs": "^9.2.0",
  73. "rollup-plugin-node-resolve": "^3.4.0",
  74. "rollup-watch": "^4.3.1",
  75. "uglify-js": "^3.4.9"
  76. },
  77. "peerDependencies": {
  78. "jquery": ">= 1.9.1"
  79. }
  80. }