package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "vite-plugin-style-import",
  3. "version": "1.4.1",
  4. "description": "A plug-in that imports component library styles on demand",
  5. "main": "dist/index.js",
  6. "exports": {
  7. "import": "./dist/index.mjs",
  8. "require": "./dist/index.js"
  9. },
  10. "types": "dist/index.d.ts",
  11. "license": "MIT",
  12. "author": "Vben",
  13. "files": [
  14. "dist"
  15. ],
  16. "scripts": {
  17. "dev": "npm run build -- --watch",
  18. "build": "tsup src/index.ts --dts --format cjs,esm",
  19. "prepublishOnly": "yarn build",
  20. "log": "conventional-changelog -p angular -i CHANGELOG.md -s ",
  21. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  22. "lint:eslint": "eslint \"src/**/*.{ts,tsx}\" --fix",
  23. "test": "jest --coverage",
  24. "test:watch": "jest --watch",
  25. "prepare": "husky install"
  26. },
  27. "keywords": [
  28. "vite",
  29. "style",
  30. "import",
  31. "css"
  32. ],
  33. "repository": {
  34. "type": "git",
  35. "url": "https://github.com/anncwb/vite-plugin-style-import"
  36. },
  37. "bugs": {
  38. "url": "https://github.com/anncwb/vite-plugin-style-import/issues"
  39. },
  40. "homepage": "https://github.com/anncwb/vite-plugin-style-import/tree/master/#readme",
  41. "dependencies": {
  42. "@rollup/pluginutils": "^4.1.2",
  43. "change-case": "^4.1.2",
  44. "debug": "^4.3.3",
  45. "es-module-lexer": "^0.9.3",
  46. "fs-extra": "^10.0.0",
  47. "magic-string": "^0.25.7"
  48. },
  49. "peerDependencies": {
  50. "vite": ">=2.0.0"
  51. },
  52. "devDependencies": {
  53. "@commitlint/cli": "^16.0.0",
  54. "@commitlint/config-conventional": "^16.0.0",
  55. "@types/debug": "^4.1.7",
  56. "@types/fs-extra": "^9.0.13",
  57. "@types/jest": "^27.0.3",
  58. "@types/node": "^17.0.5",
  59. "@typescript-eslint/eslint-plugin": "^5.8.1",
  60. "@typescript-eslint/parser": "^5.8.1",
  61. "commitizen": "^4.2.4",
  62. "conventional-changelog-cli": "^2.2.2",
  63. "eslint": "^8.5.0",
  64. "eslint-config-prettier": "^8.3.0",
  65. "eslint-plugin-jest": "^25.3.2",
  66. "husky": "^7.0.4",
  67. "ini": "^2.0.0",
  68. "jest": "^27.4.5",
  69. "lint-staged": "^12.1.4",
  70. "prettier": "^2.5.1",
  71. "rimraf": "^3.0.2",
  72. "ts-jest": "^27.1.2",
  73. "tsup": "^5.11.9",
  74. "typescript": "^4.5.4",
  75. "vite": "^2.7.7"
  76. }
  77. }