package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "_args": [
  3. [
  4. "csso@3.5.1",
  5. "/Users/apple/tmp/ok/vue_cli_default"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "csso@3.5.1",
  10. "_id": "csso@3.5.1",
  11. "_inBundle": false,
  12. "_integrity": "sha1-e564vmFiiXPBsmHhadLwJACOdYs=",
  13. "_location": "/csso",
  14. "_phantomChildren": {
  15. "mdn-data": "1.1.4",
  16. "source-map": "0.5.7"
  17. },
  18. "_requested": {
  19. "type": "version",
  20. "registry": true,
  21. "raw": "csso@3.5.1",
  22. "name": "csso",
  23. "escapedName": "csso",
  24. "rawSpec": "3.5.1",
  25. "saveSpec": null,
  26. "fetchSpec": "3.5.1"
  27. },
  28. "_requiredBy": [
  29. "/svgo"
  30. ],
  31. "_resolved": "http://registry.npm.taobao.org/csso/download/csso-3.5.1.tgz",
  32. "_spec": "3.5.1",
  33. "_where": "/Users/apple/tmp/ok/vue_cli_default",
  34. "author": {
  35. "name": "Sergey Kryzhanovsky",
  36. "email": "skryzhanovsky@ya.ru",
  37. "url": "https://github.com/afelix"
  38. },
  39. "bugs": {
  40. "url": "https://github.com/css/csso/issues"
  41. },
  42. "dependencies": {
  43. "css-tree": "1.0.0-alpha.29"
  44. },
  45. "description": "CSS minifier with structural optimisations",
  46. "devDependencies": {
  47. "browserify": "^13.0.0",
  48. "coveralls": "^2.11.6",
  49. "eslint": "^2.2.0",
  50. "istanbul": "^0.4.2",
  51. "jscs": "~3.0.7",
  52. "mocha": "^3.5.3",
  53. "package-json-versionify": "^1.0.4",
  54. "source-map": "^0.5.6",
  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. "dist/csso-browser.js",
  80. "lib",
  81. "HISTORY.md",
  82. "LICENSE",
  83. "README.md"
  84. ],
  85. "homepage": "https://github.com/css/csso",
  86. "keywords": [
  87. "css",
  88. "compress",
  89. "minifier",
  90. "minify",
  91. "optimise",
  92. "optimisation",
  93. "csstree"
  94. ],
  95. "license": "MIT",
  96. "main": "./lib/index",
  97. "maintainers": [
  98. {
  99. "name": "Roman Dvornov",
  100. "email": "rdvornov@gmail.com"
  101. }
  102. ],
  103. "name": "csso",
  104. "repository": {
  105. "type": "git",
  106. "url": "git+https://github.com/css/csso.git"
  107. },
  108. "scripts": {
  109. "browserify": "browserify -t package-json-versionify --standalone csso lib/index.js | uglifyjs --compress --mangle -o dist/csso-browser.js",
  110. "codestyle": "jscs lib test && eslint lib test",
  111. "codestyle-and-test": "npm run codestyle && npm test",
  112. "coverage": "istanbul cover _mocha -- -R dot",
  113. "coveralls": "istanbul cover _mocha --report lcovonly -- -R dot && cat ./coverage/lcov.info | coveralls",
  114. "gh-pages": "git clone --depth=1 -b gh-pages https://github.com/css/csso.git .gh-pages && npm run browserify && cp dist/csso-browser.js .gh-pages/ && cd .gh-pages && git commit -am \"update\" && git push && cd .. && rm -rf .gh-pages",
  115. "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/csso --stat -o /dev/null",
  116. "postpublish": "npm run gh-pages",
  117. "prepublish": "npm run browserify",
  118. "test": "mocha --reporter dot",
  119. "travis": "npm run codestyle-and-test && npm run coveralls"
  120. },
  121. "version": "3.5.1"
  122. }