package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "_from": "nth-check@^2.0.1",
  3. "_id": "nth-check@2.1.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
  6. "_location": "/nth-check",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "nth-check@^2.0.1",
  12. "name": "nth-check",
  13. "escapedName": "nth-check",
  14. "rawSpec": "^2.0.1",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.0.1"
  17. },
  18. "_requiredBy": [
  19. "/css-select"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz",
  22. "_shasum": "c9eab428effce36cd6b92c924bdb000ef1f1ed1d",
  23. "_spec": "nth-check@^2.0.1",
  24. "_where": "D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\css-select",
  25. "author": {
  26. "name": "Felix Boehm",
  27. "email": "me@feedic.com"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/fb55/nth-check/issues"
  31. },
  32. "bundleDependencies": false,
  33. "dependencies": {
  34. "boolbase": "^1.0.0"
  35. },
  36. "deprecated": false,
  37. "description": "Parses and compiles CSS nth-checks to highly optimized functions.",
  38. "devDependencies": {
  39. "@types/boolbase": "^1.0.1",
  40. "@types/jest": "^27.5.0",
  41. "@types/node": "^17.0.35",
  42. "@typescript-eslint/eslint-plugin": "^5.25.0",
  43. "@typescript-eslint/parser": "^5.25.0",
  44. "eslint": "^8.15.0",
  45. "eslint-config-prettier": "^8.5.0",
  46. "jest": "^27.5.1",
  47. "prettier": "^2.6.2",
  48. "ts-jest": "^27.1.4",
  49. "typescript": "^4.6.4"
  50. },
  51. "directories": {
  52. "lib": "lib/"
  53. },
  54. "exports": {
  55. "require": "./lib/index.js",
  56. "import": "./lib/esm/index.js"
  57. },
  58. "files": [
  59. "lib/**/*"
  60. ],
  61. "funding": {
  62. "url": "https://github.com/fb55/nth-check?sponsor=1"
  63. },
  64. "homepage": "https://github.com/fb55/nth-check",
  65. "jest": {
  66. "preset": "ts-jest",
  67. "testEnvironment": "node",
  68. "moduleNameMapper": {
  69. "^(.*)\\.js$": "$1"
  70. }
  71. },
  72. "keywords": [
  73. "nth-child",
  74. "nth",
  75. "css"
  76. ],
  77. "license": "BSD-2-Clause",
  78. "main": "lib/index.js",
  79. "module": "lib/esm/index.js",
  80. "name": "nth-check",
  81. "prettier": {
  82. "tabWidth": 4
  83. },
  84. "repository": {
  85. "type": "git",
  86. "url": "git+https://github.com/fb55/nth-check.git"
  87. },
  88. "scripts": {
  89. "build": "npm run build:cjs && npm run build:esm",
  90. "build:cjs": "tsc --sourceRoot https://raw.githubusercontent.com/fb55/nth-check/$(git rev-parse HEAD)/src/",
  91. "build:esm": "npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json",
  92. "format": "npm run format:es && npm run format:prettier",
  93. "format:es": "npm run lint:es -- --fix",
  94. "format:prettier": "npm run prettier -- --write",
  95. "lint": "npm run lint:es && npm run lint:prettier",
  96. "lint:es": "eslint .",
  97. "lint:prettier": "npm run prettier -- --check",
  98. "prepare": "npm run build",
  99. "prettier": "prettier '**/*.{ts,md,json,yml}'",
  100. "test": "npm run test:jest && npm run lint",
  101. "test:jest": "jest"
  102. },
  103. "sideEffects": false,
  104. "types": "lib/index.d.ts",
  105. "version": "2.1.1"
  106. }