forked from harness/ff-nodejs-server-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
92 lines (92 loc) · 3.41 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
{
"name": "@harnessio/ff-nodejs-server-sdk",
"version": "1.4.0",
"description": "Feature flags SDK for NodeJS environments",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"engines": {
"node": ">= 12"
},
"homepage": "https://docs.harness.io/category/vjolt35atg-feature-flags",
"bugs": {
"url": "https://github.com/harness/ff-nodejs-server-sdk/issues"
},
"devDependencies": {
"@types/jest": "~29.5.8",
"@types/keyv": "^3.1.3",
"@types/node": "^14.17.11",
"@typescript-eslint/eslint-plugin": "~4.28.2",
"@typescript-eslint/parser": "~4.28.2",
"esbuild": "^0.18.12",
"eslint": "~7.30.0",
"eslint-config-prettier": "~8.3.0",
"eslint-plugin-jest": "~24.3.6",
"jest": "~29.7.0",
"jest-junit": "^13.0.0",
"prettier": "^3.0.0",
"rimraf": "~3.0.2",
"ts-jest": "~29.1.1",
"tsutils": "~3.21.0",
"typescript": "~4.9.5"
},
"scripts": {
"clean": "rimraf coverage tmp",
"versioning": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"prebuild": "npm run clean; npm run versioning; npm run lint",
"dts": "tsc ./src/index.ts --declaration --emitDeclarationOnly --esModuleInterop --downlevelIteration --outdir ./dist",
"build:esm": "esbuild ./src/index.ts --tsconfig=tsconfig.modules.json --minify --bundle --sourcemap --target=node12.22.5 --platform=node --format=esm --outfile=./dist/esm/index.mjs --external:keyv --external:keyv-file --external:axios",
"build:cjs": "esbuild ./src/index.ts --tsconfig=tsconfig.release.json --minify --bundle --sourcemap --target=node12.22.5 --platform=node --format=cjs --outfile=./dist/cjs/index.js --external:keyv --external:keyv-file --external:axios",
"build": "npm run build:esm; npm run build:cjs; npm run dts",
"build:watch": "tsc -w -p tsconfig.release.json",
"prepare": "npm run build",
"lint": "eslint ./src --ext .ts,.tsx",
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest",
"coverage": "jest --coverage",
"test:junit": "jest --reporters=default --reporters=jest-junit",
"test:watch": "jest --watch",
"generate": "openapi-generator-cli generate -i ./api.yaml -g typescript-axios -o src/openapi",
"docker:build-push": "npm run docker:build && npm run docker:push",
"docker:build": "cross-env IMAGE_NAME=your-docker-username/your-image-name:tag docker build -t $IMAGE_NAME .",
"docker:login": "docker login",
"docker:push": "cross-env IMAGE_NAME=your-docker-username/your-image-name:tag docker push $IMAGE_NAME",
"docker:upload": "npm run docker:build && npm run docker:login && npm run docker:push"
},
"author": "Enver Bisevac <[email protected]>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/harness/ff-nodejs-server-sdk"
},
"dependencies": {
"axios": "^1.6.1",
"axios-retry": "^3.2.0",
"jwt-decode": "^3.1.2",
"keyv": "^4.0.3",
"keyv-file": "^0.2.0",
"lru-cache": "^7.18.0",
"murmurhash": "^2.0.0",
"tslib": "~2.3.0"
},
"bundledDependencies": [
"axios",
"eventsource",
"keyv",
"keyv-file"
],
"volta": {
"node": "12.22.5"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
}
}