revert to classic cjs module

This commit is contained in:
Kevin Jahns 2020-01-13 14:54:07 +01:00
parent b96362c0f1
commit f0b2bdaf34
2 changed files with 166 additions and 2133 deletions

2290
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,8 @@
"name": "yjs",
"version": "13.0.0-104",
"description": "Shared Editing Library",
"main": "./src/index.js",
"main": "./dist/yjs.cjs",
"module": "./src/index.js",
"type": "module",
"sideEffects": false,
"scripts": {
"test": "npm run dist && node ./dist/tests.cjs --repitition-time 50",
@ -13,10 +12,10 @@
"watch": "rollup -wc",
"lint": "markdownlint README.md && standard && tsc",
"docs": "rm -rf docs; jsdoc --configure ./.jsdoc.json --verbose --readme ./README.md --package ./package.json || true",
"serve-docs": "npm run docs && serve ./docs/",
"serve-docs": "npm run docs && http-server ./docs/",
"preversion": "npm run lint && PRODUCTION=1 npm run dist && npm run docs && node ./dist/tests.cjs --repitition-time 1000",
"postversion": "git push && git push --tags",
"debug": "concurrently 'live-server --port=3443 --entry-file=test.html' 'npm run watch'",
"debug": "concurrently 'http-server -o test.html' 'npm run watch'",
"trace-deopt": "clear && rollup -c && node --trace-deopt dist/test.cjs",
"trace-opt": "clear && rollup -c && node --trace-opt dist/test.cjs"
},
@ -58,8 +57,8 @@
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-node-resolve": "^7.0.0",
"concurrently": "^3.6.1",
"http-server": "^0.12.1",
"jsdoc": "^3.6.3",
"live-server": "^1.2.1",
"markdownlint-cli": "^0.19.0",
"rollup": "^1.29.0",
"rollup-cli": "^1.0.9",