package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "css-functions-list",
  3. "version": "3.1.0",
  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. "exports": {
  9. ".": {
  10. "import": "./esm/index.js",
  11. "require": "./cjs/index.js"
  12. },
  13. "./index.json": {
  14. "import": "./esm/index.json",
  15. "require": "./cjs/index.json"
  16. },
  17. "./package.json": "./package.json"
  18. },
  19. "main": "cjs/index.js",
  20. "module": "esm/index.js",
  21. "types": "esm/index.d.ts",
  22. "directories": {
  23. "test": "test"
  24. },
  25. "files": [
  26. "cjs/",
  27. "esm/",
  28. "CHANGELOG.md",
  29. "LICENSE.md",
  30. "README.md"
  31. ],
  32. "scripts": {
  33. "generate-list": "node -r esm generate-list.js",
  34. "release": "np --no-release-draft",
  35. "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",
  36. "postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
  37. "lint": "eslint \"{index,lib/**/*,test/**/*,generate-list}.js\"",
  38. "test": "mocha --require esm \"test/**/*.js\"",
  39. "test:watch": "npm test -- --watch",
  40. "build": "rollup --config rollup.config.js",
  41. "module-check": "node -e \"require('css-functions-list');\" && node --input-type=module -e \"import 'css-functions-list';\"",
  42. "prepublishOnly": "npm run build",
  43. "lint:types": "tsc",
  44. "prerelease": "npm run lint && npm run lint:types && npm run build && npm run module-check"
  45. },
  46. "devDependencies": {
  47. "@types/jsdom": "^16.2.13",
  48. "@types/mocha": "^9.0.0",
  49. "@types/node": "^16.3.0",
  50. "@types/node-fetch": "^2.5.12",
  51. "changelog-verify": "^1.1.2",
  52. "cpy": "^8.1.2",
  53. "eslint": "^8.5.0",
  54. "eslint-config-nitpick": "^11.1.0",
  55. "eslint-config-prettier": "^8.3.0",
  56. "eslint-plugin-prettier": "^4.0.0",
  57. "esm": "^3.0.51",
  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": "^8.4.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.22"
  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. }