package.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "@rys-fe/vite-plugin-theme",
  3. "version": "0.8.6",
  4. "description": "Vite plugin for dynamically changing the theme color of the interface",
  5. "main": "dist/index.js",
  6. "module": "dist/index.js",
  7. "types": "dist/index.d.ts",
  8. "files": [
  9. "dist",
  10. "es",
  11. "CHANGELOG.md",
  12. "README.md",
  13. "README.zh_CN.md"
  14. ],
  15. "scripts": {
  16. "clean": "rimraf dist && rimraf es",
  17. "dev": " tsup src/index.ts --dts --format cjs,esm --watch",
  18. "dev:client": "tsc -w --p tsconfig.client.json",
  19. "build": "npm run clean && tsup src/index.ts --dts --format cjs,esm && tsc -p tsconfig.client.json",
  20. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  21. "example:dev": "npm -C example run serve",
  22. "example:build": "npm -C example run build",
  23. "release:prepare": "shipjs prepare",
  24. "prepublishOnly": "pinst --disable && npm run build",
  25. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  26. "lint:pretty": "pretty-quick --staged",
  27. "lint:eslint": "eslint \"src/**/*.{ts,tsx}\" --fix",
  28. "test": "jest --coverage",
  29. "test:watch": "jest --watch",
  30. "install:husky": "is-ci || husky install",
  31. "_postinstall": "npm run install:husky",
  32. "postpublish": "pinst --enable"
  33. },
  34. "keywords": [
  35. "vite"
  36. ],
  37. "author": "Vben",
  38. "license": "MIT",
  39. "repository": {
  40. "type": "git",
  41. "url": "https://github.com/vbenjs/vite-plugin-theme"
  42. },
  43. "bugs": {
  44. "url": "https://github.com/vbenjs/vite-plugin-theme/issues"
  45. },
  46. "homepage": "https://github.com/vbenjs/vite-plugin-theme/tree/master/#readme",
  47. "peerDependencies": {
  48. "vite": ">=2.0.0-beta.49"
  49. },
  50. "devDependencies": {
  51. "@commitlint/cli": "^12.1.4",
  52. "@commitlint/config-conventional": "^12.1.4",
  53. "@types/chalk": "^2.2.0",
  54. "@types/debug": "^4.1.5",
  55. "@types/fs-extra": "^9.0.11",
  56. "@types/jest": "^26.0.23",
  57. "@types/less": "^3.0.2",
  58. "@types/node": "^14.17.1",
  59. "@typescript-eslint/eslint-plugin": "^4.25.0",
  60. "@typescript-eslint/parser": "^4.25.0",
  61. "@vue/compiler-sfc": "^3.0.11",
  62. "commitizen": "^4.2.4",
  63. "conventional-changelog-cli": "^2.1.1",
  64. "eslint": "^7.27.0",
  65. "eslint-config-prettier": "^8.3.0",
  66. "eslint-plugin-jest": "^24.3.6",
  67. "fs-extra": "^9.1.0",
  68. "husky": "^5.2.0",
  69. "jest": "^26.6.3",
  70. "less": "^4.1.1",
  71. "lint-staged": "^10.5.4",
  72. "pinst": "^2.1.6",
  73. "prettier": "^2.3.0",
  74. "pretty-quick": "^3.1.0",
  75. "rimraf": "^3.0.2",
  76. "shipjs": "^0.23.2",
  77. "ts-jest": "^26.5.6",
  78. "tsup": "^4.11.1",
  79. "typescript": "^4.2.4",
  80. "vite": "^3.1.0"
  81. },
  82. "dependencies": {
  83. "@types/node": "^14.17.1",
  84. "@types/tinycolor2": "^1.4.2",
  85. "chalk": "^4.1.1",
  86. "clean-css": "^5.1.2",
  87. "debug": "^4.3.2",
  88. "esbuild": "^0.11.23",
  89. "esbuild-plugin-alias": "^0.1.2",
  90. "tinycolor2": "^1.4.2"
  91. }
  92. }