package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "@excalidraw/excalidraw",
  3. "version": "0.10.0",
  4. "main": "main.js",
  5. "types": "types/packages/excalidraw/index.d.ts",
  6. "files": [
  7. "dist/*",
  8. "types/*"
  9. ],
  10. "publishConfig": {
  11. "access": "public"
  12. },
  13. "description": "Excalidraw as a React component",
  14. "repository": "https://github.com/excalidraw/excalidraw",
  15. "license": "MIT",
  16. "keywords": [
  17. "excalidraw",
  18. "excalidraw-embed",
  19. "react",
  20. "npm",
  21. "npm excalidraw"
  22. ],
  23. "browserslist": {
  24. "production": [
  25. ">0.2%",
  26. "not dead",
  27. "not ie <= 11",
  28. "not op_mini all",
  29. "not safari < 12",
  30. "not kaios <= 2.5",
  31. "not edge < 79",
  32. "not chrome < 70",
  33. "not and_uc < 13",
  34. "not samsung < 10"
  35. ],
  36. "development": [
  37. "last 1 chrome version",
  38. "last 1 firefox version",
  39. "last 1 safari version"
  40. ]
  41. },
  42. "peerDependencies": {
  43. "react": "^17.0.2",
  44. "react-dom": "^17.0.2"
  45. },
  46. "devDependencies": {
  47. "@babel/core": "7.15.8",
  48. "@babel/plugin-transform-arrow-functions": "7.14.5",
  49. "@babel/plugin-transform-async-to-generator": "7.16.0",
  50. "@babel/plugin-transform-runtime": "7.15.8",
  51. "@babel/plugin-transform-typescript": "7.15.8",
  52. "@babel/preset-env": "7.16.0",
  53. "@babel/preset-react": "7.16.0",
  54. "@babel/preset-typescript": "7.16.0",
  55. "autoprefixer": "10.4.0",
  56. "babel-loader": "8.2.3",
  57. "babel-plugin-transform-class-properties": "6.24.1",
  58. "cross-env": "7.0.3",
  59. "css-loader": "5.2.6",
  60. "file-loader": "6.2.0",
  61. "mini-css-extract-plugin": "1.6.1",
  62. "postcss-loader": "6.1.1",
  63. "sass-loader": "12.3.0",
  64. "terser-webpack-plugin": "5.2.4",
  65. "ts-loader": "9.2.6",
  66. "typescript": "4.3.5",
  67. "webpack": "5.50.0",
  68. "webpack-bundle-analyzer": "4.5.0",
  69. "webpack-cli": "4.7.2"
  70. },
  71. "bugs": "https://github.com/excalidraw/excalidraw/issues",
  72. "homepage": "https://github.com/excalidraw/excalidraw/tree/master/src/packages/excalidraw",
  73. "scripts": {
  74. "gen:types": "tsc --project ../../../tsconfig-types.json",
  75. "build:umd": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js && cross-env NODE_ENV=development webpack --config webpack.dev.config.js && yarn gen:types",
  76. "build:umd:withAnalyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --config webpack.prod.config.js",
  77. "pack": "yarn build:umd && yarn pack"
  78. }
  79. }