UNPKG

browser-sdk

Version:

javascript SDK for the lightelligence-platform

87 lines (86 loc) 2.74 kB
{ "name": "browser-sdk", "version": "1.0.1", "description": "javascript SDK for the lightelligence-platform", "main": "src/index.js", "scripts": { "start": "webpack --config webpack.config.js --watch true", "test": "jest --coverage", "lint": "eslint src/** test/** --max-warnings 0 && prettier --c \"{src,test}/**/*.js\"", "lint:fix": "eslint --fix src/** test/** --max-warnings 0 && prettier --write -c \"{src,test}/**/*.js\"", "version": "node -pe \"process.env.BITBUCKET_TAG || process.env.BITBUCKET_COMMIT || 'current'\"", "build:docs": "documentation build src/** -f html -o docs --theme lightelligence_theme --project-version $(npm run -s version) && touch ./docs/.nojekyll", "build": "rm -rf dist && npm run transpile-umd && npm run transpile-esm && npm run transpile-cjs", "coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls", "transpile-umd": "webpack --config webpack.config.js", "transpile-esm": "BABEL_ENV=esm babel src -d dist/esm --copy-files", "transpile-cjs": "BABEL_ENV=cjs babel src -d dist/cjs --copy-files ", "license-report": "legally" }, "publishConfig": { "access": "public" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "npm run lint:fix", "git add" ] }, "repository": { "type": "git", "url": "git+ssh://git@github.com:woozar/browser-sdk.git" }, "keywords": [ "osram", "lightelligence", "iot", "browser", "sdk" ], "license": "MIT", "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.2.2", "@babel/plugin-proposal-class-properties": "^7.2.3", "@babel/plugin-proposal-object-rest-spread": "^7.2.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-jsx": "^7.2.0", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.2.3", "@babel/runtime": "^7.2.0", "audit-ci": "^2.0.1", "babel-jest": "^24.1.0", "babel-loader": "^8.0.5", "coveralls": "^3.0.5", "documentation": "^8.0.2", "eslint": "^4.19.1", "eslint-config-airbnb-base": "^13.0.0", "eslint-config-prettier": "^2.9.0", "eslint-loader": "^2.1.0", "eslint-plugin-import": "^2.13.0", "husky": "^2.2.0", "jest": "^24.7.1", "jest-fetch-mock": "^1.7.5", "jest-localstorage-mock": "^2.4.0", "legally": "^2.10.0", "lint-staged": "^8.1.6", "prettier": "^1.17.1", "webpack": "^4.16.1", "webpack-cli": "^3.1.0", "xhr-mock": "^2.5.0" }, "dependencies": { "oidc-client": "^1.7.1" }, "jest": { "setupFiles": [ "jest-localstorage-mock", "./setupJest.js" ] } }