-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (66 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
61
62
63
64
65
66
{
"name": "@splitsoftware/openfeature-js-split-provider",
"version": "1.0.6",
"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>",
"main": "src/index.ts",
"types": "types",
"engines": {
"npm": ">=3",
"node": ">=6"
},
"dependencies": {},
"peerDependencies": {
"@openfeature/js-sdk": "^1.0.0",
"@splitsoftware/splitio": "^10.22.1"
},
"devDependencies": {
"@openfeature/js-sdk": "^1.0.0",
"@splitsoftware/splitio": "^10.22.1",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"replace": "^1.2.1",
"rimraf": "^3.0.2",
"tap-min": "^2.0.0",
"tape": "4.13.2",
"tape-catch": "1.0.6",
"ts-node": "^10.5.0",
"typescript": "4.4.4"
},
"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:version",
"check:version": "cross-env NODE_ENV=test tape -r ./ts-node.register src/settings/__tests__/defaults.spec.js",
"pretest-ts-decls": "npm run build-esm && npm run build-cjs && npm link",
"test-ts-decls": "./scripts/ts-tests.sh",
"posttest-ts-decls": "npm unlink && npm install",
"test": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/node.spec.js | tap-min",
"publish:rc": "npm run check && npm run build && npm publish --tag canary",
"publish:stable": "npm run check && npm run build && npm publish"
},
"greenkeeper": {
"ignore": [
"karma",
"karma-tap",
"karma-webpack"
]
}
}