package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "@tauri-apps/api",
  3. "version": "1.6.0",
  4. "description": "Tauri API definitions",
  5. "funding": {
  6. "type": "opencollective",
  7. "url": "https://opencollective.com/tauri"
  8. },
  9. "repository": {
  10. "type": "git",
  11. "url": "git+https://github.com/tauri-apps/tauri.git"
  12. },
  13. "contributors": [
  14. "Tauri Programme within The Commons Conservancy"
  15. ],
  16. "license": "Apache-2.0 OR MIT",
  17. "bugs": {
  18. "url": "https://github.com/tauri-apps/tauri/issues"
  19. },
  20. "homepage": "https://github.com/tauri-apps/tauri#readme",
  21. "type": "module",
  22. "main": "./index.cjs",
  23. "module": "./index.js",
  24. "exports": {
  25. ".": {
  26. "import": "./index.js",
  27. "require": "./index.cjs"
  28. },
  29. "./*": {
  30. "import": "./*.js",
  31. "require": "./*.cjs"
  32. },
  33. "./package.json": "./package.json"
  34. },
  35. "scripts": {
  36. "build": "rollup -c --configPlugin typescript",
  37. "npm-pack": "yarn build && cd ./dist && npm pack",
  38. "npm-publish": "yarn build && cd ./dist && yarn publish --access public --loglevel silly",
  39. "ts:check": "tsc -noEmit",
  40. "lint": "eslint --ext ts \"./src/**/*.ts\"",
  41. "lint:fix": "eslint --fix --ext ts \"./src/**/*.ts\"",
  42. "format": "prettier --write . --config ../../.prettierrc --ignore-path .gitignore --ignore-path ../../.prettierignore",
  43. "format:check": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore --ignore-path ../../.prettierignore"
  44. },
  45. "devDependencies": {
  46. "@rollup/plugin-terser": "0.4.4",
  47. "@rollup/plugin-typescript": "11.1.5",
  48. "@types/node": "20.10.5",
  49. "@typescript-eslint/eslint-plugin": "5.62.0",
  50. "eslint-config-standard-with-typescript": "34.0.1",
  51. "@typescript-eslint/parser": "5.62.0",
  52. "eslint": "8.56.0",
  53. "eslint-config-prettier": "8.10.0",
  54. "eslint-plugin-import": "2.29.1",
  55. "eslint-plugin-n": "15.7.0",
  56. "eslint-plugin-node": "11.1.0",
  57. "eslint-plugin-promise": "6.1.1",
  58. "eslint-plugin-security": "1.7.1",
  59. "fast-glob": "3.3.2",
  60. "prettier": "3.1.1",
  61. "rollup": "3.29.4",
  62. "typescript": "5.3.3"
  63. },
  64. "engines": {
  65. "node": ">= 14.6.0",
  66. "npm": ">= 6.6.0",
  67. "yarn": ">= 1.19.1"
  68. }
  69. }