package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "csso",
  3. "version": "4.2.0",
  4. "description": "CSS minifier with structural optimisations",
  5. "homepage": "https://github.com/css/csso",
  6. "author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)",
  7. "maintainers": [
  8. {
  9. "name": "Roman Dvornov",
  10. "email": "rdvornov@gmail.com",
  11. "github-username": "lahmatiy"
  12. }
  13. ],
  14. "license": "MIT",
  15. "repository": "css/csso",
  16. "bugs": {
  17. "url": "https://github.com/css/csso/issues"
  18. },
  19. "keywords": [
  20. "css",
  21. "compress",
  22. "minifier",
  23. "minify",
  24. "optimise",
  25. "optimisation",
  26. "csstree"
  27. ],
  28. "main": "./lib/index",
  29. "scripts": {
  30. "test": "mocha --reporter dot",
  31. "lint": "eslint lib test",
  32. "lint-and-test": "npm run lint && npm test",
  33. "build": "rollup --config && terser dist/csso.js --compress --mangle -o dist/csso.min.js",
  34. "coverage": "nyc npm test",
  35. "coveralls": "nyc report --reporter=text-lcov | coveralls",
  36. "travis": "nyc npm run lint-and-test && npm run coveralls",
  37. "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",
  38. "prepublishOnly": "npm run build"
  39. },
  40. "dependencies": {
  41. "css-tree": "^1.1.2"
  42. },
  43. "browser": {
  44. "css-tree": "css-tree/dist/csstree.min.js"
  45. },
  46. "devDependencies": {
  47. "@rollup/plugin-commonjs": "^11.0.1",
  48. "@rollup/plugin-json": "^4.0.1",
  49. "@rollup/plugin-node-resolve": "^7.0.0",
  50. "coveralls": "^3.0.11",
  51. "eslint": "^6.8.0",
  52. "mocha": "^7.1.1",
  53. "nyc": "^15.0.0",
  54. "rollup": "^1.29.0",
  55. "source-map": "^0.6.1",
  56. "terser": "^4.6.3"
  57. },
  58. "engines": {
  59. "node": ">=8.0.0"
  60. },
  61. "files": [
  62. "dist",
  63. "lib"
  64. ]
  65. }