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": "3.4.2",
  6. "funding": "https://github.com/sponsors/fb55",
  7. "repository": {
  8. "url": "https://github.com/fb55/css-what"
  9. },
  10. "main": "lib/index.js",
  11. "types": "lib/index.d.ts",
  12. "files": [
  13. "lib/**/*"
  14. ],
  15. "scripts": {
  16. "test": "jest --coverage -u && npm run lint",
  17. "coverage": "cat coverage/lcov.info | coveralls",
  18. "lint": "npm run lint:es && npm run lint:prettier",
  19. "lint:es": "eslint src",
  20. "lint:prettier": "npm run prettier -- --check",
  21. "format": "npm run format:es && npm run format:prettier",
  22. "format:es": "npm run lint:es -- --fix",
  23. "format:prettier": "npm run prettier -- --write",
  24. "prettier": "prettier '**/*.{ts,md,json,yml}'",
  25. "build": "tsc",
  26. "prepare": "npm run build"
  27. },
  28. "dependencies": {},
  29. "devDependencies": {
  30. "@types/jest": "^26.0.3",
  31. "@types/node": "^14.0.5",
  32. "@typescript-eslint/eslint-plugin": "^4.1.0",
  33. "@typescript-eslint/parser": "^4.1.0",
  34. "coveralls": "^3.0.5",
  35. "eslint": "^7.0.0",
  36. "eslint-config-prettier": "^6.0.0",
  37. "eslint-plugin-node": "^11.1.0",
  38. "jest": "^26.0.1",
  39. "prettier": "^2.0.5",
  40. "ts-jest": "^26.0.0",
  41. "typescript": "^4.0.2"
  42. },
  43. "optionalDependencies": {},
  44. "engines": {
  45. "node": ">= 6"
  46. },
  47. "license": "BSD-2-Clause",
  48. "jest": {
  49. "preset": "ts-jest",
  50. "testEnvironment": "node"
  51. },
  52. "prettier": {
  53. "tabWidth": 4
  54. }
  55. }