package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "_args": [
  3. [
  4. "nth-check@2.1.1",
  5. "/Users/mac/projects/mime/mine"
  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. "/eslint-plugin-vue"
  28. ],
  29. "_resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz",
  30. "_spec": "2.1.1",
  31. "_where": "/Users/mac/projects/mime/mine",
  32. "author": {
  33. "name": "Felix Boehm",
  34. "email": "me@feedic.com"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/fb55/nth-check/issues"
  38. },
  39. "dependencies": {
  40. "boolbase": "^1.0.0"
  41. },
  42. "description": "Parses and compiles CSS nth-checks to highly optimized functions.",
  43. "devDependencies": {
  44. "@types/boolbase": "^1.0.1",
  45. "@types/jest": "^27.5.0",
  46. "@types/node": "^17.0.35",
  47. "@typescript-eslint/eslint-plugin": "^5.25.0",
  48. "@typescript-eslint/parser": "^5.25.0",
  49. "eslint": "^8.15.0",
  50. "eslint-config-prettier": "^8.5.0",
  51. "jest": "^27.5.1",
  52. "prettier": "^2.6.2",
  53. "ts-jest": "^27.1.4",
  54. "typescript": "^4.6.4"
  55. },
  56. "directories": {
  57. "lib": "lib/"
  58. },
  59. "exports": {
  60. "require": "./lib/index.js",
  61. "import": "./lib/esm/index.js"
  62. },
  63. "files": [
  64. "lib/**/*"
  65. ],
  66. "funding": {
  67. "url": "https://github.com/fb55/nth-check?sponsor=1"
  68. },
  69. "homepage": "https://github.com/fb55/nth-check",
  70. "jest": {
  71. "preset": "ts-jest",
  72. "testEnvironment": "node",
  73. "moduleNameMapper": {
  74. "^(.*)\\.js$": "$1"
  75. }
  76. },
  77. "keywords": [
  78. "nth-child",
  79. "nth",
  80. "css"
  81. ],
  82. "license": "BSD-2-Clause",
  83. "main": "lib/index.js",
  84. "module": "lib/esm/index.js",
  85. "name": "nth-check",
  86. "prettier": {
  87. "tabWidth": 4
  88. },
  89. "repository": {
  90. "type": "git",
  91. "url": "git+https://github.com/fb55/nth-check.git"
  92. },
  93. "scripts": {
  94. "build": "npm run build:cjs && npm run build:esm",
  95. "build:cjs": "tsc --sourceRoot https://raw.githubusercontent.com/fb55/nth-check/$(git rev-parse HEAD)/src/",
  96. "build:esm": "npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json",
  97. "format": "npm run format:es && npm run format:prettier",
  98. "format:es": "npm run lint:es -- --fix",
  99. "format:prettier": "npm run prettier -- --write",
  100. "lint": "npm run lint:es && npm run lint:prettier",
  101. "lint:es": "eslint .",
  102. "lint:prettier": "npm run prettier -- --check",
  103. "prepare": "npm run build",
  104. "prettier": "prettier '**/*.{ts,md,json,yml}'",
  105. "test": "npm run test:jest && npm run lint",
  106. "test:jest": "jest"
  107. },
  108. "sideEffects": false,
  109. "types": "lib/index.d.ts",
  110. "version": "2.1.1"
  111. }