-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.21 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
{
"name": "@relewise/client",
"version": "2.3.0",
"description": "Relewise is a next generation personalization SaaS-platform, which offers functionality within product- and content recommendations and personalized search. This official SDK helps you interact with our API.",
"repository": {
"type": "git",
"url": "git+https://github.com/Relewise/relewise-sdk-javascript.git",
"directory": "lib"
},
"author": "Relewise",
"homepage": "https://relewise.com",
"license": "ISC",
"keywords": [
"relewise",
"recommendations",
"personalization"
],
"main": "dist/cjs/relewise-client.js",
"module": "dist/esm/relewise-client.js",
"browser": "dist/browser/relewise-client.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "jest ./tests/unit-tests",
"integration-test": "jest ./tests/integration-tests",
"lint": "eslint --ext .ts,.js ./src",
"lint-fix": "eslint --fix --ext .ts,.js ./src",
"dev": "rollup -c -w",
"build": "rollup -c",
"prebuild:types": "rimraf ./build",
"build:types": "tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run",
"clean": "rimraf ./build ./dist ./docs",
"gen-api": "swagger-typescript-api -p https://api.relewise.com/public/swagger.json -o src/models --modular --no-client --enum-names-as-values && node fix-exports.js",
"gen-api-dev": "swagger-typescript-api -p swagger.json -o src/models --modular --no-client --enum-names-as-values && node fix-exports.js",
"publish": "npm run gen-api && npm run build && npm run build:types"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.9",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"eslint": "^9.11.1",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.22.5",
"swagger-typescript-api": "^12.0.4",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"@typescript-eslint/parser": "^8.7.0"
}
}