Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.68 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
{
"name": "@quonfig/javascript",
"version": "1.4.0",
"description": "Feature Flags & Dynamic Configuration — Browser/Client SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"author": "Quonfig",
"license": "MIT",
"engines": {
"node": ">=20.9.0"
},
"scripts": {
"prebuild": "node scripts/generate-version.mjs",
"build": "rm -rf dist/ && tsc && npm run bundle",
"bundle": "esbuild --minify --target=esnext --bundle --outfile=dist/quonfig.bundle.js --global-name=window.quonfigNamespace dist/index.js && echo 'window.quonfig = window.quonfigNamespace.quonfig' >> dist/quonfig.bundle.js",
"test": "npm run build && jest --verbose --detectOpenHandles dist/ test/",
"prepublishOnly": "npm run build",
"prettier": "prettier . -l",
"prettier:fix": "prettier --write .",
"version": "prettier --write CHANGELOG.md README.md && git add CHANGELOG.md README.md"
},
"repository": {
"type": "git",
"url": "https://github.com/quonfig/sdk-javascript.git"
},
"homepage": "https://github.com/quonfig/sdk-javascript#readme",
"bugs": {
"url": "https://github.com/quonfig/sdk-javascript/issues"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"feature-flags",
"config",
"quonfig"
],
"dependencies": {
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/uuid": "^9.0.5",
"esbuild": "^0.19.0",
"jest": "^29.7.0",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.3.0"
}
}