package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "name": "jasmine-core",
  3. "license": "MIT",
  4. "version": "4.5.0",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/jasmine/jasmine.git"
  8. },
  9. "keywords": [
  10. "test",
  11. "testing",
  12. "jasmine",
  13. "tdd",
  14. "bdd"
  15. ],
  16. "scripts": {
  17. "posttest": "eslint \"src/**/*.js\" \"spec/**/*.js\" && prettier --check \"src/**/*.js\" \"spec/**/*.js\"",
  18. "test": "grunt --stack execSpecsInNode",
  19. "cleanup": "prettier --write \"src/**/*.js\" \"spec/**/*.js\"",
  20. "build": "grunt buildDistribution",
  21. "serve": "node spec/support/localJasmineBrowser.js",
  22. "serve:performance": "node spec/support/localJasmineBrowser.js jasmine-browser-performance.json",
  23. "ci": "node spec/support/ci.js",
  24. "ci:performance": "node spec/support/ci.js jasmine-browser-performance.json"
  25. },
  26. "description": "Simple JavaScript testing framework for browsers and node.js",
  27. "homepage": "https://jasmine.github.io",
  28. "main": "./lib/jasmine-core.js",
  29. "files": [
  30. "MIT.LICENSE",
  31. "README.md",
  32. "images/*.{png,svg}",
  33. "lib/**/*.{js,css}",
  34. "package.json"
  35. ],
  36. "devDependencies": {
  37. "eslint": "^7.32.0",
  38. "eslint-plugin-compat": "^4.0.0",
  39. "glob": "^7.2.0",
  40. "grunt": "^1.0.4",
  41. "grunt-cli": "^1.3.2",
  42. "grunt-contrib-compress": "^2.0.0",
  43. "grunt-contrib-concat": "^2.0.0",
  44. "grunt-css-url-embed": "^1.11.1",
  45. "grunt-sass": "^3.0.2",
  46. "jasmine": "^4.1.0",
  47. "jasmine-browser-runner": "^1.0.0",
  48. "jsdom": "^19.0.0",
  49. "load-grunt-tasks": "^5.1.0",
  50. "prettier": "1.17.1",
  51. "sass": "^1.45.1",
  52. "shelljs": "^0.8.3",
  53. "temp": "^0.9.0"
  54. },
  55. "prettier": {
  56. "singleQuote": true
  57. },
  58. "eslintConfig": {
  59. "extends": [
  60. "plugin:compat/recommended"
  61. ],
  62. "env": {
  63. "browser": true,
  64. "node": true,
  65. "es2017": true
  66. },
  67. "parserOptions": {
  68. "ecmaVersion": 2018
  69. },
  70. "rules": {
  71. "quotes": [
  72. "error",
  73. "single",
  74. {
  75. "avoidEscape": true
  76. }
  77. ],
  78. "no-unused-vars": [
  79. "error",
  80. {
  81. "args": "none"
  82. }
  83. ],
  84. "no-implicit-globals": "error",
  85. "block-spacing": "error",
  86. "func-call-spacing": [
  87. "error",
  88. "never"
  89. ],
  90. "key-spacing": "error",
  91. "no-tabs": "error",
  92. "no-trailing-spaces": "error",
  93. "no-whitespace-before-property": "error",
  94. "semi": [
  95. "error",
  96. "always"
  97. ],
  98. "space-before-blocks": "error",
  99. "no-eval": "error",
  100. "no-var": "error"
  101. }
  102. },
  103. "browserslist": [
  104. "Safari >= 14",
  105. "last 2 Chrome versions",
  106. "last 2 Firefox versions",
  107. "Firefox >= 91",
  108. "last 2 Edge versions"
  109. ]
  110. }