package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "@vant/popperjs",
  3. "version": "1.3.0",
  4. "description": "Pre-compiled popperjs core",
  5. "main": "dist/index.cjs.js",
  6. "module": "dist/index.esm.mjs",
  7. "types": "dist/index.d.ts",
  8. "exports": {
  9. ".": {
  10. "import": "./dist/index.esm.mjs",
  11. "require": "./dist/index.cjs.js"
  12. }
  13. },
  14. "sideEffects": false,
  15. "files": [
  16. "dist"
  17. ],
  18. "publishConfig": {
  19. "access": "public",
  20. "registry": "https://registry.npmjs.org/"
  21. },
  22. "scripts": {
  23. "clean": "rimraf ./dist",
  24. "dev": "node ./build.js -w",
  25. "build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
  26. "build:bundle": "node ./build.js",
  27. "build": "pnpm clean && pnpm build:bundle && pnpm build:types",
  28. "release": "pnpm build && release-it",
  29. "prepare": "pnpm build"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/vant-ui/vant.git",
  34. "directory": "packages/vant-popperjs"
  35. },
  36. "bugs": "https://github.com/vant-ui/vant/issues",
  37. "author": "chenjiahan",
  38. "license": "MIT",
  39. "devDependencies": {
  40. "@popperjs/core": "^2.11.6",
  41. "esbuild": "^0.14.54",
  42. "release-it": "^15.4.1",
  43. "typescript": "^4.8.2"
  44. },
  45. "release-it": {
  46. "git": {
  47. "tag": false,
  48. "commitMessage": "release: @vant/popperjs ${version}"
  49. }
  50. }
  51. }