-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.41 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "printerprinter",
"version": "0.3.4",
"description": "socket based thermal printer components",
"main": "dist/index.js",
"scripts": {
"prepare": "npm run build",
"build": "babel src -d dist --source-maps --ignore src/client/public/index.js && npm run client:build && npm run copy:python",
"build:server": "babel src -d dist --source-maps --ignore src/client/public/index.js",
"build:client": "babel src -d dist --source-maps --ignore src/client/public/index.js && npm run client:build && npm run copy:python",
"copy:python": "babel src/client/python --out-dir dist/client/python --copy-files",
"serve": "node dist/index.js",
"serve:client": "node dist/client/client.js",
"start": "babel-node src/index.js",
"start:dev": "nodemon src/index.js --exec babel-node",
"client:dev": "webpack-dev-server --config webpack.config.js --watch --mode development",
"client:build": "webpack --config webpack.config.js --mode production",
"example:server": "nodemon example/server.js --exec babel-node",
"example:client": "nodemon example/client.js --exec babel-node --ignore src/client/db.json",
"coverage": "jest --coverage --runInBand --verbose",
"eslint": "eslint src/**/*.js --ignore-pattern",
"test": "echo \"Error: no test specified\" && exit 0",
"release": "np"
},
"keywords": [
"iot",
"sockets",
"socket.io",
"thermal",
"printer",
"raspberry",
"pi",
"nodejs"
],
"engines": {
"node": ">=10"
},
"author": "florianporada",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/node": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"babel-loader": "^8.0.6",
"babel-preset-node8": "^1.2.0",
"css-loader": "^3.2.0",
"eslint": "^5.12.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.1",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.8.0",
"nodemon": "^1.18.9",
"np": "^6.2.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"body-parser": "^1.19.0",
"dotenv": "^6.2.0",
"express": "^4.17.1",
"jquery": "^3.5.0",
"lowdb": "^1.0.0",
"milligram": "^1.3.0",
"moment": "^2.24.0",
"onoff": "^5.0.0",
"python-shell": "^1.0.8",
"socket.io": "^2.3.0",
"winston": "^3.2.1"
}
}