package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "browserslist",
  3. "version": "2.11.3",
  4. "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
  5. "keywords": [
  6. "caniuse",
  7. "browsers",
  8. "target"
  9. ],
  10. "author": "Andrey Sitnik <andrey@sitnik.ru>",
  11. "license": "MIT",
  12. "repository": "ai/browserslist",
  13. "dependencies": {
  14. "caniuse-lite": "^1.0.30000792",
  15. "electron-to-chromium": "^1.3.30"
  16. },
  17. "bin": "./cli.js",
  18. "devDependencies": {
  19. "cross-spawn": "^5.1.0",
  20. "eslint": "^4.15.0",
  21. "eslint-ci": "^0.1.1",
  22. "eslint-config-logux": "^17.0.0",
  23. "eslint-config-standard": "^10.2.1",
  24. "eslint-plugin-es5": "^1.2.0",
  25. "eslint-plugin-import": "^2.8.0",
  26. "eslint-plugin-jest": "^21.6.2",
  27. "eslint-plugin-node": "^5.2.1",
  28. "eslint-plugin-promise": "^3.6.0",
  29. "eslint-plugin-security": "^1.4.0",
  30. "eslint-plugin-standard": "^3.0.1",
  31. "jest": "^22.0.6",
  32. "lint-staged": "^6.0.0",
  33. "pre-commit": "^1.1.3",
  34. "size-limit": "^0.14.0",
  35. "yaspeller-ci": "^1.0.0"
  36. },
  37. "eslintConfig": {
  38. "extends": "eslint-config-logux/browser",
  39. "rules": {
  40. "security/detect-unsafe-regex": "off",
  41. "global-require": "off"
  42. },
  43. "overrides": {
  44. "files": [
  45. "*.test.js"
  46. ],
  47. "rules": {
  48. "es5/no-arrow-functions": "off"
  49. }
  50. }
  51. },
  52. "jest": {
  53. "testEnvironment": "node",
  54. "coverageThreshold": {
  55. "global": {
  56. "statements": 100
  57. }
  58. },
  59. "modulePathIgnorePatterns": [
  60. "<rootDir>/test/fixtures"
  61. ]
  62. },
  63. "size-limit": [
  64. {
  65. "path": "index.js",
  66. "limit": "160 KB"
  67. }
  68. ],
  69. "scripts": {
  70. "lint-staged": "lint-staged",
  71. "spellcheck": "yaspeller-ci README.md CHANGELOG.md",
  72. "lint": "eslint-ci *.js test/*.js __mocks__/*.js",
  73. "test": "jest --coverage && yarn lint && yarn spellcheck && size-limit"
  74. },
  75. "lint-staged": {
  76. "*.md": "yaspeller-ci",
  77. "*.js": "eslint"
  78. },
  79. "browser": {
  80. "./node.js": "./browser.js",
  81. "path": false
  82. },
  83. "pre-commit": [
  84. "lint-staged"
  85. ]
  86. }