110 lines
2.6 KiB
JSON
110 lines
2.6 KiB
JSON
{
|
|
"name": "css-has-pseudo",
|
|
"description": "Style elements relative to other elements in CSS",
|
|
"version": "6.0.0",
|
|
"contributors": [
|
|
{
|
|
"name": "Antonio Laguna",
|
|
"email": "antonio@laguna.es",
|
|
"url": "https://antonio.laguna.es"
|
|
},
|
|
{
|
|
"name": "Romain Menke",
|
|
"email": "romainmenke@gmail.com"
|
|
},
|
|
{
|
|
"name": "Jonathan Neal",
|
|
"email": "jonathantneal@hotmail.com"
|
|
}
|
|
],
|
|
"license": "MIT-0",
|
|
"funding": [
|
|
{
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/csstools"
|
|
},
|
|
{
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/csstools"
|
|
}
|
|
],
|
|
"engines": {
|
|
"node": "^14 || ^16 || >=18"
|
|
},
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./browser": {
|
|
"import": "./dist/browser.mjs",
|
|
"require": "./dist/browser.cjs",
|
|
"default": "./dist/browser.mjs"
|
|
},
|
|
"./browser-global": {
|
|
"default": "./dist/browser-global.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"CHANGELOG.md",
|
|
"LICENSE.md",
|
|
"README.md",
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@csstools/selector-specificity": "^3.0.0",
|
|
"postcss-selector-parser": "^6.0.13",
|
|
"postcss-value-parser": "^4.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"postcss": "^8.4"
|
|
},
|
|
"devDependencies": {
|
|
"@csstools/postcss-tape": "*",
|
|
"@mrhenry/core-web": "^1.1.1",
|
|
"puppeteer": "^20.7.4"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup -c ../../rollup/default.mjs",
|
|
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",
|
|
"lint": "node ../../.github/bin/format-package-json.mjs",
|
|
"prepublishOnly": "npm run build && npm run test",
|
|
"test": "node .tape.mjs && node ./src/encode/test.mjs && node ./test/_import.mjs && node ./test/_require.cjs",
|
|
"test:browser": "node ./test/_browser.mjs",
|
|
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
|
|
},
|
|
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/css-has-pseudo#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/csstools/postcss-plugins.git",
|
|
"directory": "plugins/css-has-pseudo"
|
|
},
|
|
"bugs": "https://github.com/csstools/postcss-plugins/issues",
|
|
"keywords": [
|
|
"contains",
|
|
"css",
|
|
"descendant",
|
|
"has",
|
|
"javascript",
|
|
"js",
|
|
"polyfill",
|
|
"postcss",
|
|
"postcss-plugin",
|
|
"pseudo",
|
|
"selector"
|
|
],
|
|
"csstools": {
|
|
"cssdbId": "has-pseudo-class",
|
|
"exportName": "postcssHasPseudo",
|
|
"humanReadableName": "PostCSS Has Pseudo",
|
|
"specUrl": "https://www.w3.org/TR/selectors-4/#has-pseudo"
|
|
},
|
|
"volta": {
|
|
"extends": "../../package.json"
|
|
}
|
|
}
|