package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "private": true,
  3. "workspaces": [
  4. "packages/*"
  5. ],
  6. "scripts": {
  7. "dev": "node scripts/dev.js",
  8. "build": "node scripts/build.js",
  9. "size-runtime": "node scripts/build.js runtime-dom -p -f global",
  10. "size-compiler": "node scripts/build.js compiler-dom -p -f global",
  11. "size": "yarn size-runtime && yarn size-compiler",
  12. "lint": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
  13. "test": "jest",
  14. "test-dts": "node scripts/build.js reactivity runtime-core runtime-dom -t -f esm && tsd"
  15. },
  16. "types": "test-dts/index.d.ts",
  17. "tsd": {
  18. "directory": "test-dts"
  19. },
  20. "gitHooks": {
  21. "pre-commit": "lint-staged",
  22. "commit-msg": "node scripts/verifyCommit.js"
  23. },
  24. "lint-staged": {
  25. "*.js": [
  26. "prettier --write",
  27. "git add"
  28. ],
  29. "*.ts?(x)": [
  30. "prettier --parser=typescript --write",
  31. "git add"
  32. ]
  33. },
  34. "devDependencies": {
  35. "@microsoft/api-extractor": "^7.3.9",
  36. "@types/jest": "^24.0.21",
  37. "brotli": "^1.3.2",
  38. "chalk": "^2.4.2",
  39. "execa": "^2.0.4",
  40. "fs-extra": "^8.1.0",
  41. "jest": "^24.9.0",
  42. "lerna": "^3.16.4",
  43. "lint-staged": "^9.2.3",
  44. "minimist": "^1.2.0",
  45. "prettier": "~1.14.0",
  46. "rollup": "^1.19.4",
  47. "rollup-plugin-alias": "^2.0.0",
  48. "rollup-plugin-json": "^4.0.0",
  49. "rollup-plugin-replace": "^2.2.0",
  50. "rollup-plugin-terser": "^5.1.1",
  51. "rollup-plugin-typescript2": "^0.24.0",
  52. "ts-jest": "^24.0.2",
  53. "tsd": "^0.10.0",
  54. "typescript": "^3.6.4",
  55. "yorkie": "^2.0.0"
  56. }
  57. }