package.json 3.0 KB

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