-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.63 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.63 KB
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
74
75
76
77
78
79
80
81
82
83
84
{
"name": "anynat",
"private": true,
"version": "1.0.1",
"type": "module",
"files": [
"dist-prod",
"docs"
],
"main": "./dist-prod/index.js",
"exports": {
".": {
"types": "./dist-prod/src/**/**.d.ts",
"import": "./dist-prod/index.js",
"require": "./dist-prod/index.umd.js"
}
},
"scripts": {
"dev": "npm run build-dev && concurrently \"npm run build-dev-watch\" \"node ecosystem.dev.config.cjs\"",
"prod": "npm run build-prod && pm2 stop ecosystem.config.cjs && pm2 delete ecosystem.config.cjs && npm run startup-all && pm2 start ecosystem.config.cjs && npm run startup-all",
"prod-runtime": "npm run build-prod && pm2-runtime start ecosystem.config.cjs",
"build-dev": "tsc && vite build --mode development",
"build-prod": "tsc && vite build --mode production",
"build-dev-watch": "tsc && vite build --mode development --watch",
"build-prod-watch": "tsc && vite build --mode production --watch",
"startup-all": "pm2 save && pm2 startup && pm2 save",
"doc": "typedoc --tsconfig tsconfig.json --options typedoc.cjs",
"image-build": "docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t rockey1997/anynat:1.0.1 -o type=registry .",
"image-run": "docker-compose up -d"
},
"browserslist": [
"defaults",
"> 0.01%",
"last 128 versions",
"Android >= 5",
"IOS >= 8",
"Chrome >= 50",
"Safari >= 10"
],
"dependencies": {
"aedes": "^0.49.0",
"core.crypto": "0.0.1",
"eventemitter2": "^6.4.9",
"lodash": "^4.17.21",
"mqtt": "^4.3.7",
"p-queue": "^7.3.4",
"websocket-stream": "^5.5.2",
"ws": "^8.13.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@rollup/plugin-babel": "^6.0.3",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.1",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"concurrently": "^8.2.0",
"core-js": "^3.31.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"pm2": "^5.3.0",
"prettier": "^2.8.8",
"typedoc": "^0.24.8",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-babel": "^1.1.3",
"vite-plugin-dts": "^2.3.0",
"vite-plugin-eslint": "^1.8.1"
},
"packageManager": "yarn@3.6.0",
"optionalDependencies": {
"bufferutil": "^4.0.7",
"utf-8-validate": "^6.0.3"
},
"engines": {
"node": ">=19.x"
}
}