You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "react-ga",
  3. "version": "3.3.1",
  4. "description": "React Google Analytics Module",
  5. "main": "dist/react-ga.js",
  6. "module": "dist/esm/index.js",
  7. "scripts": {
  8. "start": "webpack-dev-server --config demo/webpack.config.js --hot --inline",
  9. "test": "cross-env BABEL_ENV=test jest --env=jsdom --coverage",
  10. "test:watch": "cross-env BABEL_ENV=test jest --env=jsdom --watch",
  11. "test:types": "tsc -p ./types/tsconfig.json",
  12. "build": "npm run build:umd && npm run build:esm",
  13. "build:esm": "cross-env BABEL_ENV=esm babel src --out-dir dist/esm",
  14. "build:umd": "cross-env BABEL_ENV=umd webpack --mode=production",
  15. "lint": "eslint ./src/**/*.js ./src/*.js ./*.js ./test/**/*.{js,jsx} ./test/*.js ./demo/**/*.{js,jsx} ./demo/*.{js,jsx} --ext .js,.jsx",
  16. "prepare": "husky install",
  17. "prettier": "prettier --write demo/**/* src/**/* test/**/* types/**/* *.js *.ts",
  18. "preversion": "npm test && npm run lint",
  19. "version": "node ./version-bower.js && npm run build && git add -A bower.json"
  20. },
  21. "types": "./types/index.d.ts",
  22. "repository": {
  23. "type": "git",
  24. "url": "git@github.com:react-ga/react-ga"
  25. },
  26. "keywords": [
  27. "React",
  28. "GA",
  29. "Google Analytics",
  30. "Universal Analytics"
  31. ],
  32. "author": "@adamlofting",
  33. "contributors": [
  34. "@toolness"
  35. ],
  36. "license": "Apache-2.0",
  37. "bugs": {
  38. "url": "https://github.com/react-ga/react-ga/issues"
  39. },
  40. "homepage": "https://github.com/react-ga/react-ga",
  41. "peerDependencies": {
  42. "prop-types": "^15.6.0",
  43. "react": "^15.6.2 || ^16.0 || ^17 || ^18"
  44. },
  45. "devDependencies": {
  46. "@babel/cli": "7.17.10",
  47. "@babel/core": "7.18.5",
  48. "@babel/eslint-parser": "7.18.2",
  49. "@babel/plugin-proposal-class-properties": "7.17.12",
  50. "@babel/preset-env": "7.18.2",
  51. "@babel/preset-flow": "^7.17.12",
  52. "@babel/preset-react": "^7.17.12",
  53. "@babel/register": "7.17.7",
  54. "@commitlint/cli": "17.0.2",
  55. "@commitlint/config-conventional": "17.0.2",
  56. "@types/react": "18.0.12",
  57. "babel-jest": "26.0.1",
  58. "babel-loader": "8.2.5",
  59. "conventional-changelog-cli": "2.2.2",
  60. "cross-env": "7.0.3",
  61. "enzyme": "3.11.0",
  62. "enzyme-adapter-react-16": "1.15.6",
  63. "eslint": "8.17.0",
  64. "eslint-config-airbnb": "19.0.4",
  65. "eslint-config-prettier": "8.5.0",
  66. "eslint-plugin-import": "2.26.0",
  67. "eslint-plugin-jest": "26.5.3",
  68. "eslint-plugin-jsx-a11y": "6.5.1",
  69. "eslint-plugin-prettier": "4.0.0",
  70. "eslint-plugin-react": "7.30.0",
  71. "fs-extra": "10.1.0",
  72. "html-webpack-plugin": "3.2.0",
  73. "husky": "8.0.1",
  74. "jest": "26.0.1",
  75. "lint-staged": "13.0.1",
  76. "prettier": "2.7.0",
  77. "prop-types": "15.7.2",
  78. "react": "16.14",
  79. "react-dom": "16.14",
  80. "react-router": "5.2.0",
  81. "react-router-dom": "5.2.0",
  82. "terser-webpack-plugin": "1.4.1",
  83. "typescript": "4.7.3",
  84. "webpack": "4.46.0",
  85. "webpack-cli": "3.3.9",
  86. "webpack-dev-server": "3.8.2"
  87. }
  88. }