package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "pixi-live2d-display",
  3. "version": "0.4.0",
  4. "description": "Live2D plugin for PixiJS",
  5. "main": "dist/index.js",
  6. "exports": {
  7. ".": {
  8. "types": "./types/index.d.ts",
  9. "import": "./dist/index.es.js",
  10. "require": "./dist/index.js"
  11. },
  12. "./cubism2": {
  13. "types": "./types/index.d.ts",
  14. "import": "./dist/cubism2.es.js",
  15. "require": "./dist/cubism2.js"
  16. },
  17. "./cubism4": {
  18. "types": "./types/index.d.ts",
  19. "import": "./dist/cubism4.es.js",
  20. "require": "./dist/cubism4.js"
  21. },
  22. "./extra": {
  23. "types": "./types/extra.d.ts",
  24. "import": "./dist/extra.es.js",
  25. "require": "./dist/extra.js"
  26. }
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "https://github.com/guansss/pixi-live2d-display.git"
  31. },
  32. "author": "guansss <821143943@qq.com>",
  33. "license": "MIT",
  34. "scripts": {
  35. "setup": "node scripts/setup.js",
  36. "playground": "vite",
  37. "test": "node scripts/build-tests.js && npx floss --path=test.build --reporter=tap",
  38. "test:ci": "yarn type && yarn build && yarn test",
  39. "test:debug": "node scripts/build-tests.js && npx floss --path=test.build -d",
  40. "build": "rimraf dist && node scripts/build.js",
  41. "pretype": "node scripts/patch-dts-generator.js",
  42. "type": "rimraf types && dts-bundle-generator src/index.ts --no-check --project=tsconfig.build.json -o=types/index.d.ts && dts-bundle-generator src/extra.ts --no-check --project=tsconfig.build.json -o=types/extra.d.ts ",
  43. "posttype": "node scripts/patch-types.js",
  44. "doc": "node scripts/gen-docs.js",
  45. "serve-docs": "mkdocs serve -f docs/mkdocs.yml",
  46. "deploy": "gh-pages -d site",
  47. "prepublishOnly": "yarn build && yarn test && yarn type"
  48. },
  49. "files": [
  50. "dist",
  51. "types"
  52. ],
  53. "types": "types/index.d.ts",
  54. "peerDependencies": {
  55. "@pixi/core": "^6",
  56. "@pixi/display": "^6",
  57. "@pixi/loaders": "^6",
  58. "@pixi/math": "^6",
  59. "@pixi/sprite": "^6",
  60. "@pixi/utils": "^6"
  61. },
  62. "devDependencies": {
  63. "@types/chai": "^4.3.1",
  64. "@types/chai-as-promised": "^7.1.5",
  65. "@types/lodash-es": "^4.17.6",
  66. "@types/node": "17.0.41",
  67. "@types/offscreencanvas": "^2019.7.0",
  68. "adm-zip": "^0.5.9",
  69. "chai": "^4.3.6",
  70. "chai-as-promised": "^7.1.1",
  71. "chalk": "^4",
  72. "dts-bundle-generator": "^6.11.0",
  73. "electron": "^13",
  74. "floss": "^5.0.1",
  75. "glob": "^8.0.3",
  76. "handlebars": "^4.7.7",
  77. "jszip": "^3.10.0",
  78. "lodash-es": "^4.17.21",
  79. "node-fetch": "^2",
  80. "pixi.js": "^6.4.2",
  81. "rimraf": "^3.0.2",
  82. "sinon": "^14.0.0",
  83. "sinon-chai": "^3.7.0",
  84. "typedoc": "0.23.10",
  85. "typescript": "^4.7.3",
  86. "vite": "^2.9.13"
  87. },
  88. "dependencies": {
  89. "gh-pages": "^4.0.0"
  90. }
  91. }