diff --git a/package.json b/package.json index 68d7f6e3..b4a531be 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,7 @@ "clean": "rm -rf dist", "test": "NODE_ENV=development node ./tests/index.js --repetition-time 50", "test-extensive": "node ./tests/index.js --production --repetition-time 10000", - "dist": "npm run clean && rollup -c && (tsc --skipLibCheck|| true)", - "watch": "rollup -wc", + "dist": "npm run clean && (tsc --skipLibCheck|| true)", "lint": "markdownlint README.md && standard && tsc --skipLibCheck", "preversion": "PRODUCTION=1 npm run dist && test -e dist/src/index.d.ts && test -e dist/yjs.js", "debug": "npm run gentesthtml && 0serve -o test.html", @@ -43,8 +42,8 @@ "./package.json": "./package.json" }, "files": [ - "dist/*", - "dist/src" + "src", + "dist" ], "dictionaries": { "test": "tests" @@ -83,7 +82,6 @@ "@y/protocols": "^1.0.6-1", "markdownlint": "^0.40.0", "markdownlint-cli": "^0.45.0", - "rollup": "^4.52.5", "standard": "^17.1.2", "typescript": "^5.9.3" }, diff --git a/rollup.config.js b/rollup.config.js index d8e8045b..581f488d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,3 +1,5 @@ +// @todo remove + export default [{ input: { yjs: './src/index.js',