package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "css-tree",
  3. "version": "1.1.3",
  4. "description": "A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations",
  5. "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
  6. "license": "MIT",
  7. "repository": "csstree/csstree",
  8. "keywords": [
  9. "css",
  10. "ast",
  11. "tokenizer",
  12. "parser",
  13. "walker",
  14. "lexer",
  15. "generator",
  16. "utils",
  17. "syntax",
  18. "validation"
  19. ],
  20. "main": "lib/index.js",
  21. "unpkg": "dist/csstree.min.js",
  22. "jsdelivr": "dist/csstree.min.js",
  23. "scripts": {
  24. "build": "rollup --config",
  25. "lint": "eslint data lib scripts test && node scripts/review-syntax-patch --lint && node scripts/update-docs --lint",
  26. "lint-and-test": "npm run lint && npm test",
  27. "update:docs": "node scripts/update-docs",
  28. "review:syntax-patch": "node scripts/review-syntax-patch",
  29. "test": "mocha --reporter progress",
  30. "coverage": "nyc npm test",
  31. "travis": "nyc npm run lint-and-test && npm run coveralls",
  32. "coveralls": "nyc report --reporter=text-lcov | coveralls",
  33. "prepublishOnly": "npm run build",
  34. "hydrogen": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null"
  35. },
  36. "dependencies": {
  37. "mdn-data": "2.0.14",
  38. "source-map": "^0.6.1"
  39. },
  40. "devDependencies": {
  41. "@rollup/plugin-commonjs": "^11.0.2",
  42. "@rollup/plugin-json": "^4.0.2",
  43. "@rollup/plugin-node-resolve": "^7.1.1",
  44. "coveralls": "^3.0.9",
  45. "eslint": "^6.8.0",
  46. "json-to-ast": "^2.1.0",
  47. "mocha": "^6.2.3",
  48. "nyc": "^14.1.1",
  49. "rollup": "^1.32.1",
  50. "rollup-plugin-terser": "^5.3.0"
  51. },
  52. "engines": {
  53. "node": ">=8.0.0"
  54. },
  55. "files": [
  56. "data",
  57. "dist",
  58. "lib"
  59. ]
  60. }