mirror of
https://github.com/hanzoai/postcss.git
synced 2026-09-24 17:01:56 +00:00
340 lines
7.4 KiB
JSON
340 lines
7.4 KiB
JSON
{
|
||
"name": "postcss",
|
||
"version": "8.3.11",
|
||
"description": "Tool for transforming styles with JS plugins",
|
||
"engines": {
|
||
"node": "^10 || ^12 || >=14"
|
||
},
|
||
"exports": {
|
||
".": {
|
||
"require": "./lib/postcss.js",
|
||
"import": "./lib/postcss.mjs",
|
||
"types": "./lib/postcss.d.ts"
|
||
},
|
||
"./lib/at-rule": "./lib/at-rule.js",
|
||
"./lib/comment": "./lib/comment.js",
|
||
"./lib/container": "./lib/container.js",
|
||
"./lib/css-syntax-error": "./lib/css-syntax-error.js",
|
||
"./lib/declaration": "./lib/declaration.js",
|
||
"./lib/fromJSON": "./lib/fromJSON.js",
|
||
"./lib/input": "./lib/input.js",
|
||
"./lib/lazy-result": "./lib/lazy-result.js",
|
||
"./lib/list": "./lib/list.js",
|
||
"./lib/map-generator": "./lib/map-generator.js",
|
||
"./lib/node": "./lib/node.js",
|
||
"./lib/parse": "./lib/parse.js",
|
||
"./lib/parser": "./lib/parser.js",
|
||
"./lib/postcss": "./lib/postcss.js",
|
||
"./lib/previous-map": "./lib/previous-map.js",
|
||
"./lib/processor": "./lib/processor.js",
|
||
"./lib/result": "./lib/result.js",
|
||
"./lib/root": "./lib/root.js",
|
||
"./lib/rule": "./lib/rule.js",
|
||
"./lib/stringifier": "./lib/stringifier.js",
|
||
"./lib/stringify": "./lib/stringify.js",
|
||
"./lib/symbols": "./lib/symbols.js",
|
||
"./lib/terminal-highlight": "./lib/terminal-highlight.js",
|
||
"./lib/tokenize": "./lib/tokenize.js",
|
||
"./lib/warn-once": "./lib/warn-once.js",
|
||
"./lib/warning": "./lib/warning.js",
|
||
"./package.json": "./package.json"
|
||
},
|
||
"main": "./lib/postcss.js",
|
||
"types": "./lib/postcss.d.ts",
|
||
"keywords": [
|
||
"css",
|
||
"postcss",
|
||
"rework",
|
||
"preprocessor",
|
||
"parser",
|
||
"source map",
|
||
"transform",
|
||
"manipulation",
|
||
"transpiler"
|
||
],
|
||
"scripts": {
|
||
"test": "jest --coverage && eslint . && ./test/version.js && check-dts && ./test/integration.js && yaspeller *.md docs/{**/,}*.md && size-limit"
|
||
},
|
||
"funding": {
|
||
"type": "opencollective",
|
||
"url": "https://opencollective.com/postcss/"
|
||
},
|
||
"author": "Andrey Sitnik <[email protected]>",
|
||
"license": "MIT",
|
||
"homepage": "https://postcss.org/",
|
||
"repository": "postcss/postcss",
|
||
"bugs": {
|
||
"url": "https://github.com/postcss/postcss/issues"
|
||
},
|
||
"dependencies": {
|
||
"nanoid": "^3.1.30",
|
||
"picocolors": "^1.0.0",
|
||
"source-map-js": "^0.6.2"
|
||
},
|
||
"devDependencies": {
|
||
"@logux/eslint-config": "^46.0.0",
|
||
"@size-limit/preset-small-lib": "^6.0.3",
|
||
"@types/fs-extra": "^9.0.13",
|
||
"@types/jest": "^27.0.2",
|
||
"@types/node": "^16.11.2",
|
||
"@typescript-eslint/eslint-plugin": "^5.1.0",
|
||
"@typescript-eslint/parser": "^5.1.0",
|
||
"check-dts": "^0.6.1",
|
||
"ci-job-number": "^1.2.2",
|
||
"clean-publish": "^3.4.2",
|
||
"concat-with-sourcemaps": "^1.1.0",
|
||
"eslint": "^8.0.1",
|
||
"eslint-config-standard": "^16.0.3",
|
||
"eslint-plugin-import": "^2.25.2",
|
||
"eslint-plugin-jest": "^25.2.2",
|
||
"eslint-plugin-node": "^11.1.0",
|
||
"eslint-plugin-prefer-let": "^1.1.0",
|
||
"eslint-plugin-promise": "^5.1.1",
|
||
"eslint-plugin-security": "^1.4.0",
|
||
"eslint-plugin-unicorn": "^37.0.1",
|
||
"fs-extra": "^10.0.0",
|
||
"jest": "^27.3.1",
|
||
"lint-staged": "^11.2.3",
|
||
"nanodelay": "^1.0.8",
|
||
"postcss-parser-tests": "^8.3.7",
|
||
"prettier": "^2.4.1",
|
||
"simple-git-hooks": "^2.6.1",
|
||
"size-limit": "^6.0.3",
|
||
"strip-ansi": "^6.0.0",
|
||
"ts-jest": "^27.0.7",
|
||
"typescript": "^4.4.4",
|
||
"yaspeller": "^7.2.0"
|
||
},
|
||
"lint-staged": {
|
||
"*.md": "yaspeller",
|
||
"*.js": [
|
||
"prettier --write",
|
||
"eslint --fix"
|
||
],
|
||
"*.ts": [
|
||
"prettier --write",
|
||
"eslint --fix"
|
||
],
|
||
"package.json": "./test/version.js"
|
||
},
|
||
"simple-git-hooks": {
|
||
"pre-commit": "npx lint-staged"
|
||
},
|
||
"prettier": {
|
||
"arrowParens": "avoid",
|
||
"jsxSingleQuote": false,
|
||
"quoteProps": "consistent",
|
||
"semi": false,
|
||
"singleQuote": true,
|
||
"trailingComma": "none"
|
||
},
|
||
"browser": {
|
||
"./lib/terminal-highlight": false,
|
||
"source-map-js": false,
|
||
"path": false,
|
||
"url": false,
|
||
"fs": false
|
||
},
|
||
"size-limit": [
|
||
{
|
||
"path": "lib/postcss.js",
|
||
"limit": "22 KB"
|
||
}
|
||
],
|
||
"jest": {
|
||
"preset": "ts-jest",
|
||
"testEnvironment": "node",
|
||
"globals": {
|
||
"ts-jest": {
|
||
"isolatedModules": true
|
||
}
|
||
},
|
||
"coverageThreshold": {
|
||
"global": {
|
||
"statements": 100
|
||
}
|
||
}
|
||
},
|
||
"eslintConfig": {
|
||
"extends": "@logux/eslint-config/ts",
|
||
"rules": {
|
||
"@typescript-eslint/no-explicit-any": "off",
|
||
"consistent-return": "off",
|
||
"global-require": "off",
|
||
"no-console": "off"
|
||
},
|
||
"overrides": [
|
||
{
|
||
"files": [
|
||
"*.test.js"
|
||
],
|
||
"rules": {
|
||
"no-unused-expressions": "off",
|
||
"func-style": "off"
|
||
}
|
||
},
|
||
{
|
||
"files": [
|
||
"*.test.ts"
|
||
],
|
||
"rules": {
|
||
"@typescript-eslint/no-unused-expressions": "off",
|
||
"func-style": "off"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"eslintIgnore": [
|
||
"docs/api/assets/",
|
||
"errors.ts"
|
||
],
|
||
"clean-publish": {
|
||
"cleanDocs": true
|
||
},
|
||
"yaspeller": {
|
||
"lang": "en",
|
||
"ignoreCapitalization": true,
|
||
"excludeFiles": [
|
||
"docs/README-cn.md"
|
||
],
|
||
"ignoreText": [
|
||
" \\(by [^)]+\\).",
|
||
"“[^”]+”"
|
||
],
|
||
"dictionary": [
|
||
"6to5",
|
||
"A CI",
|
||
"Andalusian",
|
||
"ASE",
|
||
"autodetect",
|
||
"Autodetect",
|
||
"Autoprefixer",
|
||
"base64",
|
||
"Base64",
|
||
"BEM",
|
||
"Browserhacks",
|
||
"Browserify or",
|
||
"Browserslist",
|
||
"CamelCase",
|
||
"changelog",
|
||
"Changelog",
|
||
"ClojureWerkz’s",
|
||
"CodePen",
|
||
"CoffeeScript",
|
||
"configs",
|
||
"CSS3",
|
||
"CSS4",
|
||
"cssnano",
|
||
"CSSWG",
|
||
"ENB",
|
||
"ES5",
|
||
"ES6",
|
||
"evilmartians",
|
||
"extendability",
|
||
"findable",
|
||
"Flexbox",
|
||
"flexbox",
|
||
"GitHub",
|
||
"GitLab",
|
||
"Gitter",
|
||
"IE8",
|
||
"IE9",
|
||
"inlined",
|
||
"inlines",
|
||
"Instagram",
|
||
"iOS",
|
||
"is SCSS",
|
||
"isolatable",
|
||
"Jeet",
|
||
"JetBrains",
|
||
"JS",
|
||
"js",
|
||
"JSDoc",
|
||
"JSS",
|
||
"keyframes",
|
||
"Less’s",
|
||
"Libby",
|
||
"linter",
|
||
"Linters",
|
||
"Lolspeak",
|
||
"LTR",
|
||
"LTS",
|
||
"maintainers",
|
||
"Markdown",
|
||
"MD5",
|
||
"minifier",
|
||
"mixin",
|
||
"mixins",
|
||
"Modernizr",
|
||
"multitool",
|
||
"npm",
|
||
"Packt",
|
||
"pantone",
|
||
"params",
|
||
"partials",
|
||
"polyfill",
|
||
"polyfills",
|
||
"Polyfills",
|
||
"PostCSS",
|
||
"postcss",
|
||
"PostCSS’s",
|
||
"rebases",
|
||
"regexp",
|
||
"replaces EOL",
|
||
"resolver",
|
||
"Rollup",
|
||
"RTL",
|
||
"RTLCSS",
|
||
"sanitization",
|
||
"Sass",
|
||
"SCSS",
|
||
"SemVer",
|
||
"Sharec",
|
||
"stringifier",
|
||
"Stringifier",
|
||
"stringifing",
|
||
"Stylelint",
|
||
"stylesheet",
|
||
"stylesheets",
|
||
"SugarSS",
|
||
"SVG",
|
||
"SVGO",
|
||
"SVGs",
|
||
"Taskr",
|
||
"Tidelift",
|
||
"tokenization",
|
||
"Tokenization",
|
||
"tokenize",
|
||
"tokenizer",
|
||
"Tokenizer",
|
||
"Traceur",
|
||
"transpile",
|
||
"Transpiler",
|
||
"transpiler",
|
||
"transpiles",
|
||
"transpiling",
|
||
"Travis",
|
||
"UI",
|
||
"unmaintained",
|
||
"Unprefixes",
|
||
"unprefixes",
|
||
"Versioning",
|
||
"VK",
|
||
"VS",
|
||
"Vue",
|
||
"W3C",
|
||
"WebP",
|
||
"webpack",
|
||
"Webpack",
|
||
"WebStorm",
|
||
"YIQ",
|
||
"TypeDoc",
|
||
"ES",
|
||
"Deno",
|
||
"AVIF",
|
||
"ReDoS",
|
||
"Backport"
|
||
]
|
||
}
|
||
}
|