postcss-query-ast
Version:
Query PostCSS AST with CSS selectors.
100 lines (99 loc) • 3.04 kB
JSON
{
"name": "postcss-query-ast",
"version": "2.1.1",
"description": "Query PostCSS AST with CSS selectors.",
"license": "MIT",
"author": "Ivan Nikolić <niksy5@gmail.com> (http://ivannikolic.com)",
"sideEffects": false,
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"cjs/",
"esm/",
"CHANGELOG.md",
"LICENSE.md",
"README.md"
],
"scripts": {
"build": "rollup --config rollup.config.js",
"lint": "eslint '{index,lib/**/*,test/**/*}.js'",
"lint:types": "tsc",
"module-check": "node -e 'require(\"postcss-query-ast\");' && node --input-type=module -e 'import \"postcss-query-ast\";'",
"prepublishOnly": "npm run build",
"postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
"prerelease": "npm run lint && npm run lint:types && npm run build && npm run module-check",
"release": "np --no-release-draft",
"test": "BABEL_ENV=test nyc mocha --require @babel/register --require esm 'test/*.js' && nyc check-coverage",
"test:watch": "nodemon --exec npm test",
"version": "if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi"
},
"dependencies": {
"postcss": "^8.1.1",
"postcss-selector-parser": "^6.0.4"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.12.1",
"@babel/register": "^7.0.0",
"@rollup/plugin-babel": "^5.2.1",
"@types/mocha": "^8.2.3",
"@types/node": "^16.3.0",
"babel-plugin-istanbul": "^6.0.0",
"changelog-verify": "^1.1.2",
"core-js": "^2.6.5",
"cpy": "^8.1.2",
"eslint": "^7.31.0",
"eslint-config-niksy": "^10.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsdoc": "^33.3.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unicorn": "^31.0.0",
"esm": "^3.0.51",
"execa": "^5.1.1",
"github-release-from-changelog": "^2.1.1",
"husky": "^4.3.0",
"lint-staged": "^10.4.2",
"mocha": "^8.2.0",
"nodemon": "^2.0.6",
"np": "^6.5.0",
"nyc": "^15.1.0",
"prettier": "^2.4.0",
"rollup": "^2.32.1",
"typescript": "^4.3.5",
"version-changelog": "^3.1.1"
},
"engines": {
"node": ">=12"
},
"keywords": [
"ast",
"css",
"postcss",
"query",
"queryselector"
],
"repository": {
"type": "git",
"url": "git+https://github.com/niksy/postcss-query-ast.git"
},
"bugs": {
"url": "https://github.com/niksy/postcss-query-ast/issues"
},
"homepage": "https://github.com/niksy/postcss-query-ast#readme"
}