-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
117 lines (117 loc) · 5.26 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": "@mindconnect/mindconnect-nodejs",
"version": "3.24.2",
"description": "NodeJS Library for Siemens Insights Hub Connectivity - TypeScript SDK for Insights Hub and Industrial IoT - Command Line Interface - Insights Hub Development Proxy (Siemens Insights Hub was formerly known as MindSphere)",
"main": "./dist/src/index.js",
"browser": "./dist/src/index.bundle.js",
"types": "./dist/src/index.d.ts",
"scripts": {
"clean": "rimraf starterts/ && rimraf starterjs/ && rimraf dist/",
"clean:dist": "rimraf dist/",
"prepare": "npm run clean && npm run ts:build:dist && npm run copyfiles:dist && npm run browser:build",
"copyfiles:dist": "copyfiles src/cli/commands/html/sc/* dist/src/cli/commands/html/sc/ --flat",
"test": "npm run ts:build && mocha --colors --timeout=0",
"test-open-edge": "npm run ts:build && mocha --grep DeviceManagementClient --colors --timeout=0",
"test-firmware-deployment": "npm run ts:build && mocha --grep FirmwareDeployment --colors --timeout=0",
"sanity": "npm run ts:build && mocha --colors --grep @sanity --timeout=0",
"s4f": "npm run ts:build && mocha --colors --grep @s4f --timeout=0",
"test-dev": "npm run ts:build && cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --reporter=list --timeout=0",
"mocha": "mocha --colors --timeout=0",
"test-jenkins": "npm run ts:build && cross-env JUNIT_REPORT_PATH=./report.xml mocha --colors --reporter mocha-jenkins-reporter --timeout=0",
"ts:build": "tsc",
"ts:build:dist": "tsc -p ./ --outDir dist/",
"ts:watch": "tsc -w",
"browser:build": "rollup -c",
"lint": "tslint ./src/**.ts && tslint ./test/**/*.ts",
"test:watch": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --watch test/ --growl --reporter=spec --timeout=0",
"start-dev": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 cross-env concurrently --raw \"npm run ts:watch\" \"npm run test:watch\" ",
"dev": "npm run ts:build && cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 concurrently --raw \"npm run ts:watch\" \"npm run test:watch\" ",
"start-agent-dev": "npm run ts:build && cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 cross-env DEBUG=http,mindconnect-agent,mindconnect-fileencoder node ./src/demoagent/test-agent.js ",
"doc": "compodoc -p tsconfig.json --output docs --name \"@mindconnect/mindconnect-nodejs\" --theme material && npm run copyfiles:doc",
"copyfiles:doc": "copyfiles images/* docs/",
"createkey": "openssl genrsa -out private.key 3072",
"license": "license-checker --csv --onlyAllow \"Apache-2.0; Apache*; BSD; BSD-2-Clause; BSD-3-Clause; ISC; MIT; Unlicense; WTFPL; CC-BY-3.0; CC0-1.0\" --production",
"license:summary": "license-checker --summary --onlyAllow \"Apache-2.0; Apache*; BSD; BSD-2-Clause; BSD-3-Clause; ISC; MIT; Unlicense; WTFPL; CC-BY-3.0; CC0-1.0\" --production",
"pkg": "npm run prepare && pkg ."
},
"keywords": [
"Siemens",
"Siemens Xcelerator",
"Insights Hub",
"Industrial IoT",
"IIOT",
"MindConnect",
"NodeJS",
"Client",
"Mindsphere"
],
"author": "@sn0wcat",
"license": "MIT",
"dependencies": {
"ajv": "^8.16.0",
"ajv-formats": "^2.1.1",
"ajv-keywords": "^5.1.0",
"async-lock": "^1.4.1",
"chalk": "^4.1.2",
"commander": "^11.1.0",
"cross-fetch": "^4.0.0",
"csvtojson": "^2.0.10",
"date-fns": "^3.6.0",
"debug": "^4.3.5",
"https-proxy-agent": "^7.0.4",
"json-groupby": "^1.1.1",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"mime-types": "^2.1.35",
"ora-classic": "^5.4.2",
"performant-array-to-tree": "^1.11.0",
"rsa-pem-to-jwk": "^1.1.3",
"update-notifier-cjs": "^5.1.6",
"url-search-params-polyfill": "^8.2.5",
"uuid": "^9.0.1"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.25",
"@rollup/plugin-commonjs": "^23.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@types/async-lock": "^1.4.2",
"@types/chai": "^4.3.16",
"@types/csvtojson": "^1.1.5",
"@types/debug": "^4.1.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash": "^4.17.4",
"@types/mocha": "^10.0.6",
"@types/node": "^20.14.2",
"@types/uuid": "^9.0.8",
"chai": "^4.3.10",
"concurrently": "^8.2.2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"license-checker": "^25.0.1",
"mocha": "^10.4.0",
"mocha-jenkins-reporter": "^0.4.8",
"nock": "^13.5.4",
"pkg": "^5.8.1",
"rimraf": "^5.0.7",
"rollup": "^2.79.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"tslint": "^6.1.2",
"typescript": "^5.4.5",
"typescript-tslint-plugin": "^1.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/mindsphere/mindconnect-nodejs.git"
},
"bin": {
"mc": "bin/mc",
"mdsp": "bin/mc"
},
"pkg": {
"assets": "dist/**/*"
}
}