UNPKG

@absmartly/javascript-sdk

Version:

A/B Smartly Javascript SDK

93 lines (92 loc) 2.95 kB
{ "name": "@absmartly/javascript-sdk", "version": "1.13.2", "description": "A/B Smartly Javascript SDK", "homepage": "https://github.com/absmartly/javascript-sdk#README.md", "bugs": "https://github.com/absmartly/javascript-sdk/issues", "keywords": [ "absmartly", "ab-smartly", "a/b-smartly", "ab-testing", "a/b-testing", "split-testing", "ab", "a/b", "cro" ], "license": "Apache-2.0", "main": "lib/index.js", "module": "es/index.js", "browser": "dist/absmartly.min.js", "types": "types/index.d.ts", "engines": { "npm": ">=3", "node": ">=6" }, "scripts": { "build-browser": "TARGET=browser webpack --progress --config webpack.config.js && TARGET=browser NODE_ENV=production webpack --progress --config webpack.config.js", "build-cjs": "TARGET=cjs babel js --delete-dir-on-start --ignore 'browser.js' -d lib", "build-es": "TARGET=es babel js --delete-dir-on-start --ignore 'browser.js' -d es", "build": "npm run -s format && npm run -s lint && npm run -s compile && npm run -s test && npm run -s build-es && npm run -s build-cjs && npm run -s build-browser", "lint": "eslint -f stylish 'src/**/*.{js,mjs,jsx,ts,mts,tsx}'", "format": "prettier --write '**/*.{js,mjs,jsx,json,ts,mts,tsx}'", "test": "jest --coverage", "prepack": "npm run -s build", "compile": "tsc" }, "dependencies": { "node-fetch": "^2.6.7", "rfdc": "^1.3.0", "core-js": "^3.20.0" }, "devDependencies": { "@babel/cli": "^7.17.3", "@babel/core": "^7.17.4", "@babel/eslint-parser": "^7.17.0", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-export-default-from": "^7.16.7", "@babel/plugin-proposal-export-namespace-from": "^7.16.7", "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", "@babel/plugin-proposal-numeric-separator": "^7.16.7", "@babel/plugin-proposal-optional-chaining": "^7.16.7", "@babel/plugin-proposal-throw-expressions": "^7.16.7", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-transform-runtime": "^7.16.7", "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.18.6", "@babel/register": "^7.17.0", "@types/jest": "^29.2.5", "@types/node-fetch": "^2.6.2", "@typescript-eslint/eslint-plugin": "^5.48.2", "@typescript-eslint/parser": "^5.48.2", "babel-jest": "^29", "babel-loader": "^8.2.3", "eslint": "^7.32.0", "eslint-config-prettier": "^7.1.0", "jest": "^29.3.1", "prettier": "^2.4.1", "terser-webpack-plugin": "^5.3.1", "ts-jest": "^29.0.5", "ts-loader": "^9.4.2", "typescript": "^4.9.4", "webpack": "^5.60.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.9.1" }, "publishConfig": { "access": "public" }, "files": [ "README.md", "CONTRIBUTING.md", "LICENSE", "package.json", "dist/", "es/", "lib/", "types/" ] }