-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 5.36 KB
/
package.json
File metadata and controls
179 lines (179 loc) · 5.36 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "fsxa-api",
"version": "11.1.0",
"description": "The JavaScript Content API Library a.k.a. Content API is an interface handling data coming from the FirstSpirit CaaS and the Navigation Service.",
"keywords": [],
"main": "dist/fsxa-api.cjs.js",
"module": "dist/fsxa-api.es5.js",
"types": "dist/types",
"exports": {
".": {
"import": "./dist/fsxa-api.es5.js",
"require": "./dist/fsxa-api.cjs.js"
}
},
"author": "Tobias Golbs <golbs@e-spirit.com>",
"contributors": [
"Dominik Barczewski <barczewski@e-spirit.com>",
"Nicolai McAlley <nicolai.mcalley@crownpeak.com>",
"Jaswin Schütz <jschuetz@e-spirit.com>",
"Justin Wiegmann <justin.wiegmann@crownpeak.com>"
],
"files": [
"dist",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/e-Spirit/javascript-content-api-library"
},
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"prebuild": "rimraf dist && rimraf proxy/dist && rimraf stats",
"build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly --skipLibCheck && tsc --project tsconfig.proxy.json --emitDeclarationOnly --skipLibCheck",
"build:esbuild": "npm run build:types && node esbuild.config.mjs",
"build": "npm run prebuild && npm run build:esbuild",
"analyze:size": "npm run build && npx pkg-size ./dist && npx pkg-size ./proxy/dist",
"version:dev": "npm version prerelease --no-git-tag-version --preid alpha",
"build:local": "rimraf fsxa-api-*.tgz && npm run version:dev && npm run build && npm pack && npm pack --workspace proxy",
"test": "jest --verbose ./src",
"test:integration": "jest --verbose --runInBand --forceExit ./integrationtests",
"test:coverage": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"release": "release-it",
"release:dry-run": "release-it --dry-run && node ./scripts/sync-workspace-versions.js && node ./scripts/publish-workspace.js --dry-run",
"release:ci": "release-it --ci",
"release:ci:dry-run": "release-it --ci --dry-run && node ./scripts/sync-workspace-versions.js && node ./scripts/publish-workspace.js --dry-run",
"precommit": "lint-staged",
"prepush": "jest --verbose ./src",
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS",
"dts": "./node_modules/.bin/npm-dts generate -e ./src/FSXAApi.ts",
"dev": "npx nodemon dev/index.ts --ignore ./**/dist"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"d.ts"
],
"modulePathIgnorePatterns": [
"dist"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/src/enums.ts",
"/src/index.ts",
"/src/routes.ts",
"/src/modules/Logger.ts"
],
"collectCoverageFrom": [
"src/**/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"workspaces": [
"proxy"
],
"devDependencies": {
"@babel/preset-env": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@faker-js/faker": "^9.3.0",
"@release-it/conventional-changelog": "^10.0.2",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.5",
"@types/jest": "^30.0.0",
"@types/node": "^24.10.1",
"@types/qs": "^6.14.0",
"@types/ws": "^8.18.1",
"@vitejs/plugin-legacy": "^7.2.1",
"colors": "^1.4.0",
"commitizen": "^4.3.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"cross-fetch": "^4.1.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^17.2.3",
"esbuild": "^0.27.0",
"esbuild-analyzer": "^0.2.0",
"esbuild-plugin-external-global": "^1.0.1",
"esbuild-plugin-polyfill-node": "^0.3.0",
"esbuild-visualizer": "^0.7.0",
"express": "^5.1.0",
"husky": "^9.1.7",
"inquirer": "^13.0.1",
"jest": "^30.2.0",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^16.2.7",
"minimist": "^1.2.8",
"node-fetch": "^3.3.2",
"nodemon": "^3.1.11",
"npm-dts": "^1.3.13",
"pkg-size": "^2.4.0",
"prettier": "^3.6.2",
"release-it": "^19.0.6",
"rimraf": "^6.1.2",
"shelljs": "^0.10.0",
"ts-jest": "^29.4.5",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"dependencies": {
"chalk": "^4.1.2",
"date-fns": "^4.1.0",
"node-inspect-extracted": "^3.2.2",
"tslib": "^2.8.1"
},
"peerDependencies": {
"express": "^4.17.1"
},
"peerDependenciesMeta": {
"express": {
"optional": true
}
},
"optionalDependencies": {
"better-sse": "^0.15.1",
"body-parser": "^2.2.1",
"cors": "^2.8.5",
"qs": "^6.14.0",
"reconnecting-websocket": "^4.4.0",
"saxes": "^6.0.0",
"ws": "^8.18.3"
}
}