forked from harness/ff-javascript-client-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.14 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 2.14 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
{
"name": "@harnessio/ff-javascript-client-sdk",
"version": "1.4.11",
"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 --sourcemap --target=es2016 --format=iife --global-name=HarnessFFSDK --outfile=./dist/sdk.client-iife.js",
"build:client-esm": "esbuild ./src/index.ts --minify --bundle --sourcemap --target=es2016 --format=esm --outfile=./dist/sdk.client.js",
"build:esm": "esbuild ./src/index.ts --minify --bundle --sourcemap --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 --sourcemap --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",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.json",
"type": "tsc ./src/*.ts --declaration --emitDeclarationOnly --outDir dist --lib ES2015,DOM",
"clean": "rm -rf ./dist"
},
"devDependencies": {
"@types/es6-promise": "^3.3.0",
"@types/node": "^14.14.33",
"esbuild": "^0.9.0",
"prettier": "^2.2.1",
"tslib": "^2.0.3",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.2"
},
"description": "Basic library for integrating CF into javascript applications.",
"repository": {
"type": "git",
"url": "git+https://github.com/drone/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/drone/ff-javascript-client-sdk/issues"
},
"homepage": "https://github.com/drone/ff-javascript-client-sdk#readme"
}