Skip to content

Commit e170710

Browse files
committed
Migrate to rollup
1 parent 0194283 commit e170710

File tree

5 files changed

+381
-26
lines changed

5 files changed

+381
-26
lines changed

docs/pages/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Hello, World! [This is my first page]
2+
3+
Welcome to my docs.

package.json

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
2-
"name": "@xzdarcy/react-timeline-editor",
2+
"name": "@mfoulks3200/react-timeline-editor",
33
"version": "0.1.9",
4-
"author": "xzdarcy",
4+
"author": "Atlas Foulks <[email protected]>",
5+
"contributors": [
6+
{
7+
"name": "xzdarcy"
8+
}
9+
],
510
"license": "MIT",
611
"keywords": [
712
"timeline",
@@ -11,18 +16,22 @@
1116
"typescript"
1217
],
1318
"bugs": {
14-
"url": "https://github.com/xzdarcy/react-timeline-editor/issues"
19+
"url": "https://github.com/mfoulks3200/react-timeline-editor/issues"
1520
},
16-
"homepage": "https://github.com/xzdarcy/react-timeline-editor#readme",
21+
"homepage": "https://github.com/mfoulks3200/react-timeline-editor#readme",
1722
"repository": {
1823
"type": "git",
19-
"url": "git+https://github.com/xzdarcy/react-timeline-editor.git"
24+
"url": "git+https://github.com/mfoulks3200/react-timeline-editor.git"
2025
},
2126
"scripts": {
2227
"start": "dumi dev",
23-
"docs:build": "dumi build",
28+
"legacydocs:build": "dumi build",
29+
"docs:dev": "vocs dev",
30+
"docs:build": "vocs build",
31+
"docs:preview": "vocs preview",
2432
"docs:deploy": "",
2533
"build": "father-build",
34+
"build:rollup": "rm -rf ./dist && rollup --config rollup.config.mjs",
2635
"deploy": "npm run docs:build && npm run docs:deploy",
2736
"prepublishOnly": "npm run build"
2837
},
@@ -31,23 +40,23 @@
3140
],
3241
"main": "dist/index.js",
3342
"module": "dist/index.esm.js",
34-
"typings": "dist/index.d.ts",
35-
"peerDependencies": {
36-
"react": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0",
37-
"react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0"
38-
},
43+
"typings": "dist/dts/index.d.ts",
3944
"dependencies": {
4045
"@interactjs/types": "^1.10.11",
4146
"@types/react-virtualized": "^9.21.14",
4247
"framework-utils": "^1.1.0",
4348
"interactjs": "^1.10.11",
44-
"react-virtualized": "^9.22.3"
49+
"react-virtualized": "^9.22.3",
50+
"typescript": "^5.8.2",
51+
"vocs": "^1.0.0"
4552
},
4653
"devDependencies": {
54+
"@rollup/plugin-typescript": "^12.1.2",
4755
"@types/howler": "^2.2.4",
4856
"@types/lodash": "^4.14.177",
4957
"@types/react": "^17.0.17",
5058
"@types/react-dom": "^17.0.17",
59+
"@types/rollup-plugin-less": "^1.1.5",
5160
"@umijs/test": "^3.0.5",
5261
"antd": "^4.16.13",
5362
"dumi": "^1.0.17",
@@ -58,8 +67,10 @@
5867
"lodash": "^4.17.21",
5968
"lottie-web": "^5.8.1",
6069
"prettier": "^2.2.1",
61-
"react": "^17.0.0",
62-
"react-dom": "^17.0.0",
70+
"react": "^18.0.0",
71+
"react-dom": "^18.0.2",
72+
"rollup": "^4.35.0",
73+
"rollup-plugin-less": "^1.1.3",
6374
"yorkie": "^2.0.0"
6475
}
6576
}

0 commit comments

Comments
 (0)