web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.1 KiB

  1. {
  2. "name": "css-has-pseudo",
  3. "version": "0.10.0",
  4. "description": "Style elements relative to other elements in CSS",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "repository": "csstools/css-has-pseudo",
  8. "homepage": "https://github.com/csstools/css-has-pseudo#readme",
  9. "bugs": "https://github.com/csstools/css-has-pseudo/issues",
  10. "main": "index.js",
  11. "module": "index.mjs",
  12. "bin": {
  13. "css-has-pseudo": "cli.js"
  14. },
  15. "files": [
  16. "browser.js",
  17. "cli.js",
  18. "index.js",
  19. "index.js.map",
  20. "index.mjs",
  21. "index.mjs.map",
  22. "postcss.js",
  23. "postcss.js.map",
  24. "postcss.mjs",
  25. "postcss.mjs.map"
  26. ],
  27. "scripts": {
  28. "build": "npm run build:browser && npm run build:cli && npm run build:node && npm run build:postcss",
  29. "build:browser": "cross-env NODE_ENV=browser rollup -c .rollup.js --silent",
  30. "build:cli": "cross-env NODE_ENV=cli rollup -c .rollup.js --silent",
  31. "build:postcss": "cross-env NODE_ENV=postcss rollup -c .rollup.js --silent",
  32. "build:node": "rollup -c .rollup.js --silent",
  33. "prepublishOnly": "npm run build && npm test",
  34. "pretest": "npm run build:postcss",
  35. "pretest:postcss": "npm run build:postcss",
  36. "test": "npm run test:js && npm run test:postcss",
  37. "test:js": "eslint src/*.js --cache --ignore-path .gitignore --quiet",
  38. "test:postcss": "postcss-tape --plugin=postcss.js"
  39. },
  40. "engines": {
  41. "node": ">=6.0.0"
  42. },
  43. "dependencies": {
  44. "postcss": "^7.0.6",
  45. "postcss-selector-parser": "^5.0.0-rc.4"
  46. },
  47. "devDependencies": {
  48. "@babel/core": "^7.1.6",
  49. "@babel/preset-env": "^7.1.6",
  50. "babel-eslint": "^10.0.1",
  51. "cross-env": "^5.2.0",
  52. "eslint": "^5.9.0",
  53. "eslint-config-dev": "2.0.0",
  54. "postcss-tape": "^2.2.0",
  55. "pre-commit": "^1.2.2",
  56. "rollup": "^0.67.3",
  57. "rollup-plugin-babel": "^4.0.3",
  58. "rollup-plugin-terser": "^3.0.0"
  59. },
  60. "eslintConfig": {
  61. "extends": "dev",
  62. "parser": "babel-eslint"
  63. },
  64. "keywords": [
  65. "postcss",
  66. "css",
  67. "postcss-plugin",
  68. "javascript",
  69. "js",
  70. "polyfill",
  71. "has",
  72. "contains",
  73. "descendant",
  74. "pseudo",
  75. "selector"
  76. ]
  77. }