redux-bluetooth/package.json

83 lines
2.6 KiB
JSON

{
"name": "redux-bluetooth",
"version": "0.1.13",
"description": "Redux middleware to dispatch actions via bluetooth to a peripheral store",
"main": "build/index.js",
"scripts": {
"dev": "watch 'npm run build' src",
"lint": "eslint src",
"build": "babel src -d build",
"prebuild": "npm run lint",
"test": "jest --config .jest.json",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage",
"prepublish": "npm run build",
"bundlesize": "webpack && bundlesize",
"prerelease": "npm run bundlesize",
"release": "np",
"example:install": "npm run example:peripheral:install && npm run example:webapp:install",
"example:start": "npm run example:peripheral:start",
"example:deploy": "npm run example:webapp:deploy",
"example:webapp:install": "cd example/webapp && yarn install",
"example:webapp:build": "cd example/webapp && npm run build",
"example:webapp:deploy": "cd example/webapp && npm run deploy",
"example:peripheral:install": "cd example/peripheral && yarn install",
"example:peripheral:build": "cd example/peripheral && npm run build",
"example:peripheral:start": "cd example/peripheral && npm start",
"ci:test": "jest ./build/",
"ci:bundlesize": "npm run bundlesize",
"ci:report:coverage": "npm run ci:test -- --coverage && codecov -t $CODECOV_TOKEN",
"ci:example:build": "npm run example:webapp:install && npm run example:webapp:build"
},
"babel": {
"presets": [
"latest"
]
},
"repository": "git+ssh://git@github.com/jvallelunga/redux-bluetooth.git",
"keywords": [
"redux",
"middleware",
"bluetooth",
"iot",
"bleno",
"peripheral",
"web-bluetooth",
"central"
],
"author": "Jeronimo Vallelunga",
"license": "ISC",
"bugs": {
"url": "https://github.com/jvallelunga/redux-bluetooth/issues"
},
"homepage": "https://github.com/jvallelunga/redux-bluetooth#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-loader": "^7.1.1",
"babel-preset-latest": "^6.24.1",
"bundlesize": "^0.11.2",
"codecov": "^2.2.0",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.2",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.1.0",
"jest": "^20.0.4",
"np": "^2.16.0",
"watch": "^1.0.2",
"webpack": "^3.4.1"
},
"dependencies": {
"bleno": "^0.4.2",
"redux": "^3.7.1",
"text-encoding": "^0.6.4"
},
"bundlesize": [
{
"path": "dist/redux-bluetooth.webapp.js",
"maxSize": "30 Kb"
}
]
}