package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "css-functions-list",
  3. "version": "3.2.1",
  4. "description": "List of standard and browser specific CSS functions.",
  5. "license": "MIT",
  6. "author": "Ivan Nikolić <niksy5@gmail.com> (http://ivannikolic.com)",
  7. "sideEffects": false,
  8. "type": "module",
  9. "exports": {
  10. ".": {
  11. "import": "./esm/index.js",
  12. "require": "./cjs/index.js"
  13. },
  14. "./index.json": {
  15. "import": "./esm/index.json",
  16. "require": "./cjs/index.json"
  17. },
  18. "./package.json": "./package.json"
  19. },
  20. "main": "cjs/index.js",
  21. "module": "esm/index.js",
  22. "types": "esm/index.d.ts",
  23. "directories": {
  24. "test": "test"
  25. },
  26. "files": [
  27. "cjs/",
  28. "esm/",
  29. "CHANGELOG.md",
  30. "LICENSE.md",
  31. "README.md"
  32. ],
  33. "scripts": {
  34. "generate-list": "node generate-list.js",
  35. "release": "np --no-release-draft",
  36. "version": "if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then sed -i '' '/\\[unreleased\\]:/d' CHANGELOG.md && version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi",
  37. "postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
  38. "lint": "eslint '{index,lib/**/*,test/**/*,generate-list}.js'",
  39. "test": "mocha 'test/**/*.js'",
  40. "test:watch": "npm test -- --watch",
  41. "build": "rollup --config rollup.config.js",
  42. "module-check": "node -e 'require(\"css-functions-list\");' && node --input-type=module -e 'import \"css-functions-list\";'",
  43. "prepublishOnly": "npm run build",
  44. "lint:types": "tsc",
  45. "prerelease": "npm run lint && npm run lint:types && npm run build && npm run module-check"
  46. },
  47. "devDependencies": {
  48. "@types/jsdom": "^16.2.13",
  49. "@types/mocha": "^9.0.0",
  50. "@types/node": "^16.3.0",
  51. "@types/node-fetch": "^2.5.12",
  52. "changelog-verify": "^1.1.2",
  53. "cpy": "^8.1.2",
  54. "eslint": "^8.5.0",
  55. "eslint-config-nitpick": "^11.1.0",
  56. "eslint-config-prettier": "^8.3.0",
  57. "eslint-plugin-prettier": "^4.0.0",
  58. "execa": "^5.1.1",
  59. "github-release-from-changelog": "^2.1.1",
  60. "husky": "^4.3.0",
  61. "isomorphic-unfetch": "^3.1.0",
  62. "jsdom": "^17.0.0",
  63. "lint-staged": "^10.4.2",
  64. "mocha": "^10.2.0",
  65. "np": "^7.6.0",
  66. "prettier": "^2.4.0",
  67. "rollup": "^2.32.1",
  68. "typescript": "^4.3.5",
  69. "version-changelog": "^3.1.1",
  70. "write-json-file": "^4.3.0"
  71. },
  72. "engines": {
  73. "node": ">=12 || >=16"
  74. },
  75. "keywords": [
  76. "css",
  77. "functions",
  78. "list"
  79. ],
  80. "repository": {
  81. "type": "git",
  82. "url": "git+https://github.com/niksy/css-functions-list.git"
  83. },
  84. "bugs": {
  85. "url": "https://github.com/niksy/css-functions-list/issues"
  86. },
  87. "homepage": "https://github.com/niksy/css-functions-list#readme"
  88. }