package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "_from": "css-tree@1.0.0-alpha.28",
  3. "_id": "css-tree@1.0.0-alpha.28",
  4. "_inBundle": false,
  5. "_integrity": "sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w==",
  6. "_location": "/css-tree",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "css-tree@1.0.0-alpha.28",
  12. "name": "css-tree",
  13. "escapedName": "css-tree",
  14. "rawSpec": "1.0.0-alpha.28",
  15. "saveSpec": null,
  16. "fetchSpec": "1.0.0-alpha.28"
  17. },
  18. "_requiredBy": [
  19. "/svgo"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.28.tgz",
  22. "_shasum": "8e8968190d886c9477bc8d61e96f61af3f7ffa7f",
  23. "_spec": "css-tree@1.0.0-alpha.28",
  24. "_where": "E:\\workspace\\cfd-front-admin\\node_modules\\svgo",
  25. "author": {
  26. "name": "Roman Dvornov",
  27. "email": "rdvornov@gmail.com",
  28. "url": "https://github.com/lahmatiy"
  29. },
  30. "browser": {
  31. "./data": "./dist/default-syntax.json"
  32. },
  33. "bugs": {
  34. "url": "https://github.com/csstree/csstree/issues"
  35. },
  36. "bundleDependencies": false,
  37. "dependencies": {
  38. "mdn-data": "~1.1.0",
  39. "source-map": "^0.5.3"
  40. },
  41. "deprecated": false,
  42. "description": "CSSTree is a tool set to work with CSS, including fast detailed parser (string->AST), walker (AST traversal), generator (AST->string) and lexer (validation and matching) based on knowledge of spec and browser implementations",
  43. "devDependencies": {
  44. "browserify": "^13.0.0",
  45. "coveralls": "^2.11.6",
  46. "eslint": "^2.13.1",
  47. "istanbul": "^0.4.2",
  48. "jscs": "~3.0.7",
  49. "json-to-ast": "~2.0.1",
  50. "mocha": "^3.0.2",
  51. "uglify-js": "^2.6.1"
  52. },
  53. "engines": {
  54. "node": ">=0.10.0"
  55. },
  56. "eslintConfig": {
  57. "env": {
  58. "node": true,
  59. "mocha": true,
  60. "es6": true
  61. },
  62. "rules": {
  63. "no-duplicate-case": 2,
  64. "no-undef": 2,
  65. "no-unused-vars": [
  66. 2,
  67. {
  68. "vars": "all",
  69. "args": "after-used"
  70. }
  71. ]
  72. }
  73. },
  74. "files": [
  75. "bin",
  76. "data",
  77. "dist/csstree.js",
  78. "dist/default-syntax.json",
  79. "docs",
  80. "lib",
  81. "HISTORY.md",
  82. "LICENSE",
  83. "README.md"
  84. ],
  85. "homepage": "https://github.com/csstree/csstree",
  86. "keywords": [
  87. "css",
  88. "ast",
  89. "tokenizer",
  90. "parser",
  91. "walker",
  92. "lexer",
  93. "generator",
  94. "utils",
  95. "syntax",
  96. "validation"
  97. ],
  98. "license": "MIT",
  99. "main": "./lib/index",
  100. "maintainers": [
  101. {
  102. "name": "Roman Dvornov",
  103. "email": "rdvornov@gmail.com"
  104. }
  105. ],
  106. "name": "css-tree",
  107. "repository": {
  108. "type": "git",
  109. "url": "git+https://github.com/csstree/csstree.git"
  110. },
  111. "scripts": {
  112. "build": "npm run gen:syntax && browserify --standalone csstree lib/index.js | uglifyjs --compress --mangle -o dist/csstree.js",
  113. "coverage": "istanbul cover _mocha -- -R min",
  114. "coveralls": "istanbul cover _mocha --report lcovonly -- -R min && cat ./coverage/lcov.info | coveralls",
  115. "gen:syntax": "node scripts/gen-syntax-data",
  116. "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",
  117. "lint": "jscs data lib scripts test && eslint data lib scripts test && node scripts/update-docs --lint",
  118. "lint-and-test": "npm run lint && npm test",
  119. "prepublish": "npm run build",
  120. "test": "mocha --reporter progress",
  121. "travis": "npm run lint-and-test && npm run coveralls",
  122. "update:docs": "node scripts/update-docs"
  123. },
  124. "version": "1.0.0-alpha.28"
  125. }