package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "parse-css-font",
  3. "version": "4.0.0",
  4. "description": "Parse the CSS font property value.",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "scripts": {
  8. "clean": "rimraf coverage dist *.log* bem-join-*",
  9. "codecov": "codecov -f coverage/lcov.info",
  10. "lint": "tslint -p tsconfig.test.json",
  11. "prebuild": "rimraf dist",
  12. "build": "tsc",
  13. "precover": "rimraf coverage",
  14. "cover": "jest --coverage",
  15. "pretest": "npm run lint",
  16. "test": "jest --watch",
  17. "prepublishOnly": "npm run lint && npm run cover && npm run build"
  18. },
  19. "husky": {
  20. "hooks": {
  21. "pre-commit": "pretty-quick --staged",
  22. "pre-push": "npm run lint"
  23. }
  24. },
  25. "prettier": {
  26. "arrowParens": "avoid",
  27. "semi": false,
  28. "singleQuote": true,
  29. "trailingComma": "all"
  30. },
  31. "jest": {
  32. "preset": "ts-jest",
  33. "testEnvironment": "node",
  34. "verbose": true,
  35. "coverageDirectory": "coverage",
  36. "coverageReporters": [
  37. "lcov",
  38. "text"
  39. ],
  40. "coverageThreshold": {
  41. "global": {
  42. "branches": 100,
  43. "functions": 100,
  44. "lines": 100,
  45. "statements": 100
  46. }
  47. }
  48. },
  49. "repository": {
  50. "type": "git",
  51. "url": "git+https://github.com/jedmao/parse-css-font.git"
  52. },
  53. "keywords": [
  54. "css",
  55. "parse",
  56. "font",
  57. "shorthand"
  58. ],
  59. "author": "Jed Mao <jedmao@outlook.com>",
  60. "license": "MIT",
  61. "bugs": {
  62. "url": "https://github.com/jedmao/parse-css-font/issues"
  63. },
  64. "homepage": "https://github.com/jedmao/parse-css-font#readme",
  65. "dependencies": {
  66. "css-font-size-keywords": "^1.0.0",
  67. "css-font-stretch-keywords": "^1.0.1",
  68. "css-font-style-keywords": "^1.0.1",
  69. "css-font-weight-keywords": "^1.0.0",
  70. "css-list-helpers": "^2.0.0",
  71. "css-system-font-keywords": "^1.0.0",
  72. "unquote": "^1.1.1"
  73. },
  74. "devDependencies": {
  75. "@jedmao/tsconfig": "^0.3.0",
  76. "@jedmao/tslint": "^0.4.2",
  77. "@types/jest": "^23.3.13",
  78. "@types/node": "^10.12.18",
  79. "husky": "^1.3.1",
  80. "jest": "^23.6.0",
  81. "prettier": "^1.16.1",
  82. "pretty-quick": "^1.10.0",
  83. "rimraf": "^2.6.3",
  84. "ts-jest": "^23.10.5",
  85. "tslint": "^5.12.1",
  86. "tslint-config-prettier": "^1.17.0",
  87. "typescript": "^3.2.4"
  88. }
  89. }