Commits on Source (245)
Showing
- .babelrc 7 additions, 0 deletions.babelrc
- .eslintrc.json 3 additions, 1 deletion.eslintrc.json
- .gitignore 52 additions, 7 deletions.gitignore
- .gitlab-ci.yml 34 additions, 7 deletions.gitlab-ci.yml
- .gitmodules 3 additions, 0 deletions.gitmodules
- __benchmarks__/benchmarks.html 9 additions, 0 deletions__benchmarks__/benchmarks.html
- __benchmarks__/benchmarks.js 1459 additions, 0 deletions__benchmarks__/benchmarks.js
- __benchmarks__/data.js 394 additions, 0 deletions__benchmarks__/data.js
- __benchmarks__/puppeteer.js 79 additions, 0 deletions__benchmarks__/puppeteer.js
- __e2e_tests__/peer1.e2e.js 34 additions, 0 deletions__e2e_tests__/peer1.e2e.js
- __e2e_tests__/peer2.e2e.js 28 additions, 0 deletions__e2e_tests__/peer2.e2e.js
- __tests__/erasure.test.js 169 additions, 0 deletions__tests__/erasure.test.js
- __tests__/example.test.js 0 additions, 13 deletions__tests__/example.test.js
- __tests__/shape.test.js 626 additions, 0 deletions__tests__/shape.test.js
- package-lock.json 9181 additions, 4848 deletionspackage-lock.json
- package.json 45 additions, 18 deletionspackage.json
- plot-scripts/demo.p 14 additions, 0 deletionsplot-scripts/demo.p
- plots/.gitkeep 0 additions, 0 deletionsplots/.gitkeep
- public/cursor.svg 3 additions, 0 deletionspublic/cursor.svg
- public/favicon.ico 0 additions, 0 deletionspublic/favicon.ico
.babelrc
0 → 100644
__benchmarks__/benchmarks.html
0 → 100644
__benchmarks__/benchmarks.js
0 → 100644
This diff is collapsed.
__benchmarks__/data.js
0 → 100644
__benchmarks__/puppeteer.js
0 → 100644
__e2e_tests__/peer1.e2e.js
0 → 100644
__e2e_tests__/peer2.e2e.js
0 → 100644
__tests__/erasure.test.js
0 → 100644
__tests__/example.test.js
deleted
100644 → 0
__tests__/shape.test.js
0 → 100644
This diff is collapsed.
... | @@ -13,42 +13,69 @@ | ... | @@ -13,42 +13,69 @@ |
"build": "webpack --config webpack.prod.js", | "build": "webpack --config webpack.prod.js", | ||
"build:analyze": "webpack --env.analyze --config webpack.prod.js", | "build:analyze": "webpack --env.analyze --config webpack.prod.js", | ||
"build:dev": "webpack --config webpack.dev.js", | "build:dev": "webpack --config webpack.dev.js", | ||
"build:bench": "webpack --config webpack.bench.js", | |||
"watch": "webpack --watch --config webpack.dev.js", | "watch": "webpack --watch --config webpack.dev.js", | ||
"start": "node --experimental-modules src/server.js", | "start": "node --experimental-modules src/server.js", | ||
"test": "jest --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy src/yjs", | "test": "jest --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy src/yjs src/drawing-crdt", | ||
"test-changed": "jest --only-changed --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy src/yjs", | "test-changed": "jest --only-changed --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy src/yjs src/drawing-crdt", | ||
"test-coverage": "jest --coverage --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy src/yjs", | "test-coverage": "jest --coverage --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy src/yjs src/drawing-crdt", | ||
"benchmarks": "node --experimental-modules __benchmarks__/puppeteer.js | npx tap-summary --no-progress", | |||
"test-e2e:peer1": "testcafe chrome:headless __e2e_tests__/peer1.e2e.js", | |||
"test-e2e:peer2": "testcafe chrome:headless __e2e_tests__/peer2.e2e.js", | |||
"test-e2e": "run-p test-e2e:*", | |||
"test-e2e-start": "run-s start-bg test-e2e", | |||
"start-bg": "npm run start > /dev/null 2>&1 &", | |||
"format": "prettier --ignore-path .gitignore --check --write '**/*.{html,js,json,md}'", | "format": "prettier --ignore-path .gitignore --check --write '**/*.{html,js,json,md}'", | ||
"format-check": "prettier --ignore-path .gitignore --check '**/*.{html,js,json,md}'", | "format-check": "prettier --ignore-path .gitignore --check '**/*.{html,js,json,md}'", | ||
"lint": "eslint --ignore-path .gitignore '**/*.js'", | "lint": "eslint --ignore-path .gitignore '**/*.js'", | ||
"validate": "npm ls" | "validate": "npm ls", | ||
"plot": "find plot-scripts/ -maxdepth 1 -type f -name '*.p' -exec gnuplot {} \\;" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@ungap/event-target": "^0.1.0", | "@xmpp/client": "^0.9.2", | ||
"d3-shape": "^1.3.5", | |||
"dotenv": "^8.2.0", | "dotenv": "^8.2.0", | ||
"express": "^4.17.1", | "express": "^4.17.1", | ||
"humanhash": "^1.0.4", | |||
"jdenticon": "^2.2.0", | |||
"liowebrtc": "file:src/liowebrtc", | |||
"pako": "^1.0.10", | |||
"signalbuddy": "file:src/signalbuddy", | "signalbuddy": "file:src/signalbuddy", | ||
"uuid": "^3.3.3", | "uuid": "^3.3.3" | ||
"webrtc-adapter": "^7.3.0", | |||
"what-the-pack": "^2.0.3", | |||
"y-array": "^10.1.4", | |||
"y-map": "^10.1.3", | |||
"y-memory": "^8.0.9", | |||
"yjs": "file:src/yjs" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/plugin-transform-modules-commonjs": "^7.6.0", | |||
"@fortawesome/fontawesome-free": "^5.12.0", | |||
"@ungap/event-target": "^0.1.0", | |||
"array-flat-polyfill": "^1.0.1", | |||
"babel-eslint": "^10.0.3", | |||
"chalk": "^3.0.0", | |||
"css-loader": "^3.4.1", | |||
"d3-shape": "^1.3.5", | |||
"drawing-crdt": "file:src/drawing-crdt/pkg", | |||
"eslint": "^6.5.1", | "eslint": "^6.5.1", | ||
"eslint-config-prettier": "^6.5.0", | |||
"eslint-plugin-testcafe": "^0.2.1", | |||
"fastbitset": "^0.2.8", | |||
"file-loader": "^5.0.2", | |||
"humanhash": "^1.0.4", | |||
"jdenticon": "^2.2.0", | |||
"jest": "^24.9.0", | "jest": "^24.9.0", | ||
"liowebrtc": "file:src/liowebrtc", | |||
"npm-run-all": "^4.1.5", | |||
"pako": "^1.0.10", | |||
"prettier": "^1.18.2", | "prettier": "^1.18.2", | ||
"puppeteer-core": "^2.0.0", | |||
"rtcpeerconnection": "file:src/rtcpeerconnection", | |||
"style-loader": "^1.1.2", | |||
"tap-summary": "^4.0.0", | |||
"testcafe": "^1.5.0", | |||
"webpack": "^4.41.0", | "webpack": "^4.41.0", | ||
"webpack-bundle-analyzer": "^3.6.0", | "webpack-bundle-analyzer": "^3.6.0", | ||
"webpack-cli": "^3.3.9", | "webpack-cli": "^3.3.9", | ||
"webpack-merge": "^4.2.2" | "webpack-merge": "^4.2.2", | ||
"webrtc-adapter": "^7.3.0", | |||
"what-the-pack": "^2.0.3", | |||
"y-array": "^10.1.4", | |||
"y-map": "^10.1.3", | |||
"y-memory": "^8.0.9", | |||
"yjs": "file:src/yjs", | |||
"zora": "^3.1.8" | |||
}, | }, | ||
"pre-commit": [ | "pre-commit": [ | ||
"lint", | "lint", | ||
... | ... |
plot-scripts/demo.p
0 → 100644
plots/.gitkeep
0 → 100644
public/cursor.svg
0 → 100644
public/favicon.ico
0 → 100644
1.12 KiB