-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
130 lines (130 loc) · 4.88 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
{
"name": "mbed-cloud-sdk",
"version": "2.6.10",
"is_published": true,
"is_locked": false,
"description": "Pelion Device Management SDK for JavaScript",
"homepage": "https://www.pelion.com",
"author": "Rob Moran <[email protected]>",
"license": "Apache-2.0",
"types": "./types/index.d.ts",
"main": "./index.js",
"module": "./index.es6.js",
"files": [
"lib",
"lib-es6",
"bundles",
"types",
"index.js",
"index.es6.js"
],
"browser": {
"./index.js": "./bundles/index.min.js"
},
"repository": {
"type": "git",
"url": "git://github.com/ARMmbed/mbed-cloud-sdk-javascript.git"
},
"keywords": [
"Pelion",
"Device Management",
"SDK"
],
"engines": {
"node": ">=10.16.0"
},
"scripts": {
"build": "npm-run-all --parallel clean:build lint:fix --sequential compile",
"clean": "npm-run-all --parallel clean:**",
"clean:build": "rimraf ./lib ./lib-es6 ./bundles ./types",
"clean:coverage": "rimraf ./coverage",
"clean:docs": "rimraf ./docs/docs",
"clean:integration": "rimraf test/integration/build",
"compile": "npm-run-all compile:node compile:node:es6 compile:browser",
"compile:browser": "gulp",
"compile:node": "tsc --declaration --declarationDir types",
"compile:node:es6": "tsc -p tsconfig.esnext.json",
"compile:integration": "tsc -p integration.tsconfig.json",
"docs": "npm-run-all clean:docs docs:build",
"docs:build": "typedoc --options typedoc.json",
"generate": "npm-run-all \"generate:run -- {1}\" generate:format lint:fix compile:node compile:node:es6 --",
"generate:run": "ts-node generator/app.ts",
"generate:format": "prettier --write --tab-width 4 --print-width 120 --trailing-comma es5 './src/foundation/**/**/*.ts' './src/foundation/*.ts'",
"integration": "npm-run-all clean:integration compile:integration integration:run",
"integration:run": "cross-env MBED_CLOUD_SDK_TEST_SERVER_DEBUG=false node test/integration/build/test/integration/codeCoverage.js",
"integration:debug": "cross-env MBED_CLOUD_SDK_TEST_SERVER_DEBUG=true ts-node test/integration/server/server.ts",
"lint": "eslint \"+(src)/**/*.ts\" --cache",
"lint:fix": "yarn lint --fix",
"prettier": "prettier --write \"src/**\" --loglevel warn",
"test": "jest --projects test/configs/node*.js test/configs/browser*.js --runInBand",
"test:browser": "jest --projects test/configs/browser*.js --runInBand",
"test:node": "jest --projects test/configs/node*.js --runInBand",
"test:snippets": "jest --projects test/configs/snippets*.js",
"test:generator": "jest --projects generator/tests/*.config.js",
"test:integration": "cross-env MBED_CLOUD_SDK_TEST_SERVER_SELF_TEST=true jest --projects test/configs/integration*.js",
"watch": "jest --watch",
"watch:integration": "npm-run-all clean:integration watch:integration:start",
"watch:integration:start": "tsc-watch -p integration.tsconfig.json --onSuccess \"node test/integration/build/test/integration/codeCoverage.js\"",
"watch:integration:debug": "cross-env MBED_CLOUD_SDK_TEST_SERVER_DEBUG=true ts-node-dev test/integration/server/server.ts",
"tpip": "node scripts/generate-tpip.js"
},
"devDependencies": {
"@types/ejs": "2.6.1",
"@types/express": "^4.17.2",
"@types/express-winston": "^4.0.0",
"@types/jest": "^25.1.3",
"@types/memory-cache": "^0.2.0",
"@types/prettier": "^1.19.0",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"body-parser": "^1.19.0",
"browserify": "^16.5.0",
"cross-env": "^7.0.0",
"csv-write-stream": "2.0.0",
"ejs": "2.6.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"express": "^4.17.1",
"express-winston": "^4.0.3",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"gulp": "^3.9.1",
"gulp-buffer": "0.0.2",
"gulp-sourcemaps": "^2.6.5",
"gulp-tap": "^2.0.0",
"gulp-uglify": "^2.0.1",
"istanbul-lib-coverage": "^3.0.0",
"istanbul-lib-hook": "^3.0.0",
"istanbul-lib-instrument": "^4.0.1",
"istanbul-lib-source-maps": "^4.0.0",
"jest": "^25.1.0",
"memory-cache": "^0.2.0",
"nlf": "^2.1.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"supertest": "^4.0.2",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"ts-node-dev": "^1.0.0-pre.44",
"tsc-watch": "^4.2.3",
"typedoc": "^0.15.8",
"typescript": "^3.8.3",
"winston": "^3.2.1"
},
"dependencies": {
"@types/node": "^13.9.0",
"@types/superagent": "^3.8.7",
"dotenv": "^8.2.0",
"superagent": "^3.4.1",
"typescript-logging": "^0.6.4"
}
}