site/node_modules/style-to-object/package.json

78 lines
2.1 KiB
JSON
Raw Normal View History

2024-10-14 06:09:33 +00:00
{
"name": "style-to-object",
"version": "1.0.5",
"description": "Converts inline style to object.",
"author": "Mark <mark@remarkablemark.org>",
"main": "./cjs/index.js",
"module": "./esm/index.mjs",
"exports": {
"import": "./esm/index.mjs",
"require": "./cjs/index.js"
},
"scripts": {
"build": "run-s build:*",
"build:cjs": "tsc",
"build:esm": "awk '!/sourceMappingURL/' cjs/index.d.ts > esm/index.d.mts",
"build:umd": "rollup --config --failAfterWarnings",
"clean": "rm -rf cjs coverage dist",
"lint": "eslint --ignore-path .gitignore .",
"lint:fix": "npm run lint -- --fix",
"lint:tsc": "tsc --noEmit",
"_postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable && run-s lint lint:tsc test clean build",
"test": "jest",
"test:ci": "CI=true jest --ci --colors --coverage",
"test:esm": "npm run build:cjs && node --test __tests__",
"test:watch": "npm run test -- --watch"
},
"repository": {
"type": "git",
"url": "https://github.com/remarkablemark/style-to-object"
},
"bugs": {
"url": "https://github.com/remarkablemark/style-to-object/issues"
},
"keywords": [
"style-to-object",
"inline",
"style",
"parser",
"css",
"object",
"pojo"
],
"dependencies": {
"inline-style-parser": "0.2.2"
},
"devDependencies": {
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.5",
"@types/jest": "29.5.10",
"@typescript-eslint/eslint-plugin": "6.13.1",
"@typescript-eslint/parser": "6.13.1",
"eslint": "8.54.0",
"eslint-plugin-prettier": "5.0.1",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "15.1.0",
"npm-run-all": "4.1.5",
"pinst": "3.0.0",
"prettier": "3.1.0",
"rollup": "4.6.1",
"ts-jest": "29.1.1",
"typescript": "5.3.2"
},
"files": [
"/cjs",
"/dist",
"/esm",
"/src"
],
"license": "MIT"
}