package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "csso",
  3. "version": "3.5.1",
  4. "description": "CSS minifier with structural optimisations",
  5. "keywords": [
  6. "css",
  7. "compress",
  8. "minifier",
  9. "minify",
  10. "optimise",
  11. "optimisation",
  12. "csstree"
  13. ],
  14. "homepage": "https://github.com/css/csso",
  15. "author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)",
  16. "maintainers": [
  17. {
  18. "name": "Roman Dvornov",
  19. "email": "rdvornov@gmail.com",
  20. "github-username": "lahmatiy"
  21. }
  22. ],
  23. "license": "MIT",
  24. "repository": "css/csso",
  25. "bugs": {
  26. "url": "https://github.com/css/csso/issues"
  27. },
  28. "main": "./lib/index",
  29. "eslintConfig": {
  30. "env": {
  31. "node": true,
  32. "mocha": true,
  33. "es6": true
  34. },
  35. "rules": {
  36. "no-duplicate-case": 2,
  37. "no-undef": 2,
  38. "no-unused-vars": [
  39. 2,
  40. {
  41. "vars": "all",
  42. "args": "after-used"
  43. }
  44. ]
  45. }
  46. },
  47. "scripts": {
  48. "test": "mocha --reporter dot",
  49. "codestyle": "jscs lib test && eslint lib test",
  50. "codestyle-and-test": "npm run codestyle && npm test",
  51. "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",
  52. "coverage": "istanbul cover _mocha -- -R dot",
  53. "coveralls": "istanbul cover _mocha --report lcovonly -- -R dot && cat ./coverage/lcov.info | coveralls",
  54. "travis": "npm run codestyle-and-test && npm run coveralls",
  55. "browserify": "browserify -t package-json-versionify --standalone csso lib/index.js | uglifyjs --compress --mangle -o dist/csso-browser.js",
  56. "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",
  57. "prepublish": "npm run browserify",
  58. "postpublish": "npm run gh-pages"
  59. },
  60. "dependencies": {
  61. "css-tree": "1.0.0-alpha.29"
  62. },
  63. "devDependencies": {
  64. "browserify": "^13.0.0",
  65. "coveralls": "^2.11.6",
  66. "eslint": "^2.2.0",
  67. "istanbul": "^0.4.2",
  68. "jscs": "~3.0.7",
  69. "mocha": "^3.5.3",
  70. "package-json-versionify": "^1.0.4",
  71. "source-map": "^0.5.6",
  72. "uglify-js": "^2.6.1"
  73. },
  74. "engines": {
  75. "node": ">=0.10.0"
  76. },
  77. "files": [
  78. "dist/csso-browser.js",
  79. "lib",
  80. "HISTORY.md",
  81. "LICENSE",
  82. "README.md"
  83. ]
  84. }