-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
61 lines (61 loc) · 2.32 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
{
"name": "@harnessio/ff-javascript-client-sdk",
"version": "1.29.0",
"author": "Harness",
"license": "Apache-2.0",
"main": "dist/sdk.cjs.js",
"module": "dist/sdk.esm.js",
"files": [
"dist/*.js",
"dist/*.d.ts"
],
"types": "dist/index.d.ts",
"scripts": {
"build:client": "esbuild ./src/index.ts --minify --bundle --target=es2016 --format=iife --global-name=HarnessFFSDK --outfile=./dist/sdk.client-iife.js",
"build:client-esm": "esbuild ./src/index.ts --minify --bundle --target=es2016 --format=esm --outfile=./dist/sdk.client.js",
"build:esm": "esbuild ./src/index.ts --minify --bundle --target=es2016 --format=esm --external:jwt-decode --external:mitt --external:event-source-polyfill --outfile=./dist/sdk.esm.js",
"build:cjs": "esbuild ./src/index.ts --minify --bundle --target=es2016 --platform=node --format=cjs --external:jwt-decode --external:mitt --external:event-source-polyfill --outfile=./dist/sdk.cjs.js",
"build": "npm run clean; npm run type; npm run build:esm; npm run build:cjs; npm run build:client; npm run build:client-esm",
"install-examples": "cd examples/preact; rm -rf node_modules; npm i; cd -; cd examples/react; rm -rf node_modules; npm i; cd -; cd examples/react-redux; rm -rf node_modules; npm i; cd -",
"format": "prettier --write \"src/**/*.ts\"",
"type": "tsc ./src/*.ts --declaration --emitDeclarationOnly --outDir dist --lib ES2015,DOM",
"clean": "rm -rf ./dist",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^29.5.4",
"@types/node": "^16.18.46",
"esbuild": "^0.19.2",
"jest": "^29.6.4",
"jest-environment-jsdom": "^29.6.4",
"jest-junit": "^16.0.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"description": "Basic library for integrating CF into javascript applications.",
"repository": {
"type": "git",
"url": "git+https://github.com/harness/ff-javascript-client-sdk.git"
},
"dependencies": {
"jwt-decode": "^3.1.2",
"mitt": "^2.1.0"
},
"keywords": [
"Harness",
"Feature",
"Flags",
"Continuous",
"Features",
"CD",
"CI",
"CF",
"Drone"
],
"bugs": {
"url": "https://github.com/harness/ff-javascript-client-sdk/issues"
},
"homepage": "https://github.com/harness/ff-javascript-client-sdk#readme"
}