lightswitch-js-sdk
Version:
light switch javascript sdk
62 lines (61 loc) • 2.04 kB
JSON
{
"name": "lightswitch-js-sdk",
"version": "1.0.4",
"description": "light switch javascript sdk",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "vite build && ./fixup.sh",
"test": "jest --env=node --colors --coverage test",
"lint:fix": "eslint ./lib --ext .jsx,.js,.ts,.tsx --quiet --fix --ignore-path ./.gitignore",
"lint:format": "prettier --loglevel warn --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\" ",
"lint": "yarn lint:format && yarn lint:fix ",
"build:linux": "rm -rf dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup.sh",
"build:window": "del /S /Q dist* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup.sh",
"build:window2": "del /S /Q dist* && vite build && ./fixup.sh",
"build:linux2": "rm -rf dist && vite build && ./fixup.sh"
},
"keywords": [
"feature flags",
"feature",
"flag",
"lightswitch"
],
"author": "lightswitch2024 <lightswitch2024@gmail.com>",
"license": "MIT",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/crypto-js": "^4.2.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^29.7.0",
"pre-commit": "^1.2.2",
"prettier": "^2.5.1",
"ts-jest": "^29.1.2",
"typescript": "^4.5.5",
"vite-plugin-dts": "^3.9.0",
"vite-tsconfig-paths": "^4.3.2"
},
"pre-commit": "lint",
"dependencies": {
"crypto-js": "^4.2.0",
"reconnecting-eventsource": "^1.6.2",
"vite": "^5.2.10",
"yarn": "^1.22.22"
}
}