package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "nanopop",
  3. "version": "2.3.0",
  4. "description": "Ultra tiny, opinionated, positioning engine.",
  5. "author": "Simon Reinisch <trash@reinisch.io>",
  6. "license": "MIT",
  7. "main": "./dist/nanopop.umd.js",
  8. "module": "./dist/nanopop.mjs",
  9. "types": "./dist/index.d.ts",
  10. "exports": {
  11. ".": {
  12. "import": "./dist/nanopop.mjs",
  13. "require": "./dist/nanopop.umd.js"
  14. }
  15. },
  16. "keywords": [
  17. "positioning",
  18. "popper",
  19. "utility",
  20. "positioning engine"
  21. ],
  22. "files": [
  23. "src",
  24. "dist"
  25. ],
  26. "scripts": {
  27. "dev": "vite",
  28. "build": "vite build",
  29. "serve": "vite preview --port 3005 --outDir .",
  30. "lint": "eslint ./{src,tests}/**/*.ts",
  31. "lint:fix": "npm run lint -- --fix",
  32. "test": "playwright test",
  33. "test:ci": "npm run lint:fix && npm run build && npm test"
  34. },
  35. "homepage": "https://github.com/Simonwep/nanopop#readme",
  36. "bugs": "https://github.com/Simonwep/nanopop/issues",
  37. "repository": {
  38. "type": "git",
  39. "url": "https://github.com/Simonwep/nanopop.git"
  40. },
  41. "devDependencies": {
  42. "@playwright/test": "^1.32.3",
  43. "@typescript-eslint/eslint-plugin": "^5.58.0",
  44. "@typescript-eslint/parser": "^5.58.0",
  45. "eslint": "^8.38.0",
  46. "playwright-chromium": "^1.32.3",
  47. "playwright-firefox": "^1.32.3",
  48. "playwright-webkit": "^1.32.3",
  49. "typescript": "^5.0.4",
  50. "vite": "^4.2.1",
  51. "vite-plugin-banner": "^0.7.0",
  52. "vite-plugin-dts": "^2.2.0"
  53. }
  54. }