-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.17 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
57
58
{
"name": "pi-sense-hat-remote-simulator",
"version": "1.0.0",
"description": "Project to simulate a Pi SenseHat device in a web environment for testing purposes",
"type": "module",
"scripts": {
"start": "webpack-dev-server --config web/es5/webpack.config.js --port 3000",
"build:web": "webpack --config web/es5/webpack.config.js -p --experimental-modules",
"ws-serve": "node --experimental-modules lib/scripts/run-server.js 8080 4443",
"display": "node --experimental-modules lib/scripts/run-display-sequence.js ws://localhost:8080 test-web-client",
"joystick": "node --experimental-modules lib/scripts/run-joystick-listener.js ws://localhost:8080 test-web-client",
"sensors": "node --experimental-modules lib/scripts/run-sensors-listener.js ws://localhost:8080 test-web-client",
"prebuild:lib": "rimraf cjs/client && rimraf cjs/scripts && rimraf cjs/server",
"build:lib": "babel lib --out-dir cjs",
"predeploy": "npm run build:web",
"deploy": "gh-pages -d wwwroot -b gh-pages"
},
"main": "scripts/run-server.js",
"exports": {
"./server": "./lib/server/index.js",
"./client": "./lib/client/index.js",
"./cjs/server": "./cjs/server/index.js",
"./cjs/client": "./cjs/client/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/joanjane/pi-sense-hat-remote-simulator.git"
},
"author": "Joan Jané",
"license": "ISC",
"homepage": "https://joanjane.github.io/pi-sense-hat-remote-simulator/",
"dependencies": {
"ws": "^7.2.0"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.0",
"@babel/node": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.6.3",
"@babel/runtime": "^7.6.3",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^3.2.0",
"gh-pages": "^2.1.1",
"html-webpack-plugin": "^3.2.0",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"rimraf": "^3.0.0",
"self-signed": "^1.3.1",
"serve": "^11.2.0",
"style-loader": "^1.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
}
}