UNPKG

@minko-fe/postcss-pxtorem

Version:
84 lines 2.33 kB
{ "name": "@minko-fe/postcss-pxtorem", "version": "1.5.0", "description": "A postcss plugin that converts px to rem.", "type": "module", "keywords": [ "px2rem", "pxtorem", "postcss", "css", "rem", "pixel", "px", "postcss-plugin", "postcss-pxtorem" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/hemengke1997/postcss-pxtorem.git" }, "author": "hemengke1997 <https://github.com/hemengke1997>", "files": [ "README-zh.md", "dist" ], "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.js" } }, "peerDependencies": { "postcss": ">=8.0.0" }, "dependencies": { "@minko-fe/lodash-pro": "^0.3.0", "decode-uri-component": "^0.4.1", "split-on-first": "^3.0.0" }, "devDependencies": { "@ant-design/cssinjs": "^1.20.0", "@commitlint/cli": "^18.6.1", "@minko-fe/commitlint-config": "^2.0.7", "@minko-fe/eslint-config": "^2.2.2", "@minko-fe/tsconfig": "^2.0.8", "@types/decode-uri-component": "^0.2.2", "bumpp": "^9.4.1", "conventional-changelog-cli": "^4.1.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", "npm-run-all": "^4.1.5", "postcss": "^8.4.38", "postcss-nested": "^6.0.1", "simple-git-hooks": "^2.11.1", "tsup": "^8.0.2", "typescript": "^5.4.5", "vite": "^5.2.10", "vitest": "^1.5.2", "vitest-e2e": "^0.0.10" }, "simple-git-hooks": { "commit-msg": "pnpm exec commitlint -e" }, "scripts": { "dev": "simple-git-hooks && tsup --watch", "build": "tsup", "build:pages": "pnpm run build && cd playground/spa && pnpm run build", "dev:test": "vitest", "test": "run-s test:unit test:serve test:build", "test:unit": "vitest run", "test:serve": "vitest run -c vitest.config.e2e.ts", "test:build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts", "lint": "eslint .", "fix": "eslint --fix .", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "up": "pnpm update --i --L", "bump": "bumpp package.json -c --no-push -t --all -x \"pnpm run changelog\"" } }