package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "react-style-singleton",
  3. "version": "2.2.1",
  4. "description": "Just create a single stylesheet...",
  5. "main": "dist/es5/index.js",
  6. "types": "dist/es5/index.d.ts",
  7. "jsnext:main": "dist/es2015/index.js",
  8. "module": "dist/es2015/index.js",
  9. "module:es2019": "dist/es2019/index.js",
  10. "files": [
  11. "dist"
  12. ],
  13. "scripts": {
  14. "dev": "lib-builder dev",
  15. "test": "jest",
  16. "test:ci": "jest --runInBand --coverage",
  17. "build": "lib-builder build && yarn size:report",
  18. "release": "yarn build && yarn test",
  19. "size": "npx size-limit",
  20. "size:report": "npx size-limit --json > .size.json",
  21. "lint": "lib-builder lint",
  22. "format": "lib-builder format",
  23. "update": "lib-builder update",
  24. "prepublish-only": "yarn build && yarn changelog",
  25. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
  26. "changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
  27. },
  28. "repository": "",
  29. "bugs": {
  30. "url": "https://github.com/theKashey/react-style-singleton/issues"
  31. },
  32. "homepage": "https://github.com/theKashey/react-style-singleton#readme",
  33. "author": "Anton Korzunov (thekashey@gmail.com)",
  34. "license": "MIT",
  35. "devDependencies": {
  36. "@theuiteam/lib-builder": "^0.1.4",
  37. "@size-limit/preset-small-lib": "^2.1.6",
  38. "@types/invariant": "^2.2.29",
  39. "react": "^16.8.6",
  40. "react-dom": "^16.8.6"
  41. },
  42. "peerDependencies": {
  43. "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
  44. "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0"
  45. },
  46. "peerDependenciesMeta": {
  47. "@types/react": {
  48. "optional": true
  49. }
  50. },
  51. "keywords": [
  52. "react",
  53. "style",
  54. "css"
  55. ],
  56. "dependencies": {
  57. "tslib": "^2.0.0",
  58. "get-nonce": "^1.0.0",
  59. "invariant": "^2.2.4"
  60. },
  61. "engines": {
  62. "node": ">=10"
  63. },
  64. "husky": {
  65. "hooks": {
  66. "pre-commit": "lint-staged"
  67. }
  68. },
  69. "lint-staged": {
  70. "*.{ts,tsx}": [
  71. "prettier --write",
  72. "eslint --fix",
  73. "git add"
  74. ],
  75. "*.{js,css,json,md}": [
  76. "prettier --write",
  77. "git add"
  78. ]
  79. },
  80. "prettier": {
  81. "printWidth": 120,
  82. "trailingComma": "es5",
  83. "tabWidth": 2,
  84. "semi": true,
  85. "singleQuote": true
  86. }
  87. }