-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.06 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "wappsto-cli",
"description": "Command Line Interface for creating wapps in Wappsto",
"version": "2.6.0",
"license": "Apache-2.0",
"main": "dist/wappsto-cli.cjs.production.min.js",
"module": "dist/wappsto-cli.esm.js",
"type": "commonjs",
"author": {
"name": "Seluxit A/S",
"email": "developer@seluxit.com",
"url": "https://seluxit.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wappsto/wappsto-cli.git"
},
"bugs": {
"url": "https://github.com/wappsto/wappsto-cli/issues"
},
"homepage": "https://github.com/wappsto/wappsto-cli#readme",
"keywords": [
"wappsto",
"wapp",
"api",
"iot",
"seluxit"
],
"files": [
"examples",
"dist/index.js",
"dist/wappsto-cli.esm.js",
"dist/wappsto-cli.cjs.development.js",
"dist/wappsto-cli.cjs.production.min.js"
],
"bin": {
"wapp": "dist/index.js"
},
"scripts": {
"make:version": "echo \"const VERSION = '$npm_package_version';\nexport { VERSION };\" > src/util/version.ts",
"prepack": "yarn sentry-cli releases new wappsto-cli@$npm_package_version && sentry-cli releases files wappsto-cli@$npm_package_version upload-sourcemaps dist/*.map && yarn sentry-cli releases finalize wappsto-cli@$npm_package_version",
"build": "yarn run make:version && dts build --target esm node && sed -i '1i#!/usr/bin/env node' dist/index.js",
"lint": "dts lint src test",
"lint:fix": "yarn run lint --fix",
"prettify": "yarn run prettier -w src/ test/",
"prepare": "yarn run build",
"start": "dts watch",
"test": "dts test --maxWorkers=75%",
"coverage": "dts test --maxWorkers=75% --coverage",
"test:coverage": "yarn run coverage",
"generate-types": "npx json2ts -i schemas -o src/types",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git ci package.json src/util/version.ts -m'Updated to version $PACKAGE_VERSION' && git push && git tag v$PACKAGE_VERSION && git push --tags"
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"testEnvironment": "node",
"resetMocks": true,
"moduleNameMapper": {
"./util/getDirName": "<rootDir>/test/util/getDirName.ts"
},
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules",
"<rootDir>/test",
"<rootDir>/src/types",
"<rootDir>/src/util/getDirName.ts"
],
"coverageThreshold": {
"global": {
"lines": 50,
"statements": 50
}
}
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@sentry/node": "^8.37.1",
"@sentry/profiling-node": "^8.37.1",
"@sentry/tracing": "^7.114.0",
"async-mutex": "^0.5.0",
"axios": "^1.7.7",
"browser-sync": "^3.0.3",
"command-line-args": "^6.0.1",
"command-line-usage": "^7.0.3",
"cross-spawn": "^7.0.5",
"detect-port": "^1.6.1",
"figlet": "^1.8.0",
"form-data": "^4.0.1",
"kleur": "^4.1.5",
"lodash.pick": "^4.4.0",
"node-watch": "^0.7.4",
"prompts": "^2.4.2",
"simple-update-notifier": "^2.0.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@sentry/cli": "^2.38.2",
"@sentry/rollup-plugin": "^2.22.6",
"@tsconfig/recommended": "^1.0.8",
"@types/browser-sync": "^2.29.0",
"@types/command-line-args": "^5.2.3",
"@types/command-line-usage": "^5.0.4",
"@types/cross-spawn": "^6.0.6",
"@types/detect-port": "^1.3.5",
"@types/figlet": "^1.7.0",
"@types/inquirer": "^9.0.7",
"@types/jest": "^29.5.14",
"@types/lodash.pick": "^4.4.9",
"@types/node": "^22.9.0",
"@types/prompts": "^2.4.9",
"@types/ws": "^8.5.13",
"axios-mock-adapter": "^2.1.0",
"dts-cli": "^2.0.5",
"eslint-plugin-eslint-comments": "^3.2.0",
"jest": "^29.7.0",
"json-schema-to-typescript": "^15.0.3",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.6.3"
}
}