-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
170 lines (170 loc) · 5.29 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
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
{
"name": "fsxa-api",
"version": "10.22.2",
"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",
"author": "Tobias Golbs <golbs@e-spirit.com>",
"contributors": [
"Dominik Barczewski <barczewski@e-spirit.com>",
"Nicolai Henczi <henczi@e-spirit.com>",
"Jaswin Schütz <jschuetz@e-spirit.com>"
],
"files": [
"dist",
"package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/e-Spirit/fsxa-api"
},
"license": "Apache-2.0",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"prebuild": "rimraf dist && rimraf proxy/dist",
"build:remote": "tsc --module commonjs --project tsconfig.build.json",
"build:proxy": "tsc --module commonjs --project tsconfig.proxy.json",
"build": "tsc --module commonjs --project tsconfig.build.json && tsc --module commonjs --project tsconfig.proxy.json && npm run build:remote && npm run build:proxy && rollup -c rollup.config.ts",
"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",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --verbose ./src",
"test:integration": "jest --verbose --runInBand ./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",
"semantic-release": "semantic-release && (cd proxy && semantic-release)",
"semantic-release:dry-run": "semantic-release --dry-run && (cd proxy && semantic-release --dry-run)",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"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",
"postpublish": "npm publish --workspace proxy",
"version": "npm version --workspace proxy \"$(node extractVersion.js)\""
},
"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": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^11.0.0",
"@optimize-lodash/rollup-plugin": "^4.0.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^11.1.6",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/faker": "^5.5.8",
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.172",
"@types/node": "^15.14.7",
"@types/qs": "^6.9.7",
"@types/ws": "^8.2.2",
"colors": "^1.4.0",
"commitizen": "^4.2.4",
"cross-fetch": "^3.1.5",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"faker": "^5.5.3",
"husky": "^1.0.1",
"jest": "^27.4.7",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^11.1.2",
"minimist": "^1.2.6",
"node-fetch": "^2.6.7",
"nodemon": "^2.0.12",
"npm-dts": "^1.3.10",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.56.2",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^1.4.0",
"rollup-plugin-visualizer": "^5.12.0",
"semantic-release": "^19.0.2",
"shelljs": "^0.8.4",
"ts-jest": "^27.1.3",
"ts-node": "^10.2.0",
"typescript": "^4.3.5"
},
"dependencies": {
"better-sse": "^0.7.1",
"body-parser": "^1.19.0",
"chalk": "^4.1.2",
"cors": "^2.8.5",
"date-fns": "^2.23.0",
"lodash": "^4.17.21",
"qs": "^6.10.1",
"reconnecting-websocket": "^4.4.0",
"saxes": "^5.0.1",
"tslib": "^2.3.1",
"ws": "^8.4.2"
},
"peerDependencies": {
"express": "^4.17.1"
}
}