postcss-px-convert
Version:
A PostCSS plugin and Node tool for converting px to rem or vw, suitable for CSS, JS, Vue, React and other scenarios.
90 lines (89 loc) • 1.78 kB
JSON
{
"name": "postcss-px-convert",
"version": "1.3.6",
"description": "A PostCSS plugin and Node tool for converting px to rem or vw, suitable for CSS, JS, Vue, React and other scenarios.",
"keywords": [
"postcss",
"px",
"rem",
"vw",
"css",
"responsive",
"vue",
"react",
"convert",
"mobile",
"flexible"
],
"homepage": "https://github.com/chao921125/postcss-px-convert",
"repository": {
"type": "git",
"url": "https://github.com/chao921125/postcss-px-convert.git"
},
"bugs": {
"url": "https://github.com/chao921125/postcss-px-convert/issues"
},
"author": {
"name": "chao921125",
"email": "chao921125@sina.com",
"url": "https://github.com/chao921125"
},
"license": "BSD-3-Clause",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"scripts": {
"build": "tsc",
"copy-files": "cp -r docs dist/ && cp README.md dist/",
"test": "jest",
"test:watch": "jest --watchAll",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/test/**/*.test.ts"
]
},
"devDependencies": {
"@types/jest": "^30.0.0",
"jest": "^30.0.4",
"postcss": "^8.5.6",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
"overrides": {},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.14.18",
"yarn": ">=3.0.0"
},
"browserslist": [
"defaults",
"> 1%",
"not dead",
"not op_mini all",
"last 2 versions",
"Chrome > 51",
"Edge > 15",
"Firefox > 54",
"Safari > 10",
"not IE <= 11",
"Android >= 6.0",
"iOS > 10",
"supports es6-module"
],
"publishConfig": {
"access": "public"
}
}