-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
117 lines (117 loc) · 3.91 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "wappsto-wapp",
"version": "1.16.5",
"license": "MIT",
"author": "Seluxit A/S",
"main": "dist/wappsto-wapp.cjs.production.min.js",
"module": "dist/wappsto-wapp.esm.js",
"typings": "dist/index.d.ts",
"include": [
"types/*"
],
"files": [
"dist/wappsto-wapp.esm.js",
"dist/wappsto-wapp.esm.js.map",
"dist/wappsto-wapp.cjs.production.min.js",
"dist/wappsto-wapp.cjs.production.min.js.map",
"dist/wappsto-wapp.js",
"dist/wappsto-wapp.js.map",
"dist/*.d.ts",
"dist/**/*.d.ts"
],
"keywords": [
"wappsto",
"wapp",
"api",
"iot",
"seluxit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Wappsto/javascript-wappsto-wapp"
},
"scripts": {
"analyze": "size-limit --why",
"lint": "dts lint src",
"lint:fix": "yarn lint --fix",
"size": "size-limit",
"start": "dts watch",
"run:test": "dts test --logHeapUsage --forceExit -w5",
"test": "yarn run:test --coverage",
"test:nocov": "yarn run:test",
"generate-types": "ts-interface-builder -v -g -c src/util/checker/interfaces.ts src/util/checker/types.ts; yarn lint:fix",
"documentation": "typedoc",
"prebuild": "node -p \"'export const VERSION = \\'' + require('./package.json').version + '\\';'\" > src/util/version.ts",
"build": "dts build",
"postbuild": "yarn esbuild dist/wappsto-wapp.cjs.production.min.js --format=iife --global-name=Wappsto --minify --bundle --outfile=dist/wappsto-wapp.js",
"prepack": "yarn build && yarn documentation",
"prepublishOnly": "yarn test",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git ci docs package.json src/util/version.ts -m'Updated to v'$PACKAGE_VERSION'' && git push && git tag v$PACKAGE_VERSION && git push --tags"
},
"prettier": {
"printWidth": 80,
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"testEnvironment": "node"
},
"peerDependencies": {},
"engines": {
"node": ">=16"
},
"size-limit": [
{
"path": "dist/wappsto-wapp.cjs.production.min.js",
"limit": "65 KB"
},
{
"path": "dist/wappsto-wapp.esm.js",
"limit": "65 KB"
},
{
"path": "dist/wappsto-wapp.js",
"limit": "80 KB"
}
],
"dependencies": {
"axios": "1.7.9",
"class-transformer": "^0.5.1",
"isomorphic-ws": "^5.0.0",
"lodash.isequal": "^4.5.0",
"lodash.omit": "^4.5.0",
"lodash.pick": "^4.4.0",
"reflect-metadata": "^0.2.2",
"ts-interface-checker": "^1.0.2",
"tslib": "^2.8.1",
"universal-websocket-client": "^1.0.2",
"ws": "^8.18.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-syntax-flow": "^7.26.0",
"@babel/plugin-transform-private-methods": "^7.25.9",
"@babel/plugin-transform-react-jsx": "^7.25.9",
"@size-limit/preset-small-lib": "^11.1.6",
"@tsconfig/recommended": "^1.0.8",
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.omit": "^4.5.9",
"@types/lodash.pick": "^4.4.9",
"@types/node": "^22.13.1",
"@types/websocket": "^1.0.10",
"@types/ws": "^8.5.14",
"dts-cli": "^2.0.5",
"esbuild": "^0.24.2",
"eslint-plugin-prettier": "^5.2.3",
"jest": "^29.7.0",
"jest-websocket-mock": "^2.5.0",
"prettier": "^3.4.2",
"size-limit": "^11.1.6",
"ts-interface-builder": "^0.3.3",
"ts-jest": "^29.2.5",
"typedoc": "^0.27.6",
"typescript": "^5.7.3"
}
}