package.json 3.5 KB

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