-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.46 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.46 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
{
"name": "@splitsoftware/openfeature-js-split-provider",
"version": "1.2.0",
"description": "Split OpenFeature Provider",
"files": [
"README.md",
"CONTRIBUTORS-GUIDE.md",
"LICENSE",
"CHANGES.txt",
"lib",
"types",
"es",
"src"
],
"repository": "splitio/openfeature-split-provider-js",
"homepage": "https://github.com/splitio/openfeature-split-provider-js#readme",
"bugs": "https://github.com/splitio/openfeature-split-provider-js/issues",
"license": "Apache-2.0",
"author": "Josh Sirota <josh.sirota@split.io>",
"contributors": [
"Nicolas Zelaya <nicolas.zelaya@harness.io> (https://github.com/NicoZelaya)",
"Emiliano Sanchez <emiliano.sanchez@harness.io> (https://github.com/EmilianoSanchez)",
"Emmanuel Zamora <emmanuel.zamora@harness.io> (https://github.com/ZamoraEmmanuel)",
"SDK Team <sdks@harness.io>"
],
"main": "lib/index.js",
"types": "types/index.d.ts",
"engines": {
"node": ">=14"
},
"exports": {
".": {
"require": "./lib/index.js",
"import": "./es/index.js"
}
},
"peerDependencies": {
"@openfeature/server-sdk": "^1.19.0",
"@splitsoftware/splitio": "^11.4.1"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@openfeature/server-sdk": "^1.19.0",
"@splitsoftware/splitio": "^11.4.1",
"@types/jest": "^30.0.0",
"@types/node": "^24.3.1",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^9.35.0",
"eslint-plugin-jest": "^28.14.0",
"globals": "^16.3.0",
"jest": "^29.7.0",
"jiti": "^2.5.1",
"redis-server": "^1.2.2",
"replace": "^1.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.4.1",
"ts-node": "^10.5.0",
"typescript": "^4.9.5",
"typescript-eslint": "^8.43.0"
},
"scripts": {
"build-esm": "rimraf es && tsc -outDir es",
"postbuild-esm": "cross-env NODE_ENV=es node scripts/copy.packages.json.js && ./scripts/build_esm_replace_imports.sh",
"build-cjs": "rimraf lib && tsc -outDir lib -m CommonJS",
"postbuild-cjs": "cross-env NODE_ENV=cjs node scripts/copy.packages.json.js && ./scripts/build_cjs_replace_imports.sh",
"build": "rimraf lib es && npm run build-cjs && npm run build-esm",
"check": "npm run check:lint",
"check:lint": "eslint src",
"test": "cross-env NODE_ENV=test jest",
"publish:rc": "npm run check && npm run test && npm run build && npm publish --tag rc",
"publish:stable": "npm run check && npm run test && npm run build && npm publish"
}
}