package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "author": "Felix Böhm <me@feedic.com> (http://feedic.com)",
  3. "name": "css-what",
  4. "description": "a CSS selector parser",
  5. "version": "5.0.1",
  6. "funding": {
  7. "url": "https://github.com/sponsors/fb55"
  8. },
  9. "repository": {
  10. "url": "https://github.com/fb55/css-what"
  11. },
  12. "main": "lib/index.js",
  13. "types": "lib/index.d.ts",
  14. "files": [
  15. "lib/**/*"
  16. ],
  17. "scripts": {
  18. "test": "jest --coverage -u && npm run lint",
  19. "coverage": "cat coverage/lcov.info | coveralls",
  20. "lint": "npm run lint:es && npm run lint:prettier",
  21. "lint:es": "eslint src",
  22. "lint:prettier": "npm run prettier -- --check",
  23. "format": "npm run format:es && npm run format:prettier",
  24. "format:es": "npm run lint:es -- --fix",
  25. "format:prettier": "npm run prettier -- --write",
  26. "prettier": "prettier '**/*.{ts,md,json,yml}'",
  27. "build": "tsc",
  28. "prepare": "npm run build"
  29. },
  30. "devDependencies": {
  31. "@types/jest": "^26.0.3",
  32. "@types/node": "^15.0.1",
  33. "@typescript-eslint/eslint-plugin": "^4.1.0",
  34. "@typescript-eslint/parser": "^4.1.0",
  35. "coveralls": "^3.0.5",
  36. "eslint": "^7.0.0",
  37. "eslint-config-prettier": "^8.1.0",
  38. "eslint-plugin-node": "^11.1.0",
  39. "jest": "^27.0.1",
  40. "prettier": "^2.0.5",
  41. "ts-jest": "^27.0.1",
  42. "typescript": "^4.0.2"
  43. },
  44. "optionalDependencies": {},
  45. "engines": {
  46. "node": ">= 6"
  47. },
  48. "license": "BSD-2-Clause",
  49. "jest": {
  50. "preset": "ts-jest"
  51. },
  52. "prettier": {
  53. "tabWidth": 4
  54. }
  55. }