-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
89 lines (89 loc) · 2.38 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
{
"name": "unleash-proxy-client",
"version": "3.0.0-beta.1",
"description": "A browser client that can be used together with the unleash-proxy.",
"main": "./build/cjs/index.js",
"types": "./build/cjs/index.d.ts",
"browser": "./build/main.min.js",
"module": "./build/main.esm.js",
"exports": {
".": {
"import": "./build/main.esm.js",
"node": "./build/cjs/index.js",
"require": "./build/cjs/index.js",
"types": "./build/cjs/index.d.ts",
"default": "./build/main.min.js"
}
},
"files": [
"build",
"examples",
"src"
],
"scripts": {
"build": "rm -rf build && tsc && rollup -c rollup.config.mjs",
"prepack": "yarn build",
"format": "prettier src --write --loglevel warn",
"lint": "prettier src --check && eslint src",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unleash/unleash-proxy-client-js.git"
},
"author": "@Unleash",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/unleash/unleash-proxy-client-js/issues"
},
"homepage": "https://github.com/unleash/unleash-proxy-client-js#readme",
"dependencies": {
"tiny-emitter": "^2.1.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/runtime": "^7.22.5",
"@rollup/plugin-commonjs": "^25.0.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@types/jest": "^29.5.2",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "^8.42.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "3.0.3",
"jest-localstorage-mock": "^2.4.26",
"prettier": "^2.8.8",
"rollup": "^3.25.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"ts-jest": "^29.1.0",
"tslib": "^2.5.3",
"typescript": "^5.1.3",
"uglify-js": "^3.17.4"
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
}