package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "style-to-js",
  3. "version": "1.1.21",
  4. "description": "Parses CSS inline style to JavaScript object (camelCased).",
  5. "author": "Mark <mark@remarkablemark.org>",
  6. "main": "cjs/index.js",
  7. "scripts": {
  8. "build": "npm run build:cjs && npm run build:umd",
  9. "build:cjs": "tsc --declaration --outDir cjs",
  10. "build:umd": "rollup --config --failAfterWarnings",
  11. "clean": "rm -rf cjs umd",
  12. "lint": "eslint .",
  13. "lint:tsc": "tsc --noEmit",
  14. "lint:fix": "npm run lint -- --fix",
  15. "prepare": "husky",
  16. "prepublishOnly": "npm run lint && npm run lint:tsc && npm run test:ci && npm run clean && npm run build",
  17. "test": "jest",
  18. "test:ci": "CI=true jest --ci --colors --coverage",
  19. "test:watch": "jest --watch"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "git+https://github.com/remarkablemark/style-to-js.git"
  24. },
  25. "bugs": {
  26. "url": "https://github.com/remarkablemark/style-to-js/issues"
  27. },
  28. "keywords": [
  29. "style-to-js",
  30. "css",
  31. "style",
  32. "javascript",
  33. "object",
  34. "pojo"
  35. ],
  36. "dependencies": {
  37. "style-to-object": "1.0.14"
  38. },
  39. "devDependencies": {
  40. "@commitlint/cli": "20.1.0",
  41. "@commitlint/config-conventional": "20.0.0",
  42. "@eslint/compat": "2.0.0",
  43. "@eslint/eslintrc": "3.3.1",
  44. "@eslint/js": "9.39.1",
  45. "@rollup/plugin-commonjs": "29.0.0",
  46. "@rollup/plugin-node-resolve": "16.0.3",
  47. "@rollup/plugin-terser": "0.4.4",
  48. "@types/jest": "30.0.0",
  49. "@typescript-eslint/eslint-plugin": "8.46.4",
  50. "@typescript-eslint/parser": "8.46.4",
  51. "eslint": "9.39.1",
  52. "eslint-plugin-prettier": "5.5.4",
  53. "eslint-plugin-simple-import-sort": "12.1.1",
  54. "globals": "16.5.0",
  55. "husky": "9.1.7",
  56. "jest": "30.2.0",
  57. "lint-staged": "16.2.6",
  58. "prettier": "3.6.2",
  59. "rollup": "4.53.2",
  60. "ts-jest": "29.4.5",
  61. "ts-node": "10.9.2",
  62. "typescript": "5.9.3"
  63. },
  64. "files": [
  65. "cjs/",
  66. "src/",
  67. "umd/"
  68. ],
  69. "license": "MIT"
  70. }