-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
56 lines (56 loc) · 2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "rhubarb-js",
"version": "1.3.1",
"description": "A WebSocket library for multiplayer JS games.",
"main": "build/Rhubarb.js",
"module": "build/Rhubarb.mjs",
"worker": "build/RhubarbWorker.js",
"jsnext:main": "build/Rhubarb.mjs",
"scripts": {
"prebuild": "eslint lib test",
"build": "rollup --config rollup.config.js --environment BUILD:production && rollup --config rollup.config.worker.js --environment BUILD:production && minify ./build/Rhubarb.js -o ./build/Rhubarb.min.js && minify ./build/RhubarbWorker.js -o ./build/RhubarbWorker.min.js",
"test": "echo not there yet",
"prepublish": "BUILD=production npm test",
"exampleGame": "rollup --config rollup.config.js --environment BUILD:production && rollup --config rollup.config.worker.js --environment BUILD:production && webpack-dev-server --config ./webpack.config.exampleGame.js",
"chatRoom": "rollup --config rollup.config.js --environment BUILD:production && rollup --config rollup.config.worker.js --environment BUILD:production && webpack-dev-server --config ./webpack.config.chatRoom.js"
},
"repository": "oguzeroglu/Rhubarb",
"keywords": [
"html5",
"multiplayer",
"websocket",
"webworker",
"webgl"
],
"author": "Oğuz Eroğlu",
"license": "MIT",
"bugs": {
"url": "https://github.com/oguzeroglu/Rhubarb/issues"
},
"files": [
"js",
"build"
],
"homepage": "https://github.com/oguzeroglu/Rhubarb#readme",
"dependencies": {
"ws": "^7.2.1"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"babel-minify": "^0.5.1",
"babel-plugin-external-helpers": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.18.0",
"babelrc-rollup": "^3.0.0",
"eslint": "^4.1.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"rollup": "^0.43.0",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-istanbul": "^1.1.0",
"rollup-watch": "^4.3.1",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
}
}