web 3d图形渲染器
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.

67 lines
2.0 KiB

  1. {
  2. "name": "@sinonjs/commons",
  3. "version": "1.8.3",
  4. "description": "Simple functions shared among the sinon end user libraries",
  5. "main": "lib/index.js",
  6. "types": "./types/index.d.ts",
  7. "scripts": {
  8. "build": "rm -rf types && tsc",
  9. "lint": "eslint .",
  10. "precommit": "lint-staged",
  11. "test": "mocha --recursive -R dot \"lib/**/*.test.js\"",
  12. "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100",
  13. "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test",
  14. "prepublishOnly": "npm run build",
  15. "prettier:check": "prettier --check '**/*.{js,css,md}'",
  16. "prettier:write": "prettier --write '**/*.{js,css,md}'",
  17. "preversion": "npm run test-check-coverage",
  18. "version": "changes --commits --footer",
  19. "postversion": "git push --follow-tags && npm publish"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "git+https://github.com/sinonjs/commons.git"
  24. },
  25. "files": [
  26. "lib",
  27. "types"
  28. ],
  29. "author": "",
  30. "license": "BSD-3-Clause",
  31. "bugs": {
  32. "url": "https://github.com/sinonjs/commons/issues"
  33. },
  34. "homepage": "https://github.com/sinonjs/commons#readme",
  35. "lint-staged": {
  36. "*.{js,css,md}": "prettier --check",
  37. "*.js": "eslint"
  38. },
  39. "devDependencies": {
  40. "@sinonjs/eslint-plugin-no-prototype-methods": "^0.1.0",
  41. "@sinonjs/referee-sinon": "7.0.2",
  42. "@studio/changes": "^2.0.0",
  43. "eslint": "^6.1.0",
  44. "eslint-config-prettier": "^6.3.0",
  45. "eslint-config-sinon": "^4.0.0",
  46. "eslint-plugin-ie11": "^1.0.0",
  47. "eslint-plugin-jsdoc": "^22.1.0",
  48. "eslint-plugin-mocha": "^6.1.1",
  49. "eslint-plugin-prettier": "^3.0.0",
  50. "husky": "4.2.3",
  51. "jsverify": "0.8.4",
  52. "knuth-shuffle": "^1.0.8",
  53. "lint-staged": "10.1.1",
  54. "mocha": "7.1.0",
  55. "nyc": "15.0.0",
  56. "prettier": "^1.14.3",
  57. "typescript": "^4.1.3"
  58. },
  59. "dependencies": {
  60. "type-detect": "4.0.8"
  61. },
  62. "husky": {
  63. "hooks": {
  64. "pre-commit": "lint-staged"
  65. }
  66. }
  67. }