|
1 | 1 | { |
2 | 2 | "name": "mobx-restful-table", |
3 | | - "version": "2.6.6", |
| 3 | + "version": "2.7.0", |
4 | 4 | "license": "LGPL-3.0", |
5 | 5 | "author": "shiy2008@gmail.com", |
6 | 6 | "description": "A Pagination Table & Scroll List component suite for CRUD operation, which is based on MobX RESTful & React.", |
|
23 | 23 | }, |
24 | 24 | "source": "source/index.ts", |
25 | 25 | "types": "dist/index.d.ts", |
| 26 | + "module": "dist/esm/index.js", |
26 | 27 | "main": "dist/index.js", |
| 28 | + "exports": { |
| 29 | + "types": "./dist/index.d.ts", |
| 30 | + "import": "./dist/esm/index.js", |
| 31 | + "require": "./dist/index.js" |
| 32 | + }, |
27 | 33 | "dependencies": { |
28 | 34 | "@swc/helpers": "^0.5.23", |
29 | 35 | "classnames": "^2.5.1", |
30 | 36 | "lodash": "^4.18.1", |
31 | | - "mobx": ">=6", |
32 | | - "mobx-i18n": ">=0.6", |
33 | | - "mobx-react": ">=9", |
34 | | - "mobx-react-helper": "^0.5.1", |
35 | | - "mobx-restful": "^2.1.4", |
| 37 | + "mobx-react-helper": "^0.5.3", |
| 38 | + "mobx-restful": "^2.1.5", |
36 | 39 | "react-bootstrap": "^2.10.10", |
37 | | - "react-bootstrap-editor": "^2.1.3", |
| 40 | + "react-bootstrap-editor": "^2.1.4", |
38 | 41 | "regenerator-runtime": "^0.14.1", |
39 | 42 | "web-utility": "^4.7.2" |
40 | 43 | }, |
41 | 44 | "peerDependencies": { |
| 45 | + "mobx": ">=6.11", |
| 46 | + "mobx-i18n": ">=0.6", |
| 47 | + "mobx-react": ">=9", |
42 | 48 | "react": ">=16.8" |
43 | 49 | }, |
44 | 50 | "devDependencies": { |
45 | | - "@octokit/openapi-types": "^27.0.0", |
| 51 | + "@mlightcad/cad-simple-viewer": "^1.5.9", |
| 52 | + "@mlightcad/data-model": "^1.12.3", |
| 53 | + "@octokit/openapi-types": "^28.0.0", |
| 54 | + "@open-file-viewer/core": "^0.1.33", |
| 55 | + "@open-file-viewer/react": "^0.1.33", |
46 | 56 | "@parcel/config-default": "~2.16.4", |
47 | 57 | "@parcel/packager-ts": "~2.16.4", |
48 | 58 | "@parcel/transformer-less": "~2.16.4", |
49 | 59 | "@parcel/transformer-typescript-tsc": "~2.16.4", |
50 | 60 | "@parcel/transformer-typescript-types": "~2.16.4", |
51 | | - "@types/lodash": "^4.17.24", |
| 61 | + "@types/lodash": "^4.17.25", |
52 | 62 | "@types/node": "^24.13.3", |
53 | | - "@types/react": "^19.2.17", |
54 | | - "@types/react-dom": "^19.2.3", |
| 63 | + "@types/react": "^19.2.18", |
| 64 | + "@types/react-dom": "^19.2.4", |
55 | 65 | "buffer": "^6.0.3", |
56 | 66 | "husky": "^9.1.7", |
57 | | - "idea-react": "^2.2.2", |
| 67 | + "idea-react": "^2.3.0", |
58 | 68 | "koajax": "^3.3.0", |
59 | | - "lint-staged": "^17.2.0", |
60 | | - "mobx-github": "^0.7.0", |
| 69 | + "lint-staged": "^17.3.0", |
| 70 | + "marked": "^18.0.9", |
| 71 | + "mobx": "^7.0.0", |
| 72 | + "mobx-github": "^0.7.1", |
| 73 | + "mobx-i18n": "^0.7.6", |
| 74 | + "mobx-react": "^10.0.0", |
61 | 75 | "parcel": "~2.16.4", |
| 76 | + "pdfjs-dist": "^6.2.108", |
62 | 77 | "prettier": "^3.9.6", |
63 | 78 | "prismjs": "^1.30.0", |
| 79 | + "process": "^0.11.10", |
64 | 80 | "react": "^19.2.8", |
65 | 81 | "react-dom": "^19.2.8", |
| 82 | + "react-element-to-jsx-string": "^17.0.1", |
66 | 83 | "rimraf": "^6.1.3", |
| 84 | + "string_decoder": "^1.3.0", |
67 | 85 | "typedoc": "^0.28.20", |
68 | 86 | "typedoc-plugin-mdn-links": "^5.1.1", |
69 | | - "typescript": "~5.9.3" |
| 87 | + "typescript": "~5.9.3", |
| 88 | + "util": "^0.12.5" |
70 | 89 | }, |
71 | 90 | "prettier": { |
72 | 91 | "singleQuote": true, |
|
82 | 101 | "targets": { |
83 | 102 | "main": { |
84 | 103 | "optimize": true |
| 104 | + }, |
| 105 | + "module": { |
| 106 | + "optimize": true |
85 | 107 | } |
86 | 108 | }, |
| 109 | + "@parcel/resolver-default": { |
| 110 | + "packageExports": true |
| 111 | + }, |
87 | 112 | "scripts": { |
88 | 113 | "prepare": "husky", |
89 | 114 | "preview": "cd preview/ && rimraf ../.parcel-cache dist/ && parcel --open", |
90 | 115 | "test": "lint-staged", |
91 | 116 | "pack-preview": "cd preview/ && rimraf ../.parcel-cache dist/ && parcel build --public-url=. --dist-dir=../docs/preview/", |
92 | 117 | "pack-dist": "rm -rf dist/ docs/ && parcel build && sed -i 's/^require(\"\\.\\/index\\.css\");//' dist/index.js && rimraf dist/index.js.map", |
93 | | - "build": "npm run pack-dist && typedoc source/ && npm run pack-preview", |
| 118 | + "fix-esm": "cd dist/esm/ && rm index.css* && sed -i 's/^import\"\\.\\/index\\.css\";//' index.js && rimraf index.js.map", |
| 119 | + "build": "npm run pack-dist && npm run fix-esm && typedoc source/ && npm run pack-preview", |
94 | 120 | "prepublishOnly": "npm test && npm run build" |
95 | 121 | } |
96 | 122 | } |
0 commit comments