This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
133 lines (133 loc) · 3.82 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
132
133
{
"name": "gigaset-elements-api",
"version": "0.5.2",
"description": "library to access gigaset elements api",
"keywords": [
"gigaset",
"elements"
],
"main": "dist/cjs/src/index.js",
"module": "dist/esm/src/index.js",
"exports": {
"require": "./dist/cjs/src/index.js",
"import": "./dist/esm/src/index.js"
},
"types": "./dist/types/src/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/matthsc/gigaset-elements-api"
},
"bugs": "https://github.com/matthsc/gigaset-elements-api/issues",
"engines": {
"node": ">=18"
},
"scripts": {
"test": "mocha",
"test:watch": "mocha --watch --reporter min",
"coverage": "nyc mocha",
"coverage:details": "nyc --reporter=text mocha",
"clean": "rimraf --glob dist/*",
"lint": "eslint . --ext .ts",
"check": "run-s check:* lint test",
"check:tsc": "tsc --noEmit",
"format": "npm run prettier",
"prettier": "prettier --config .prettierrc \"{src,test}/**/*.ts\" --write",
"build": "run-s clean build:*",
"build:cjs": "tsc --module commonjs --moduleResolution node --outDir dist/cjs && cpy test-data/json/*.json dist/cjs/test-data/json",
"build:esm": "tsc --module es2022 --moduleResolution node --outDir dist/esm && cpy test-data/json/*.json dist/esm/test-data/json",
"build:types": "tsc --declaration --emitDeclarationOnly --declarationMap --outDir dist/types",
"generate:json-definitions": "ts-node ./src/model/generate",
"generate:initial-test-data": "ts-node ./test-data/generate-initial-data && mocha -f .json --reporter landing",
"generate:merge-test-data": "ts-node test-data/generate-and-merge && mocha -f .json --reporter landing",
"load:merge-test-data": "ts-node test-data/load-and-merge.ts && mocha -f .json --reporter landing",
"X": "mocha -f .json --reporter landing",
"prepare": "npm run build",
"prepublishOnly": "npm run check",
"preversion": "npm run lint",
"release": "dotenv release-it --only-version",
"version": "npm run prettier && git add -A src"
},
"author": "Matthias Schwende (matthsc@gmx.net)",
"license": "MIT",
"dependencies": {
"request": "^2.88.2",
"request-promise-native": "^1.0.9",
"tslib": "^2.6.2"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.4",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^18.18.4",
"@types/prettier": "^2.7.3",
"@types/request": "^2.48.12",
"@types/request-promise-native": "^1.0.21",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.20.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"cpy-cli": "^5.0.0",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"json-ts": "^1.6.4",
"mocha": "^10.4.0",
"nock": "^13.5.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^3.1.0",
"release-it": "^17.1.1",
"rimraf": "^5.0.5",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3"
},
"files": [
"dist/**/*"
],
"mocha": {
"require": [
"ts-node/register"
],
"spec": [
"src/**/*.spec.ts",
"test-data/**/*.spec.ts"
],
"watch-files": [
"src",
"test-data"
]
},
"nyc": {
"all": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"dist/**",
"src/**/*.spec.ts",
"**/*.d.ts"
],
"extension": [
".ts"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"sourceMap": true,
"instrument": true
},
"release-it": {
"github": {
"release": true
}
}
}