-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathpackage.json
124 lines (124 loc) · 5.42 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
{
"name": "@splitsoftware/splitio",
"version": "11.1.0",
"description": "Split SDK",
"files": [
"README.md",
"CONTRIBUTORS-GUIDE.md",
"LICENSE",
"CHANGES.txt",
"cjs",
"types",
"esm",
"src",
"client",
"server"
],
"repository": "splitio/javascript-client",
"homepage": "https://github.com/splitio/javascript-client#readme",
"bugs": "https://github.com/splitio/javascript-client/issues",
"license": "Apache-2.0",
"author": "Facundo Cabrera <facundo@split.io>",
"contributors": [
{
"name": "Nico Zelaya",
"email": "nicolas.zelaya@split.io",
"url": "https://github.com/NicoZelaya"
}
],
"keywords": [
"splitio",
"sdk",
"javascript"
],
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "types",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@splitsoftware/splitio-commons": "2.1.0",
"bloom-filters": "^3.0.4",
"ioredis": "^4.28.0",
"js-yaml": "^3.13.1",
"node-fetch": "^2.7.0",
"tslib": "^2.3.1",
"unfetch": "^4.2.0"
},
"devDependencies": {
"@types/node-fetch": "^2.6.10",
"@types/seedrandom": "^3.0.2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"csv-streamify": "4.0.0",
"eslint": "^8.48.0",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-import": "^2.25.4",
"fetch-mock": "^11.1.5",
"karma": "^6.3.16",
"karma-chrome-launcher": "^3.1.0",
"karma-tap": "^4.2.0",
"karma-webpack": "^5.0.0",
"lodash": "^4.17.21",
"node-polyfill-webpack-plugin": "^1.1.4",
"proxyquire": "^2.1.3",
"puppeteer": "^3.3.0",
"redis-dumpz": "0.1.12",
"redis-server": "1.2.2",
"replace": "^1.2.1",
"rimraf": "^3.0.2",
"sinon": "^9.2.4",
"tap-min": "^2.0.0",
"tape": "4.13.2",
"tape-catch": "1.0.6",
"ts-loader": "^9.2.6",
"ts-node": "^10.5.0",
"typescript": "4.4.4",
"webpack": "^5.53.0",
"webpack-cli": "^4.8.0",
"webpack-merge": "^5.8.0"
},
"scripts": {
"build-esm": "rimraf esm && tsc -outDir esm",
"postbuild-esm": "cross-env NODE_ENV=esm node scripts/copy.packages.json.js && ./scripts/build_esm_replace_imports.sh",
"build-umd:stats": "webpack --progress --env production --json > ./stats/stat_results.json",
"build-cjs": "rimraf cjs && tsc -outDir cjs -m CommonJS",
"postbuild-cjs": "cross-env NODE_ENV=cjs node scripts/copy.packages.json.js && ./scripts/build_cjs_replace_imports.sh",
"build-umd": "rimraf umd && webpack --config webpack.dev.js --env branch=$BUILD_BRANCH && webpack --config webpack.prod.js --env branch=$BUILD_BRANCH && ./scripts/clean_umd_build.sh",
"build:npm": "npm run build-cjs && npm run build-esm",
"build": "npm run build-cjs && npm run build-esm && npm run build-umd",
"check": "npm run check:lint && npm run check:version",
"check:lint": "eslint src",
"check:version": "cross-env NODE_ENV=test tape -r ./ts-node.register src/settings/__tests__/defaults.spec.js",
"test-browser": "npm run test-browser-unit && npm run test-browser-e2e",
"test-browser-unit": "cross-env NODE_ENV=test karma start karma/unit.karma.conf.js",
"test-browser-e2e": "npm run test-browser-e2e-online && npm run test-browser-e2e-offline && npm run test-browser-e2e-destroy && npm run test-browser-e2e-errorCatching && npm run test-browser-e2e-push",
"test-browser-e2e-online": "cross-env NODE_ENV=test karma start karma/e2e.online.karma.conf.js",
"test-browser-e2e-offline": "cross-env NODE_ENV=test karma start karma/e2e.offline.karma.conf.js",
"test-browser-e2e-destroy": "cross-env NODE_ENV=test karma start karma/e2e.destroy.karma.conf.js",
"test-browser-e2e-errorCatching": "cross-env NODE_ENV=test karma start karma/e2e.errorCatching.karma.conf.js",
"test-browser-e2e-push": "cross-env NODE_ENV=test karma start karma/e2e.push.karma.conf.js",
"test-node": "npm run test-node-unit && npm run test-node-e2e",
"test-node-unit": "cross-env NODE_ENV=test tape -r ./ts-node.register \"src/*/**/__tests__/**/!(browser).spec.js\" | tap-min",
"test-node-e2e": "npm run test-node-e2e-online && npm run test-node-e2e-offline && npm run test-node-e2e-destroy && npm run test-node-e2e-errorCatching && npm run test-node-e2e-push && npm run test-node-e2e-redis",
"test-node-e2e-online": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/online/node.spec.js | tap-min",
"test-node-e2e-offline": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/offline/node.spec.js | tap-min",
"test-node-e2e-destroy": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/destroy/node.spec.js | tap-min",
"test-node-e2e-errorCatching": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/errorCatching/node.spec.js | tap-min",
"test-node-e2e-push": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/push/node.spec.js | tap-min",
"test-node-e2e-redis": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/consumer/node_redis.spec.js | tap-min",
"test-ts-decls": "tsc --build ts-tests",
"test": "npm run test-node && npm run test-browser",
"all": "npm run check && npm run build && npm run test-ts-decls && npm run test",
"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"
]
}
}