package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "nanopop",
  3. "version": "2.2.0",
  4. "description": "Ultra tiny, opinionated, positioning engine.",
  5. "main": "./lib/nanopop.min.js",
  6. "module": "./lib/nanopop.min.mjs",
  7. "author": "Simon Reinisch <trash@reinisch.io>",
  8. "license": "MIT",
  9. "types": "./lib/nanopop.min.d.ts",
  10. "keywords": [
  11. "positioning",
  12. "popper",
  13. "utility",
  14. "positioning engine"
  15. ],
  16. "files": [
  17. "src",
  18. "lib"
  19. ],
  20. "scripts": {
  21. "build": "rollup -c rollup.config.prod.js",
  22. "dev": "concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"",
  23. "serve": "serve . -p 3000",
  24. "lint": "eslint './{src,tests}/**/*.ts'",
  25. "lint:fix": "npm run lint -- --fix",
  26. "test": "playwright test",
  27. "test:ci": "npm run lint:fix && npm run build && npm test"
  28. },
  29. "homepage": "https://github.com/Simonwep/nanopop#readme",
  30. "bugs": "https://github.com/Simonwep/nanopop/issues",
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/Simonwep/nanopop.git"
  34. },
  35. "devDependencies": {
  36. "@playwright/test": "^1.25.1",
  37. "@rollup/plugin-replace": "^4.0.0",
  38. "@types/ws": "^8.5.3",
  39. "@typescript-eslint/eslint-plugin": "^5.36.1",
  40. "@typescript-eslint/parser": "^5.36.1",
  41. "concurrently": "^7.3.0",
  42. "eslint": "^8.23.0",
  43. "jest": "^28.1.3",
  44. "jest-environment-puppeteer": "^6.1.1",
  45. "jest-image-snapshot": "^5.2.0",
  46. "jest-playwright-preset": "^2.0.0",
  47. "playwright-chromium": "^1.25.1",
  48. "playwright-firefox": "^1.25.1",
  49. "playwright-webkit": "^1.25.1",
  50. "rollup": "^2.79.0",
  51. "rollup-plugin-terser": "^7.0.2",
  52. "rollup-plugin-ts": "^3.0.2",
  53. "serve": "^14.0.1",
  54. "typescript": "^4.8.2"
  55. }
  56. }